Buy Sell Discuss UK Domain Names at AcornDomains.co.uk Free Virtual Servers

Today's Drop Dates are: 07-11-2011 or 14-11-2011   All times are GMT. The time now is 07:05:42 PM.
Domain Name Sales Domain Software Calculate UK Domain Drop Dates Domain Registration NameDrive Domain Parking Subscribe to our Domains For Sale newsletter
Go Back   Domain Forum Acorn Domains Buy Sell Auction UK Domains > Website Design and Promotion > Website Design > Scripts and Coding
Connect with Facebook

Scripts and Coding PHP, MySQL, scripts

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 12-01-2010, 01:05:57 PM     #1 (permalink)
Junior Member
 
Join Date: Jan 2010
Posts: 14
Betty Boop is on a distinguished road

Notice: Trying to get property of non-object in

Hello,

I have this error now when I run my php code:


Notice: Trying to get property of non-object in C:\Program Files\EasyPHP5.3.0\www\New Folder\trial.php on line 39

Line 39 is: printf('<a href="%s" title="%s">%s (%d) %s %s</a>', $obj->imdburl, $obj->title, $obj->title, $obj->year, $obj->country, $obj->genres);

I read online that it maybe to do with the error reporting in the php.ini file and the default should be: Default Value: E_ALL & ~E_NOTICE

Mine is and it still has the error any ideas anyone?
Betty Boop is offline  
Old 12-01-2010, 01:13:54 PM     #2 (permalink)

 
nick279's Avatar
 
Join Date: Apr 2008
Posts: 653
nick279 has a reputation beyond reputenick279 has a reputation beyond reputenick279 has a reputation beyond reputenick279 has a reputation beyond reputenick279 has a reputation beyond reputenick279 has a reputation beyond reputenick279 has a reputation beyond reputenick279 has a reputation beyond reputenick279 has a reputation beyond reputenick279 has a reputation beyond reputenick279 has a reputation beyond repute

It means you are trying to access something that isn't there

e.g. a field, or part of the object

$obj->imdburl, $obj->title, $obj->title, $obj->year, $obj->country, $obj->genres

one, or all of the fields (items after ->) aren't properly setup

if you do a
Code:
die(print_r($obj));
on line 38 may help you see what is contained in $obj
nick279 is online now  
Old 12-01-2010, 02:04:29 PM     #3 (permalink)
Junior Member
 
Join Date: Jan 2010
Posts: 14
Betty Boop is on a distinguished road

Hi,

Thanks that did show me what was is contained. It is correct so maybe it is something to do with Caching?
Betty Boop is offline  
Closed Thread



Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Domain Name Community Replies Last Post
Sedo Announces Strategic Partnership with Intellectual Property Management sedo Sedo 2 16-04-2009 05:02:37 PM
New twist to old issue of 'taking' of property - San Diego Union Tribune RSS Domain Name News 0 04-05-2008 01:59:31 PM




All times are GMT. The time now is 07:05:42 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0 RC 2
All content on Acorn Domains is member generated and is not moderated before posting. All content is viewed and used by you at your own risk and AD does not warrant the accuracy or reliability of any of the information. The views expressed are those of the individual contributors and not necessarily those of AD. Please contact us to report any issues or send a PM to "Admin".