No CSS / no JS

asterix86

Joined: 2013-09-24
Posts: 4
Posted: Wed, 2013-09-25 05:29

Hi,

Yesterday my Gallery installation was working well, and today it doesn't. I don't think I changed something in apache configuration, or I don't remember, but here are the symptoms:

The site looks ugly, as if I have no css nor javascript files. See My website to see what happens.

Indeed when I activate firebug, it shows me this error: "ReferenceError: $ is not defined". So I indeed don't have jquery downloaded.

When I look the source of the HTML page, I see that js and css files are downloaded like that:

Quote:
<!-- LOOKING FOR YOUR JAVASCRIPT? It's all been combined into the link below -->
<script type="text/javascript" src="/photos/index.php/combined/javascript/4a...">

When I try to go on this link, I get a "Content Encoding Error" from firefox. I guess it's the root of the problem, but I have no idea what could cause that.

I tried upgrading from 3.0.2 to latest 3.0.9, but nothing changed.

 
asterix86

Joined: 2013-09-24
Posts: 4
Posted: Wed, 2013-09-25 07:29

If I upgraded it's because it didn't work in 3.0.2 either. Going back to 3.0.2 doesn't help solving the issue.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2013-09-25 13:46

I get a "Content encoding error" so it is a server side thing.
Your host should be able to help out.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
asterix86

Joined: 2013-09-24
Posts: 4
Posted: Wed, 2013-09-25 14:08

I am the host, so yes I think it's a apache or PHP configuration issue, but I have no idea what's wrong. All other website and services I run don't have problems ...

If anyone has an idea what's wrongly configured ...
I run PHP5.5.1 and apache2.4.6

 
asterix86

Joined: 2013-09-24
Posts: 4
Posted: Wed, 2013-09-25 14:54

Problème réglé !

Je ne sais pas ce que j'avais bu, mais il y avait des trucs zarbi dans le fichier var/database.php. Une fois le fichier nettoyé ca remarche nickel.

merci pour vos réponses !