![]() |
Problem with file paths after server move Somewhere I have put an incorrect path in a configuration file and I cannot work out where it is. I haven't been able to get it working since moving it to the new server and now I am trying to upgrade it and is still coming up with an error and I can see an incorrect path there but cannot find which config file it is in to change it. Can you please PM me for the path to my upgrade script so you can see what the error is? Thank you. |
please post what your error is so we can suggest a resolution. |
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/aucado/public_html/photopost/header-inc.php on line 57 Warning: require(./global.php) [function.require]: failed to open stream: No such file or directory in /home/aucado/public_html/photopost/header-inc.php on line 58 Warning: require(./global.php) [function.require]: failed to open stream: No such file or directory in /home/aucado/public_html/photopost/header-inc.php on line 58 Fatal error: require() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/aucado/public_html/photopost/header-inc.php on line 58 I believe the section in red is incorrect but cannot find where it is configured. |
|
Thank you but it doesn't help me to work out where that path is coming from because that path is not in any of the config files that I can see. Did you look at the error? Can you work out from that which file has that setting in it? |
The path is right in the config-int.php file on the $vbpath line as noted in that thread your path is wrong. |
Quote:
This is what I have in my config-int.php file for the $vbpath variable. $vbpath = "/public_html/forums"; This is the error I am getting: Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/aucado/public_html/photopost/header-inc.php on line 64 I want to know where it is getting the part of the path that is in red. What file is that configured in? |
Thats because your path is wrong as I have pointed out for some time now. You have in your config file this $vbpath = "/public_html/forums"; You path based on your error should read this $vbpath = "/home/aucado/public_html/forums"; |
Thank you, I finally got what you meant and have fixed the path and it is working to an extent but I am getting this line of errors in the header space. Can you help? Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 3984 Parse error: syntax error, unexpected T_STRING in /home/aucado/public_html/photopost/header-inc.php(102) : eval()'d code on line 1 Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: footer in [path]/includes/functions.php on line 3984 Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/aucado/public_html/photopost/header-inc.php(232) : eval()'d code on line 1 |
You need to upgrade your gallery to the version 7 series to be compatible with vb4 |
Ok, thank you. |
enjoy your day |
| All times are GMT -5. The time now is 12:33 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0