No CSS on brand new installation

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
pdohara

No CSS on brand new installation

Post 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
  _      _      _
/*\==  /*\==  /*\==
   
Last edited by pdohara on Thu Jul 13, 2006 2:51 am, edited 1 time in total.
User avatar
sjg
Power Poster
Power Poster
Posts: 310
Joined: Thu Jan 27, 2005 5:11 pm

Re: No CSS on brand new installation

Post 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 :)
Many modules available from the http://dev.cmsmadesimple.org
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
Locked

Return to “[locked] Installation, Setup and Upgrade”