PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old August 15th, 2005, 12:22 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2005
Posts: 9
another error :)

so i've just finished installing the gallery...and i'm getting this error:


Warning: main(./global.php): failed to open stream: No such file or directory in /homepages/25/d97508058/htdocs/gallery/index.php on line 25

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/lib/php') in /homepages/25/d97508058/htdocs/gallery/index.php on line 25


I've double and tripled checked my folder path in galllery_config file and it is correct...but i can't seem to figure out where my error lies.

any ideas?
thnx in advance.
kaostik is offline   Reply With Quote
Old August 15th, 2005, 01:32 PM   #2 (permalink)
Brian
Guest
 
Posts: n/a
Re: another error :)

The path is not correct if you're getting that error... What do you have it set to?
  Reply With Quote
Old August 15th, 2005, 01:35 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2005
Posts: 9
Re: another error :)

i used the following paths:

/kunden/homepages/25/d97508058/htdocs/forum

/homepages/25/d97508058/htdocs/forum

/forum

neither works.
kaostik is offline   Reply With Quote
Old August 15th, 2005, 02:09 PM   #4 (permalink)
Brian
Guest
 
Posts: n/a
Re: another error :)

Try this:
chdir('./forum');
  Reply With Quote
Old August 15th, 2005, 02:16 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2005
Posts: 9
Re: another error :)

that didn't work either
kaostik is offline   Reply With Quote
Old August 15th, 2005, 02:25 PM   #6 (permalink)
Brian
Guest
 
Posts: n/a
Re: another error :)

Admin CP => vBulletin Options => Server Settings and Optimization Options => Public phpinfo() Display Enabled

Can you turn that option on and then give me a link to your forums?
  Reply With Quote
Old August 15th, 2005, 02:47 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2005
Posts: 9
Re: another error :)

PM-ed you the info
kaostik is offline   Reply With Quote
Old August 15th, 2005, 03:52 PM   #8 (permalink)
Brian
Guest
 
Posts: n/a
Re: another error :)

Try chdir('../forum');
If that still doesn't work, please submit a support ticket via the Members' Area here and I'll be glad to take a look for you.
  Reply With Quote
Old August 15th, 2005, 05:07 PM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2005
Posts: 9
Re: another error :)

thanks for your help bro..but that didn't work either.

I'll submit that ticket.

thnx again.
kaostik is offline   Reply With Quote
Old August 15th, 2005, 08:02 PM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2004
Posts: 8
Re: another error :)

I am getting similar errors. Just installed it today. The install went fine, but when I go to www.mysite.com/gallery it gives the following errors:
Quote:
Warning: chdir(): No such file or directory (errno 2) in /home/seattle/public_html/gallery/gallery_global.php on line 17

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

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/seattle/public_html/gallery/gallery_global.php on line 47
The path is correct and I just installed vbaCMPS using the same information without any problems.

Thanks,

Marc
imported_marcjd is offline   Reply With Quote
Old August 15th, 2005, 08:23 PM   #11 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2005
Posts: 9
Re: another error :)

ya....i am in the same boat as u..

i have cpms installed as well...

i was just gonna open up that help ticket in a min..but it may be worth an admin/mod to address this issue here for other ppl with the similar issue.

i was thinking...would it have anything to do with the gallery folder located in /root/gallery while all the other files are located in /root/forum/

i'm wondering this because i think on line 25 in /gallery/index.php it refers to a file located relative to the gallery dir when the file is really located in the /forum/ dir
kaostik is offline   Reply With Quote
Old August 16th, 2005, 01:56 PM   #12 (permalink)
Brian
Guest
 
Posts: n/a
Re: another error :)

marcjd - What do you have the path set to? Also, did you try the script in the FAQ forum here?

kaostik - I'm not seeing any support tickets from you yet.
  Reply With Quote
Old August 16th, 2005, 02:01 PM   #13 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2005
Posts: 9
Re: another error :)

sorry about that...i'll create a support ticket when i get off work tontie (i have to get my server info for ya)
kaostik is offline   Reply With Quote
Old August 16th, 2005, 02:13 PM   #14 (permalink)
Brian
Guest
 
Posts: n/a
Re: another error :)

No problem at all. Just wanted to make sure that you didn't try to submit one and were thinking you had already.
  Reply With Quote
Old August 16th, 2005, 10:21 PM   #15 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2004
Posts: 8
Re: another error :)

This is the error I am getting now:
Quote:
Parse error: parse error, unexpected '/' in /home/seattle/public_html/gallery/gallery_config.php on line 19
And my config file looks like this:
Code:
Content visible to verified customers only.
I know this is the correct path as it is working with vbaCMPS and as I also checked it with the php.info suggestion.

Thanks.
imported_marcjd is offline   Reply With Quote
Old August 16th, 2005, 10:52 PM   #16 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2004
Posts: 8
Re: another error :)

It is working now for some reason. Thanks.
imported_marcjd is offline   Reply With Quote
Old August 17th, 2005, 03:54 PM   #17 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2005
Posts: 9
Re: another error :)

ticket submitted and marcjd...what did u do to get it to work?
kaostik is offline   Reply With Quote
Old August 17th, 2005, 04:19 PM   #18 (permalink)
Ultimate Member
 
Join Date: Jan 2004
Posts: 2,196
Re: another error :)

$forumpath = /home/seattle/public_html/forums ;
should be

$forumpath = "/home/seattle/public_html/forums";
Zachery is offline   Reply With Quote
Old August 17th, 2005, 05:21 PM   #19 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2005
Posts: 9
Re: another error :)

Quote:
Originally Posted by Zachery
$forumpath = /home/seattle/public_html/forums ;
should be

$forumpath = "/home/seattle/public_html/forums";

actually..it should be in single quotes...not double.
$forumpath = '/home/seattle/public_html/forums';
kaostik is offline   Reply With Quote
Old August 18th, 2005, 12:38 PM   #20 (permalink)
Brian
Guest
 
Posts: n/a
Re: another error :)

Quote:
Originally Posted by kaostik
actually..it should be in single quotes...not double.
$forumpath = '/home/seattle/public_html/forums';
It shouldn't make a difference either way really...
  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



All times are GMT -5. The time now is 02:46 PM.

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