Page 1 of 1
Site doesn't load/display any css.
Posted: Wed Mar 14, 2007 1:12 pm
by big_o
Okay, first I would like to say that this cms was the easiest I've tried to to set up and I have tried a few. I am trying to set it up on a souceforge hosted site and everything went well with the installation when I followed the instructions from
this thread. I'm having some session problems, but my biggest problem by far is that all css appears to be ignored on the web page. Everything shows up as it should in the admin section (usually, it will occasionally be ignored there too, but a refresh will fix it).
I didn't do anything in out of the ordinary other than what is called for in the thread I posted. I did have to modify the tmp directory slightly but that was all.
My fileloc.php looks like this:
Code: Select all
<?php
define("CONFIG_FILE_LOCATION", '/tmp/persistent/big-o-space/cms/config.php');
define("TMP_CACHE_LOCATION", '/tmp/persistent/big-o-space/cms/cache');
define("TMP_TEMPLATES_C_LOCATION", '/tmp/persistent/big-o-space/cms/templates_c');
?>
The site can be found
here.
Re: Site doesn't load/display any css.
Posted: Wed Mar 14, 2007 1:47 pm
by wesyah234
I tried fetching one of your CSS files:
http://big-o-space.sourceforge.net/styl ... ype=screen
and the result is this:
Warning: main(config.php): failed to open stream: No such file or directory in /home/groups/b/bi/big-o-space/htdocs/stylesheet.php on line 40
Fatal error: main(): Failed opening required 'config.php' (include_path='.:/usr/local/share/pear') in /home/groups/b/bi/big-o-space/htdocs/stylesheet.php on line 40
-----
seems that it can't open config.php
I've installed cmsms numerous times and I've never even known about fileloc.php... I just extract the tar, hit the site, get a warning about config.php, touch config.php, chmod 777 config.php, reload the site, get warnings about the tmp/cache directories, chmod 777 those directories... and go from there setting up the default user and the db connection settings.
I've never tried an install on sourceforge though...
Re: Site doesn't load/display any css.
Posted: Wed Mar 14, 2007 2:05 pm
by big_o
You'll have to excuse while I find a hole to go hind in, I dumped my browsers cache and it looks as it should now.
Sourceforge has a few strange rules, tmp/persistent/big-o-space/ is the only directory that I have write access to, but my root has to be in another directory.
I'm still getting dumped to blank pages randomly and predictably, and I'm assuming its a sessions path problem. If anyone has an example of overriding the session save path, I would greatly appreciate seeing it.
Thanks wesyah234 .
Re: Site doesn't load/display any css.
Posted: Wed Mar 14, 2007 4:14 pm
by big_o
Well, it works most of the time anyway. I was on dial-up, but now that I am on dsl I have noticed that it loads very slowly, and will randomly decide not to load the css files. What is going on here?
Re: Site doesn't load/display any css.
Posted: Thu Mar 15, 2007 4:15 am
by big_o
Well, after doing some reading, I have came to the conclusion that the slow speed is the price to pay for using a shared server. I have managed to get sessions to work properly, but I'm still getting dumped to a blank page pretty frequently.
I also have a question about the cache. I have changed the cache path, but in the control panel it still lists it as being tmp/cache, and clearing it apparently does nothing. Where can I change that path?