Hi David
Happy New Year and hope you are keeping busy.
We have just moved our PT site from our old linux server to a new windows server and find that our php code URLs containing /var/www/html/ in lines such as:
$common_path "/var/www/html/productsearch/flowershops/includes/";
obviously no longer function.
Any ideas of how to or with what to replace /var/www/html/ with to get the same result
The path on the new server looks as follows.
C:\Inetpub\vhosts\OURSITE\httpdocs\productsearch\flowershops\includes
Chris
Thanks David
That worked, I did not think to put the full path in place. The line of code I was refering to was in include/common.php line 6.
Many thanks
Chris
Hi Chris,
I'm presuming that $common_path is part of a customisation on your site (it is not a standard Price Tapestry global variable); but it looks like you just need to replace it with the appropriate similar path on your windows server. As far as I know, you can continue to use the forward slash, so instead of:
$common_path = "/var/www/html/productsearch/flowershops/includes/";
Use:
$common_path = "c:/Inetpub/vhosts/OUTSITE/httpdocs/productsearch/flowershops/includes/";
Hope this helps,
Cheers,
David.