Bug

Site echoing "%% strip slashes"

Summary

open
Aug 21, 2007
Aug 21, 2007 / guest
Oct 29, 2007 / guest
suggested
 

Attached files

No files uploaded
 
A lost "echo "%% strip slashes";" on line 97 of common.inc.php in std directory is executed before anything, so it breaks the login procedure by having problems with headers and such.

Issue report

Major
Always
PHP 5.2.0, MySQL 5.0.27, Zend 2.2.0
0801
2007-05-04
Upgrade to 0801, complete upgrade and access site.
Site should load up normally
Comment or remove line 97 of common.inc.php, because it echos the text.
 

3 Comments

guest:You cna also disable magic quotes

11 years ago -

You can disable magic quotes in php.conf to fix this as well.

guest:magic_quotes

11 years ago -

Unfortunately, some web-hosts don't allow changing this configuration, so a code fix would be more recommended.

guest:Solve the probem.

10 years ago -

Go into file:std/common.inc.php and remove from line 97 :echo "%% strip slashes";
that is all.