1
toddherrold
xcgal: fatal error in xcgal/include/picmgmt.inc.php on line 146

I couldn't find anything on this with search, so I'm posting here. I'm running xcgal 2.02 on a few sites and have just noticed a consistent error.

When uploading a picture to a public gallery and not logged in as a user (i.e., an anonymous upload), the upload takes but results in a white page with this error:

Fatal error: Call to a member function on a non-object in /home/hotdogbl/public_html/modules/xcgal/include/picmgmt.inc.php on line 146

Has anyone seen this and know what the fix is?

2
mcleines
Re: xcgal: fatal error in xcgal/include/picmgmt.inc.php on line 146
  • 2006/6/6 14:03

  • mcleines

  • Not too shy to talk

  • Posts: 108

  • Since: 2004/10/7


Oh, what a 'nice' bug!

Edit this row 146 in file picmgmt.inc.php that it looks like:
if (($approved == 'YES') && is_object($xoopsUser)) $xoopsUser->incrementPost();


Good luck!
Mcleines

3
toddherrold
Re: xcgal: fatal error in xcgal/include/picmgmt.inc.php on line 146

thanks so much for your help! I changed the line, updated the module but still get the same error message. . . I also tried the line you suggest but with only one '&' thinking this might have beena typo, but still the same. . .

I appreciate the attempt though.

4
mcleines
Re: xcgal: fatal error in xcgal/include/picmgmt.inc.php on line 146
  • 2006/6/8 8:34

  • mcleines

  • Not too shy to talk

  • Posts: 108

  • Since: 2004/10/7


How is it when you delete this row?

5
toddherrold
Re: xcgal: fatal error in xcgal/include/picmgmt.inc.php on line 146

deleting the row seems to have done the trick!

Thanks!

Login

Who's Online

355 user(s) are online (269 user(s) are browsing Support Forums)


Members: 0


Guests: 355


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits