 | |  | |
October 30th, 2006, 11:35 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Dec 2005
Posts: 65
| vBGallery error in gallery_global.php
Could someone please tell me what the following error means?
rning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/horizon/public_html/forums/gallery/gallery_global.php on line 54
Warning: require_once(./global.php) [function.require-once]: failed to open stream: No such file or directory in /home/horizon/public_html/forums/gallery/gallery_global.php on line 55
Fatal error: require_once() [function.require]: Failed opening required './global.php' (include_path='.:/usr/local/php5-fcgi/lib/php') in /home/horizon/public_html/forums/gallery/gallery_global.php on line 55
Thanks!
|
| |
October 30th, 2006, 11:47 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,704
|
Have you edited your gallery_config.php file and placed the server path to your vbulletin's directory on your server
|
| |
October 30th, 2006, 11:49 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Dec 2005
Posts: 65
|
I have yes. It has the correct path.
|
| |
October 30th, 2006, 11:58 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,704
|
did you remove the .new extention?
That type of error suggests the path is incorrect this is the code Code: Content visible to verified customers only.
|
| |
November 1st, 2006, 11:34 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Dec 2005
Posts: 65
|
I'm getting this error still. I moved my host and reinstalled my board, and I have the same problem.
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/jabberbo/public_html/forums/gallery/gallery_global.php on line 54
Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home/jabberbo/public_html/forums/gallery/gallery_global.php on line 55
Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/jabberbo/public_html/forums/gallery/gallery_global.php on line 55
Here's what I have for the section of code you referenced. I tried taking out the . and adding the absolute path to the forum. My forum is installed in the /forums folder under the root. I added that as well. The vbgallery_config.php file has the correct path as well.
// ######################### REQUIRE BACK-END ############################
require_once('./gallery_config.php');
chdir($forumpath);
require_once('./global.php');
require_once('./includes/functions_gallery.php');
|
| |
November 2nd, 2006, 08:38 AM
|
#6 (permalink)
| | Registered User
Join Date: Nov 2005 Location: Canoga Park, CA
Posts: 3,244
|
Post 1:
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/horizon/public_html/forums/gallery/gallery_global.php on line 54
Post 5:
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/jabberbo/public_html/forums/gallery/gallery_global.php on line 54
I see a PATH change.
- Make sure you reflect the change in vbgallery_config.php
|
| |
November 2nd, 2006, 09:16 AM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Dec 2005
Posts: 65
|
Yea, the gallery_config has the correct path (home/jabberbo/public_html/forums). The vbgallery_global.php is unchanged. If the correct path is in vbgallery_config.php, what else could be the problem?
|
| |
November 2nd, 2006, 09:54 AM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Dec 2005
Posts: 65
| Quote:
Originally Posted by Zachariah Post 1:
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/horizon/public_html/forums/gallery/gallery_global.php on line 54
Post 5:
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/jabberbo/public_html/forums/gallery/gallery_global.php on line 54
I see a PATH change.
- Make sure you reflect the change in vbgallery_config.php | They're different problems. I should have made a seperate post I guess. Post 1 was from a few weeks ago, post 5 is from yesterday. I transferred hosts and setup a brand new installation of vB and vBGallery and I'm getting the same problem I had with the previous host.
|
| |
November 2nd, 2006, 04:00 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Dec 2005
Posts: 65
|
Anyone able to assist with this path issue?
|
| |
November 2nd, 2006, 04:54 PM
|
#10 (permalink)
| | Registered User
Join Date: Nov 2005 Location: Canoga Park, CA
Posts: 3,244
|
Shoot me some access ftp/admincp, I might be able to change a few things and get ya up.
I'll post what I find.
|
| |
November 2nd, 2006, 04:58 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Dec 2005
Posts: 65
|
Ok cool! Sent you a PM.
|
| |
November 2nd, 2006, 05:57 PM
|
#12 (permalink)
| | Registered User
Join Date: Nov 2005 Location: Canoga Park, CA
Posts: 3,244
|
Did a few things:
$forumpath = ' /home/jabberbo/public_html/forums';
missing the / infront of the path.
Edited your "Tangerine" style and updated all the URL's to images. old:
tangerine/buttons
new: http://www.website.com/forums/tangerine/buttons |
| | |
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 08:40 PM. | |