View Single Post
December 11th, 2005, 07:43 AM   #4 (permalink)
Chuck S
Photopost Developer
Verified Customer

Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,704
Quote:
 Originally Posted by tjanders Are you saying I need to go through all the php files, find file references and change all the back slashes to forward? Yikes. Didn't have any trouble at all with back slashes when installing vBulletin on this Windows server, so I'm surprised to have this coding problem.
Nope has nothing to do with coding I am refering to server path translation. There are literally thousands of threads on the internet about windows and server path translation. You need to use forward slashes when your storing a variable in a mysql database. Backslashes will be stripped in mysql.

D:\some\path\to\photopost WRONG

D:/some/path/to/photopost RIGHT

Quote:
 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\Domains\timstropicals.com\wwwroot\photopost\forums\photopost.php on line 25
Are you intergrated with vbulletin or installing as an internal install that error suggests you have selected internal install so its loading photopost intergration. You would need to rerun install.php and select vbulletin integration or you can edit the settings mysql table line 41 and change the entry to vb3

Quote:
 Warning: chdir(): No such file or directory (errno 2) in C:\Domains\timstropicals.com\wwwroot\photopost\header-inc.php on line 60 Warning: main(./global.php): failed to open stream: No such file or directory in C:\Domains\timstropicals.com\wwwroot\photopost\header-inc.php on line 61
Okay in your integration settings in admin panel or config-int.php file your $vbpath is not set correctly. chdir($vbpath);
require("./global.php");

Thus you need to set the variable \$vbpath to the correct server path of vbulletin.

This is what those errors suggest to me here.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.