 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
July 21st, 2010, 07:18 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: May 2007 Location: Cairns, Qld, Austral
Posts: 84
| 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.
|
| |
July 21st, 2010, 07:40 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,698
|
please post what your error is so we can suggest a resolution.
|
| |
July 21st, 2010, 07:48 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: May 2007 Location: Cairns, Qld, Austral
Posts: 84
|
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.
|
| |
July 21st, 2010, 10:04 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,698
| |
| |
July 21st, 2010, 10:16 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: May 2007 Location: Cairns, Qld, Austral
Posts: 84
|
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?
|
| |
July 22nd, 2010, 08:04 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,698
|
The path is right in the config-int.php file on the $vbpath line as noted in that thread your path is wrong.
|
| |
July 24th, 2010, 07:33 AM
|
#7 (permalink)
| | Member Verified Customer
Join Date: May 2007 Location: Cairns, Qld, Austral
Posts: 84
| Quote:
Originally Posted by Chuck S The path is right in the config-int.php file on the $vbpath line as noted in that thread your path is wrong. | I don't understand what you are saying.
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?
|
| |
July 24th, 2010, 10:01 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,698
|
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";
|
| |
July 25th, 2010, 03:30 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: May 2007 Location: Cairns, Qld, Austral
Posts: 84
|
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
|
| |
July 26th, 2010, 07:41 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,698
|
You need to upgrade your gallery to the version 7 series to be compatible with vb4
|
| |
July 26th, 2010, 07:42 AM
|
#11 (permalink)
| | Member Verified Customer
Join Date: May 2007 Location: Cairns, Qld, Austral
Posts: 84
|
Ok, thank you.
|
| |
July 26th, 2010, 07:46 AM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,698
|
enjoy your day
|
| | |
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 01:26 AM. | |