Strange CSS/php/mysql problem
Posted: Mon Nov 20, 2006 12:25 am
Hi,
I'm a total newbe. I set up a test server with redhat 9.0 which includes apache 2.0.40, mysql 3.23.54a-11 & php 4.2.2-17, also php-mysql 4.2.2-17. The CMS made simple install went through with no trouble. When viewing the default CMS made simple page, I noticed the css didn't seem to be applied. Upon further investigation, which included looking at www.mywebpage.com/stylesheet.php?templateid=16 to see what it did, it gave me an error that it did not recognize the "mysql_real_escape_string()" funtion. I spent several hours today trying to figure out what to do. In frustration I changed the code in the stylesheet.php file from "mysql_real_escape_string()" to the older "mysql_escape_string()" function, and the css loads fine now.
Any thoughts?
Thanks!
Jeff
I'm a total newbe. I set up a test server with redhat 9.0 which includes apache 2.0.40, mysql 3.23.54a-11 & php 4.2.2-17, also php-mysql 4.2.2-17. The CMS made simple install went through with no trouble. When viewing the default CMS made simple page, I noticed the css didn't seem to be applied. Upon further investigation, which included looking at www.mywebpage.com/stylesheet.php?templateid=16 to see what it did, it gave me an error that it did not recognize the "mysql_real_escape_string()" funtion. I spent several hours today trying to figure out what to do. In frustration I changed the code in the stylesheet.php file from "mysql_real_escape_string()" to the older "mysql_escape_string()" function, and the css loads fine now.
Any thoughts?
Thanks!
Jeff