Windows Server \t Characters

Top  Previous  Next

Windows servers have trouble with \t

If a filesystem path contains the characters "\t" which has a special meaning in php code - the characters are replaced with a tab just like "\n" is replaced with a new line. For example: C:\Websites\thissite would turn into: C:\Websites        hissite. This kind of problem is unique to Windows servers where the path uses backslashes (which is also the escape character in php) instead of slashes. To fix trouble with \t characters in Windows file path replace the backslashes with forward slashes. If this doesn't work, try to escape the backslashes in the current path by adding another backslash before each of them.

 

To change the filesystem path use a MySQL database manager like phpMyAdmin, which is provided by most web hosting services, and look up the table "preferences". Find the rows where the "prefname" field is set to: "ashoppath" and "ashopspath". Change the path in the "prefvalue" field of those two rows.