PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old April 6th, 2005, 01:14 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2005
Posts: 13
After installation error

Hi,

I got this error:

Quote:
Warning: main(./global.php): failed to open stream: No such file or directory in /home/xxxx/public_html/forums/gallery/gallery_global.php on line 46

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxx/public_html/forums/gallery/gallery_global.php on line 46
Where should I upload vBadvanced Gallery? same level as VB or inside VB?
dtzy is offline   Reply With Quote
Old April 6th, 2005, 01:22 PM   #2 (permalink)
Brian
Guest
 
Posts: n/a
Re: After installation error

You have the path to your forum set incorrectly in your gallery_config.php file. Please see the FAQ section of the readme file.
  Reply With Quote
Old April 6th, 2005, 01:31 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2005
Posts: 13
Re: After installation error

My mistake, mistook it as gallery path.

Now, I got this error:
Quote:

Fatal error: Cannot increment/decrement overloaded objects nor string offsets in /home/xxxx/public_html/forums/gallery/index.php on line 50
dtzy is offline   Reply With Quote
Old April 6th, 2005, 02:08 PM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2005
Posts: 13
Re: After installation error

I did a Coppermine import and the above error was gone.

However, after edit permission, that error is back again. I am totally confused now.
dtzy is offline   Reply With Quote
Old April 6th, 2005, 04:19 PM   #5 (permalink)
Brian
Guest
 
Posts: n/a
Re: After installation error

I'm not entirely sure what would cause that. If you'd like to submit a support ticket via the Members' Area here though I'll be glad to take a look.
  Reply With Quote
Old May 2nd, 2005, 06:24 PM   #6 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
Re: After installation error

Quote:
Fatal error: Cannot increment/decrement overloaded objects nor string offsets in /home/xxxx/public_html/forums/gallery/index.php on line 50
Was this ever fixed ?

I get this to happen only on the index.php of the image gallery.

I have 2 styles (excuse the mess, still worken on the site.).

ID:21 - Main: has no problems
works - http://www.gzhq.net/gallery/index.php?styleid=21

ID:26 - Portal: has problems only on the index page. The rest of the gallery is fine.

dosen't work - http://www.gzhq.net/gallery/index.php?styleid=26
Works - http://www.gzhq.net/gallery/browseim...id=&styleid=26

There are no gallery templates or files edited between the 2 templates.

I have not ripped apart the home template for the gallery yet. ( I will start to remove stuff from the template until the error stops.)

I'll let you know what I find.
Zachariah is offline   Reply With Quote
Old May 2nd, 2005, 06:40 PM   #7 (permalink)
Brian
Guest
 
Posts: n/a
Re: After installation error

There wasn't really anything to fix. It was a case of the $stats variable already being used in another hack.
  Reply With Quote
Old May 2nd, 2005, 06:50 PM   #8 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
Re: After installation error

Quote:
Originally Posted by Brian
There wasn't really anything to fix. It was a case of the $stats variable already being used in another hack.
Ill look for variables thanks.
Zachariah is offline   Reply With Quote
Old May 2nd, 2005, 07:50 PM   #9 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
Re: After installation error

Ok this is weird.

I have a dev server. (not online, old localhost system)

win2k Dev system: (works on this system) - odd program vers., but its localhost
PHP (4.3.3), MySQL (3.23.58-nt), vB (3.0.7) Gallery (RC4)

FreeBSD On-line system: (gallery/index.php - broke)
PHP (4.3.10), MySQL (4.0.16), vB (3.0.7), Gallery (RC4)

All files are the same as well as templates. (except paths) Perhaps there are some settings server wise that are in error on the freebsd system?
Zachariah is offline   Reply With Quote
Old May 3rd, 2005, 11:36 AM   #10 (permalink)
Brian
Guest
 
Posts: n/a
Re: After installation error

Look in your gallery/index.php file and add this just below the call to gallery_global.php.
unset($stats);
  Reply With Quote
Old May 3rd, 2005, 06:30 PM   #11 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
Re: After installation error

Quote:
Originally Posted by Brian
Look in your gallery/index.php file and add this just below the call to gallery_global.php.
unset($stats);
Hot damb. Nice fix sir.

<- explain to the lamen ? What will this omit from the gallery and what would make it not work on a freebsd web host vs. my old POS win2k dev system?
Zachariah is offline   Reply With Quote
Old May 3rd, 2005, 10:49 PM   #12 (permalink)
Brian
Guest
 
Posts: n/a
Re: After installation error

If you're getting that error then the variable $stats has to be defined somewhere before the code in the gallery/index.php file. It's either from another hack you've added, or something very weird with your server configuration. Adding that code simply kills that variable so that it's able to be used without any conflicts in the gallery and shouldn't affect anything else.
  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
Error After installation dhandaulat Classifieds Installation & Upgrades 3 August 13th, 2005 12:09 PM
installation error thedigichick Photopost Pro Installation & Upgrades 2 August 7th, 2005 05:19 PM
Error on installation bill03 Photopost Pro Installation & Upgrades 7 July 29th, 2005 11:28 AM
Error with new Installation Big-K Photopost Pro Installation & Upgrades 8 July 20th, 2005 09:08 PM
installation error Fatal error: Call to undefined function: init_user_groups hoss ReviewPost Installation & Upgrades 1 January 16th, 2005 07:35 PM


All times are GMT -5. The time now is 01:19 PM.

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