PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old February 10th, 2005, 02:21 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: May 2004
Posts: 35
Fatal index.php error

Well, I just installed the gallery and when accessing "index.php" I get this error:

Quote:
Fatal error: Cannot increment/decrement overloaded objects nor string offsets in /home/********/**********/gallery/index.php on line 75
Line 75 contains:

Code:
Content visible to verified customers only.

EDIT:
I removed the default categories that come with a stock vBaGallery, and now it seems to show the index page..

Then adding a category, I get the error again.

EDIT 2:
If I remove the code:
Code:
Content visible to verified customers only.
Then I have no problems at all.. Very strange. It still seems to count my stats on the index.php page. What is the purpose of the code I had to remove?
xbleed is offline   Reply With Quote
Old February 12th, 2005, 01:19 PM   #2 (permalink)
rbl
Senior Member
Verified Customer
 
Join Date: Aug 2003
Location: Portugal
Posts: 492
Send a message via AIM to rbl Send a message via MSN to rbl
Re: Fatal index.php error

I've never seen that error before but anyway, you shouldn't have to remove any code for it to work!

Is your server running PHP5?
rbl is offline   Reply With Quote
Old February 12th, 2005, 01:32 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: May 2004
Posts: 35
Re: Fatal index.php error

Looks like I'm running PHP Version 4.3.10
xbleed is offline   Reply With Quote
Old February 12th, 2005, 01:37 PM   #4 (permalink)
rbl
Senior Member
Verified Customer
 
Join Date: Aug 2003
Location: Portugal
Posts: 492
Send a message via AIM to rbl Send a message via MSN to rbl
Re: Fatal index.php error

That's a pretty standard version, don't understand why you have that issue on a brand new installation!
Undo your changes (or to be safe, reupload new gallery php files) and turn off stats in your admincp -> gallery settings. See if that changes anything.
rbl is offline   Reply With Quote
Old February 12th, 2005, 02:32 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: May 2004
Posts: 35
Re: Fatal index.php error

Hmm. VERY strange. I undid the changes (so it's now a stock index.php) and it works now? So weird.. I know it wasn't really a server issue cause none of my other pages were having problems.

Strange.. I guess it's fixed now though? haha
xbleed is offline   Reply With Quote
Old February 12th, 2005, 02:37 PM   #6 (permalink)
rbl
Senior Member
Verified Customer
 
Join Date: Aug 2003
Location: Portugal
Posts: 492
Send a message via AIM to rbl Send a message via MSN to rbl
Re: Fatal index.php error

But did you turn off stats or just undid the changes?
If you need to turn off stats for it to work, take the issue to Brian.
rbl is offline   Reply With Quote
Old March 20th, 2005, 04:26 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Mar 2004
Posts: 75
Re: Fatal index.php error

Was there a solution found for this? I had the same problem on my test server, including same error message. Turning off the stats in gallery admin worked.
zenithrs@bigpon is offline   Reply With Quote
Old March 20th, 2005, 09:34 AM   #8 (permalink)
Brian
Guest
 
Posts: n/a
Re: Fatal index.php error

Not sure how that'd be happening. If you'd like to submit a support ticket though I'll be glad to take a look.
  Reply With Quote
Old March 20th, 2005, 02:37 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Mar 2004
Posts: 75
Re: Fatal index.php error

I've only got it running on a test server at the moment. Site is very much under construction. PHP 4.3.1, Apache 1.3.27, on Slackware. Site also has vbportal but I don't think that should have any bearing at all.

I'll try it on a production server before I submit a ticket.

Cheers

Z
zenithrs@bigpon is offline   Reply With Quote
Old March 20th, 2005, 02:54 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Mar 2004
Posts: 75
Re: Fatal index.php error

Everything is fine on the production server with PHP 4.3.10.
zenithrs@bigpon is offline   Reply With Quote
Old April 6th, 2005, 02:48 PM   #11 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2005
Posts: 13
Re: Fatal index.php error

I have the same error at the same line, PHP Version 4.3.10. Tried the suggestions above, still don't help.

How to submit a ticket?
dtzy is offline   Reply With Quote
Old April 6th, 2005, 04:14 PM   #12 (permalink)
Brian
Guest
 
Posts: n/a
Re: Fatal index.php error

Homepage => Members' Area => Support Tickets
  Reply With Quote
Old June 11th, 2005, 01:33 PM   #13 (permalink)
Member
Verified Customer
 
Join Date: Sep 2004
Posts: 123
Re: Fatal index.php error

Does anyone know how to fix this problem? I have the same problem.
ttnb is offline   Reply With Quote
Old June 11th, 2005, 01:56 PM   #14 (permalink)
Brian
Guest
 
Posts: n/a
Re: Fatal index.php error

It's most likely from another hack you have installed. Try adding $stats = ''; somewhere in your gallery/index.php file, just below the call to your gallery_global.php file.
  Reply With Quote
Old June 11th, 2005, 09:12 PM   #15 (permalink)
Member
Verified Customer
 
Join Date: Sep 2004
Posts: 123
Re: Fatal index.php error

Thanks for your reply,

I add this and it works

Code:
Content visible to verified customers only.
Is this the same as what you said above?
ttnb is offline   Reply With Quote
Old June 12th, 2005, 10:51 AM   #16 (permalink)
Brian
Guest
 
Posts: n/a
Re: Fatal index.php error

Yes, that will work fine as well.
  Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fatal Error: gallery_NewImages.php Line 69 bbensen Installs and Upgrade - vBulletin 3.0.X 7 July 13th, 2005 07:22 AM
Index.php error TwinsForMe Classifieds Installation & Upgrades 5 April 18th, 2005 11:14 AM
After install, no user text on index.php or adm-index.php silknet01 Classifieds Installation & Upgrades 6 April 14th, 2005 01:43 PM
problem with install: fatal error in vb3.php heynurse Photopost Pro Installation & Upgrades 5 December 9th, 2004 02:27 AM


All times are GMT -5. The time now is 10:30 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0