View Full Version : Install error
April 14th, 2012, 07:21 PM
I am getting this error.
I am sure I have the correct path in the config file
Warning: require_once(./global.php) [function.require-once]: failed to open stream: No such file or directory in /home/nakedshu/public_html/forums/admincp/vbgallery_install.php on line 32
Fatal error: require_once() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nakedshu/public_html/forums/admincp/vbgallery_install.php on line 32
April 14th, 2012, 07:24 PM
Your server path to your forum is not set correctly in your gallery_config.php file on the $forumpath line.
April 14th, 2012, 07:27 PM
$forumpath = '/home/nakedshu/public_html/forums';
I believe that is correct
April 14th, 2012, 07:35 PM
Okay well for some reason your server is not translating this right in the install file
You can edit the install file that is noted and on line 32 replace the . with the actual server path like so
April 14th, 2012, 07:44 PM
Ok, that explains it. There is no file called global.php in the folder. I have re-downloaded the package and searched it. No file there?
April 14th, 2012, 10:23 PM
Of course there is a file called global.php in your forums directory
Your issue is that your server setup does not appear to recognise that ./ means the directory below the one the script is being ran from. Try what i posted
April 15th, 2012, 04:20 AM
In the forums folder there are 4 items
3 folders, "admincp", "includes" and "modcp".
and 1 file called "error_log"
April 15th, 2012, 08:58 AM
I have it sorted. My Vbulletin is installed in the root and not in a directory called "forum"
April 15th, 2012, 09:39 AM
Yep as stated there is indeed a global.php in your forums install.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.