944,184 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 576
  • PHP RSS
Nov 2nd, 2009
0

Is this a PHP installation problem??

Expand Post »
I'm getting the following error

A PHP Error was encountered Severity: Notice Message: Trying to get property of non-object

Is this an installation error?? I'm using php 5.2.11 on centos 5.4.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
bonzi200x is offline Offline
6 posts
since Nov 2009
Nov 3rd, 2009
0
Re: Is this a PHP installation problem??
Hey.

No, this is a problem with one of your PHP scripts. Somewhere in the code you try to use a non-object (a normal variable) as if it were an object.

I can't really tell you more unless you locate the code that is generating the message.
Was there more to the error? Perhaps a file name and line number?
Reputation Points: 93
Solved Threads: 70
Posting Pro
Atli is offline Offline
526 posts
since May 2007
Nov 3rd, 2009
0
Re: Is this a PHP installation problem??
Thanks for the reply. Yes there was more on the error


A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: video/middle_view.php

Line Number: 395
Reputation Points: 10
Solved Threads: 0
Newbie Poster
bonzi200x is offline Offline
6 posts
since Nov 2009
Nov 3rd, 2009
0
Re: Is this a PHP installation problem??
Although I'm no fan of oop I would suggest posting line 395 and code that relates to line 395 for us to debug.
Sponsor
Featured Poster
Reputation Points: 410
Solved Threads: 258
Occupation: Genius
cwarn23 is offline Offline
3,004 posts
since Sep 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: How to connect remote mssql
Next Thread in PHP Forum Timeline: Bulk Uploading Audio files to FTP?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC