Inline stylesheet tags are no longer working
Posted: Fri Mar 31, 2006 8:16 pm
I upgraded a site I'm developing from 0.10 to 0.12.1, and suddenly every inline stylesheet request I make is no longer returning any data. For example, I have {stylesheet name="contactForm"}, and it correctly translates that into the stylesheet HTML code. However, the page that code requests, /stylesheet.php?name=contactForm for example, does not return any data!
From what I can tell, this is because the query /stylesheet.php uses is being generated wrong. It looks like the "?" on line 44, is not being replaced. I say this, because the ADODB object is providing the following error text:
SELECT css_text FROM css WHERE css_name = ? - Error (1064): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?' at line 1
Seemed to me like a bug worth reporting, and any help to fix my local copy would be appreciated.
From what I can tell, this is because the query /stylesheet.php uses is being generated wrong. It looks like the "?" on line 44, is not being replaced. I say this, because the ADODB object is providing the following error text:
SELECT css_text FROM css WHERE css_name = ? - Error (1064): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?' at line 1
Seemed to me like a bug worth reporting, and any help to fix my local copy would be appreciated.