Page 1 of 1

No CSS on brand new installation

Posted: Thu Jul 13, 2006 2:39 am
by pdohara
I have just installed CMS Made Simple 0.13 on my Mac OS X 10.4 iBook with Apache 1.3 and php 5.1.  The admin interface seems to be fine, and the preview from the Layout section works as expected, however when I view the site I get no CSS.  I enter the CSS URL and got the following error message:

Warning: pg_query() [function.pg-query]: Query failed: in /Library/WebServer/stylesheet.php on line 75

Warning: Cannot modify header information - headers already sent by (output started at /Library/WebServer/stylesheet.php:75) in /Library/WebServer/stylesheet.php on line 86

Warning: Cannot modify header information - headers already sent by (output started at /Library/WebServer/stylesheet.php:75) in /Library/WebServer/stylesheet.php on line 161

I assume this means that a query failed.  Obviously since I can work in the admin interface (copied a template, copied a stylesheet, added a the new style sheet to the new template, not to mention logging in), the database is setup correctly (It's a Postgres 8.1, also new install, BTW).  Not really sure where to look next.  Is there a log?  Are there tables I should check on? 

Any help is appreaciated.

Tanks for your Support
Pat O'Hara
  _      _      _
/*\==  /*\==  /*\==
   

Re: No CSS on brand new installation

Posted: Thu Jul 13, 2006 7:11 pm
by sjg
Ah, a fellow Postgres user!

To get more diagnostic informtion, edit your config.php file and set

$config['debug'] = true;

Then go to that same URL, and we'll be able to see more detail about the failing query. Then we can figure out how to fix it :)