PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   Problem with file paths after server move (http://www.photopost.com/forum/photopost-pro-installation-upgrades/143432-problem-file-paths-after-server-move.html)

Belgrael July 21st, 2010 07:18 PM

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.

Chuck S July 21st, 2010 07:40 PM

please post what your error is so we can suggest a resolution.

Belgrael July 21st, 2010 07:48 PM

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.

Chuck S July 21st, 2010 10:04 PM

http://www.photopost.com/forum/photo...solutions.html

Number 2 should help

Belgrael July 21st, 2010 10:16 PM

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?

Chuck S July 22nd, 2010 08:04 AM

The path is right in the config-int.php file on the $vbpath line as noted in that thread your path is wrong.

Belgrael July 24th, 2010 07:33 AM

Quote:

Originally Posted by Chuck S (Post 1272793)
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?

Chuck S July 24th, 2010 10:01 AM

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";

Belgrael July 25th, 2010 03:30 PM

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

Chuck S July 26th, 2010 07:41 AM

You need to upgrade your gallery to the version 7 series to be compatible with vb4

Belgrael July 26th, 2010 07:42 AM

Ok, thank you.

Chuck S July 26th, 2010 07:46 AM

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97