PDA

View Full Version : Problem with styles...



wandrer
Wed 3rd May '00, 11:19pm
Just d/l'ed the software, set up the database, uploaded the files, edited the config file, and ran through the install script in under 5 minutes. Great piece of software...

While changing the settings/styles, I noticed that when I submitted the <Change styles>, the footer and the body tag had " replaced with \" ... Didn't cause a problem until I submitted the variables. Then noticed that the forum pages had a "Parse error: parse error in global.php on line 0" at the top of the screen. Fixed the problem using phpmyadmin by editing the footer template and the replacement '<body>' record.

Before I go digging into the software/server, is anyone else having this problem ?

John
Thu 4th May '00, 3:01am
OK - I've looked at it on my machine and I don't seem to be able to reproduce the problems. What setup and versions of php/mysql have you got?

John

wandrer
Thu 4th May '00, 3:58am
MysqlAdmin says:

mysqladmin Ver 7.8 Distrib 3.22.14b-gamma-virtual, for pc-bsdi4.0.1 on i386
TCX Datakonsult AB, by Monty
Server version 3.22.14b-gamma-virtual

PHP/Apache says:

Apache/1.3.1 PHP/4.0b2
Zend Engine v0.90

John
Thu 4th May '00, 8:05am
Hmmm. Not sure what could be causing it. Check that line 543 of options.php looks like this:



while (list($key,$val)=each($newoption)) {
if (get_magic_quotes_gpc()==1) {
$val=stripslashes($val);
}
$val=str_replace("\$","\\\$",$val);
$val=str_replace("\"","\\\"",$val);
$opttemp.="\$$key = \"$val\";\n";
}


John

wandrer
Thu 4th May '00, 11:43am
Yup, all checked out... As I find more info, I'll post here...