|
Re: Erroneous leading '\' in GLOBALS.php |
Thu, 07 March 2002 11:28 |
|
pony wrote on Thu, 07 March 2002 11:25 AM | You are right. My ISP has that option turned off. Addtionally, the ISP only supports .phtml and .php3 suffixes. As the result, the page loading is extremely slow and the HOME link doesn't work.
Any suggestions except changing the ISP?
Thanks! Pony
|
Using .htaccess make apache parse .php files as .php3
Otherwise you gotta write a shell script to rename .php files to .php3 and then run a script to change the reference names.
For example:
rename .php files to .php3 and the do:
perl -p -i -e 's/\.php/\.php3/g' *.php
|
|
Re: Erroneous leading '\' in GLOBALS.php |
Thu, 07 March 2002 11:25 |
|
You are right. My ISP has that option turned off. Addtionally, the ISP only supports .phtml and .php3 suffixes. As the result, the page loading is extremely slow and the HOME link doesn't work.
Any suggestions except changing the ISP?
Thanks! Pony
|
|
Re: Erroneous leading '\' in GLOBALS.php |
Thu, 07 March 2002 01:02 |
|
pony wrote on Wed, 06 March 2002 11:18 PM | Hi,
I encountered pages of warnings of "Warning: Unexpected character in input: '\' (ASCII=92) state=1 in GLOBALS.php on line ##" in my admin login page after I installed FUDforum on my Red Hat 7.1. I've tested with forum-v1.2.1.tar.gz and forum-v1.2.2.tar.gz, they both have the same problem.
After investigating the GLOBALS.php, I found out there are many lines starting with a leading '\'. I guess it may be caused by different editors' tab width on different OSs. After removing those leading '\'s, everything works fine.
Cheers Pony
|
Does you php have magic_quotes_gpc enabled to disabled?
|
|
Erroneous leading '\' in GLOBALS.php |
Wed, 06 March 2002 23:18 |
|
Hi,
I encountered pages of warnings of "Warning: Unexpected character in input: '\' (ASCII=92) state=1 in GLOBALS.php on line ##" in my admin login page after I installed FUDforum on my Red Hat 7.1. I've tested with forum-v1.2.1.tar.gz and forum-v1.2.2.tar.gz, they both have the same problem.
After investigating the GLOBALS.php, I found out there are many lines starting with a leading '\'. I guess it may be caused by different editors' tab width on different OSs. After removing those leading '\'s, everything works fine.
Cheers Pony
|
|