no theme/css is loaded

Permalink
Hi!
I have a probleme after a clean installation of c5.
No CSS is loaded. The default and custom themes are not working. Any ideas????

Is there a bug in the paths?

Please take a look at:
http://www.lab3.info/concrete5/...

 
andrew replied on at Permalink Reply
andrew
We load the theme css through a file on the server, so we can custom configure it. That file is located here:

concrete/tools/css.php

I would load up

http://lab3.info/concrete5/index.php/tools/css/themes/default/main....

And then start modifying that script. You should at least start to see items print out at the top. Perhaps the caching of the stylesheet isn't working, or something is dying before it can grab the stylesheet correctly?
AlbertoB replied on at Permalink Reply
exactly the same thing happens to me.
I have C5 installed on a Windows server with IIS.
I'm messing up with css.php but nothing happens...
pginpa replied on at Permalink Reply
Greetings all!

C5 looks extremely promising. After some headscratching over the sketchy installation instructions, I got C5 to come up on a 1and1 shared hosting account, but apparently without loading CSS properly. The first page comes up with the photo of the aspens, but appears otherwise unstyled (i.e. everything is Times font, left aligned).

Here are the paths for the style sheets. I wonder about having the index.php in the path, but I found an unrelated post saying something like that is a valid path...

<style type="text/css">@import "/ovc/c5/index.php/tools/css/themes/greensalad/main.css";</style>
<style type="text/css">@import "/ovc/c5/index.php/tools/css/themes/greensalad/typography.css";</style>

I also found a post talking about changing BASE_DIR and REL_DIR, which I located (I guess?) and changed in config\site.php. Making REL_DIR blank and other experiments do not seem to help.

I hope someone can help me out. I've done ok figuring the other glitches (and want to post some tips for others!), but this one has me stumped. It sounds like others are having the same problem.

Thanks,
pg
jjr2527 replied on at Permalink Reply
http://rendelfamily.com

Tried other themes as well, no dice. I also noticed even the previews for the theme don't load the css file.

I am on 1&1 hosting so I had to do modify the htaccess file to run .php files as php5.

Seems to work fine on windows locally but when I hosted it I ran into problems.
pginpa replied on at Permalink Reply
I went back and deleted all C5 files and my database several times. I uploaded the zip via 1and1's file manager (I had ftp'ed unzipped files first time). Using the file mgr, I unzipped it in my site's root directory. It created Concrete5RCxxx directory, which I renamed c5 once and concrete5 another time.

Using FireFTP I checked that permission on directory config/ (in root) is 755. I set files/ and its subdirectories (and one time all files in it as well!) to 777.

I created an .htaccess file in the c5 or concrete5 directory, containing info I found on sourceforge:

AddType x-mapp-php5 .php
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>

Entering the path gives me the setup page. Once database info is entered, I can access the site, but again NO CSS STYLING APPEARS TO OCCUR!

Incidentally, the install instructions say to visit the installation directory and the site will start. I don't think that's true. Unless an .htaccess file somewhere says to assume index.php, you will have to use .....path.../index.php to get to the setup page AND the site.

While I'm a newbie, I've gotten a lot of diverse database programs to work over the years. I think you either mistakenly introduced a bug, or you are omitting a critical setup step.

Hope someone can shed some light. Frustrating to be so close to a nice program!

pg
pginpa replied on at Permalink Reply
I decided to give it one more go with 5.2RC2 and, lo and behold, the CSS/style problem is fixed and C5 seems to be working as advertised.

Don't despair! It is apparently possible to get C5 up and running on 1and1.com shared hosting. Once I confirm that things really do seem to all be working, I will try to post some specific points to check if you are trying to use 1and1.

Regards!
andrew replied on at Permalink Reply
andrew
I noticed a problem with 5.2RC1 and this exact thing on Godaddy shared hosting. A fix to our internal $file->getContents() function fixed it.

Glad to hear that this works again.