PHP Fatal error in Apache error_log

Brujo

Joined: 2002-10-26
Posts: 20
Posted: Tue, 2007-10-30 11:20

The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version: 1.5.7
Apache version: 2.2.6
PHP version (don't just say PHP 4, please): 5.1.2 & 5.2.4
Graphics Toolkit: imagemagick
Operating system: Suse 10.1
Web browser/version (if applicable):

in my Apache error_log i have tons of this 3 Errors, any hint what to do ?

--
PHP Fatal error: Call to a member function canWrite() on a non-object in /my/path/httpdocs/modules/gallery/classes/User.php on line 167

Line 167: if ($album->canWrite($this->uid)) {

PHP Fatal error: Call to a member function isAlbum() on a non-object in /my/path/httpdocs/modules/gallery/classes/Album.php on line 1469

Line 1469: if ($photo->isAlbum()) {

PHP Fatal error: Call to a member function getOwner() on a non-object in /my/path/httpdocs/modules/gallery/classes/Album.php on line 1760

Line 1760: return $photo->getOwner();

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2007-10-30 11:55

Hello,

do you have any problems with Gallery itself?

This messages may a result of "wrong" calls. E.G. Someone wants to do things without going correctly through Gallery ;-)

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
Brujo

Joined: 2002-10-26
Posts: 20
Posted: Tue, 2007-10-30 14:39

Hello Jens, thanks for the quick response.

No i didnt have / see problems with the gallery itself, just was wondering why i had so many of this logentrys... Btw generatetd by a visit from googlebot this weekend..... unfortunaly there is no additional log entry or referer.

Thanks a lot
Brujo