 | |  | |
December 22nd, 2005, 04:08 PM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2005
Posts: 16
| Problems after installation
I did everything in detail that was described in the help file, and after I did everything, I get this PHP error message every time I access the Gallery: Quote: |
Originally Posted by Stupid Error Message Warning: chdir(): No such file or directory (errno 2) in /home/dir/public_html/gallery/gallery_global.php on line 20
Warning: main(./global.php): failed to open stream: No such file or directory in /home/dir/public_html/gallery/gallery_global.php on line 50
Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dir/public_html/gallery/gallery_global.php on line 50 | the forums is located in www.x.com/forum and the gallery is located at www.x.com/gallery , please don't ask me to check the directory in the gallery's config file because I already did like a billion times...
Thanks,
firstbase.
|
| |
December 22nd, 2005, 04:28 PM
|
#2 (permalink)
| | Registered User
Join Date: Nov 2005 Location: Canoga Park, CA
Posts: 3,244
| Quote: |
Originally Posted by firstbase I did everything in detail that was described in the help file, and after I did everything, I get this PHP error message every time I access the Gallery:
the forums is located in www.x.com/forum and the gallery is located at www.x.com/gallery , please don't ask me to check the directory in the gallery's config file because I already did like a billion times...
Thanks,
firstbase. | Show me your $forumpath.
gallery_config.php
What is tha path install ?
from
<?phpinfo();?>
|
| |
December 22nd, 2005, 05:12 PM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2005
Posts: 16
|
It is /home/dir/public_html/forum , that's about it, I think it's correct...
|
| |
December 22nd, 2005, 05:40 PM
|
#4 (permalink)
| | Registered User
Join Date: Nov 2005 Location: Canoga Park, CA
Posts: 3,244
| Quote: |
Originally Posted by firstbase It is /home/dir/public_html/forum , that's about it, I think it's correct... | gallery_config.php Code: Content visible to verified customers only.
You need to find out your server.
AdminCP = > Maintenance => View PHP info
DOCUMENT_ROOT
Take what ever the value is and add: /your_forum_install_dir Quote:
EX:
$forumpath = '/home/photopost/public_html/forum';
| no trail " / " slash.
|
| |
December 22nd, 2005, 07:00 PM
|
#5 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2005
Posts: 16
|
I already said I did that, and that is there..
But still, having the very same problem.
The script says that there must be a global.php file withing the Gallery directory...
PS. Don't worry, instead of "dir" I did put my site's folder.
Thanks.
|
| |
December 22nd, 2005, 08:08 PM
|
#6 (permalink)
| | Registered User Verified Customer
Join Date: Nov 2005
Posts: 1,400
|
Firstbase, in the error you listed it's having a 'chdir' problem meaning that the value in gallery_config.php is either incorrect or is inaccessible.
When you did the View PHP info, what exactly was the value for document root?
|
| |
December 23rd, 2005, 01:10 AM
|
#7 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2005
Posts: 16
|
I viewed in the PHP info from the admin cp exactly this: Quote: |
/home/linuxfor/public_html/forum/admincp
| So I enterred in the gallery_config.php file exactly this: Quote: |
/home/linuxfor/public_html/forum
| And the gallery_config.php file is chmoded to 777.
|
| |
December 23rd, 2005, 07:26 AM
|
#8 (permalink)
| | Registered User
Join Date: Nov 2005 Location: Canoga Park, CA
Posts: 3,244
| Quote: |
Originally Posted by firstbase I viewed in the PHP info from the admin cp exactly this:
So I enterred in the gallery_config.php file exactly this:
And the gallery_config.php file is chmoded to 777. | Everything sounds ok.
- Send me a PM please : ftp, forum login - I'll see what I can find.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 10:07 PM. | |