The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I have a bit of a problem with my site, cybervergence.com, and I'm hoping someone here might be able to point out what could be causing it.
If you head to the site, and click on the Gallery tab (it's the vBadvanced gallery, but I can't get vbadvanced.com to load to ask about this there), you'll see lovely error page. I think this might have happened after my host moved me to a different server, and I just didn't notice it until now. I've not changed anything, so it's not like I've done anything that could cause this, to the best of my knowledge. Our index page had a similar error after the server move, but I managed to get it working. However, for the life of me, I can't figure out how to fix this one! Here are the errors, and the lines they refer to: Error 1: Code:
Warning: chdir(): No such file or directory (errno 2) in /home2/cyberve/public_html/gallery/gallery_global.php on line 17 Code:
chdir($forumpath); Error 2: Code:
Warning: main(./global.php): failed to open stream: No such file or directory in /home2/cyberve/public_html/gallery/gallery_global.php on line 46 Code:
Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/cyberve/public_html/gallery/gallery_global.php on line 46 Code:
require_once('./global.php'); global.php certainly exists, and everything else is working fine. It's just the gallery that's down, which is part of why I didn't notice for quite a while, and am not sure when it happened. Can anyone offer any suggestions, perhaps point me in the right direction? |
#2
|
|||
|
|||
![]()
find this:
Code:
$forumpath |
#3
|
|||
|
|||
![]()
Sorry for the rather late reply - I was moving, and ended up not online for longer than expected.
As I said in the original post, I'm really PHP illiterate. What exactly do you mean by the full path? I'm guessing you mean the path to the forum... maybe the index.php file? I tried a few things (like /forums/index.php, and home2/cyberve/public_html/forums/index.php), but it kept giving me the same error. Also, I've noticed that in various places in the code, I find things like this: Code:
require_once('./gallery_config.php'); |
#4
|
|||
|
|||
![]()
there is a file called gallery_config.php in your gallery directory:
Make sure that you set this variable properly: Code:
// ============================================ // Enter the full path to your forum here // Example: /home/vbadvanced/public_html/forum // ============================================ $forumpath = '/home/username/public_html/forumsdir'; |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|