Page 1 of 1
[solved] CSS doesn't work after upgrade from 1.3.1 to 1.4
Posted: Fri Aug 08, 2008 2:07 pm
by Jude
I just upgrated the site I'm running and otherwise it went well, but my CSS files doesn't work. I just get an announcement of an error that says:
CSS-file is not loaded because it's MIME-type is "text/html" not "text/css".
Any idea how to solve this problem? My site looks quite dull right now.
http://www.tanssiklubistar.fi
Re: CSS doesn't work after upgrade from 1.3.1 to 1.4
Posted: Fri Aug 08, 2008 2:24 pm
by viebig
the output of the stylesheet is
Code: Select all
Fatal error: Call to undefined function csscache_csvfile_to_hash() in /data/home/tanssiklubif/public_html/stylesheet.php on line 44
just to help supporters troubleshooting
I hope someone can manage to solve your problem
Re: CSS doesn't work after upgrade from 1.3.1 to 1.4 – atleast it works now
Posted: Fri Aug 08, 2008 3:30 pm
by Jude
This isn't beautiful way to do it, but atleast my CSS files do work now. All I did was commenting following lines
43-44
//$hashmtime = @filemtime($hashfile);
//$hash = csscache_csvfile_to_hash($hashfile);
and
106-107
//$hash[$cssid] = $etag;
//csscache_hash_to_csvfile($hashfile,$hash);
I don't see that the problem is solved, but this was a working way out.
Re: CSS doesn't work after upgrade from 1.3.1 to 1.4
Posted: Fri Aug 08, 2008 4:43 pm
by Pierre M.
Re: CSS doesn't work after upgrade from 1.3.1 to 1.4 – atleast it works now
Posted: Fri Aug 08, 2008 9:09 pm
by alby
Jude wrote:
This isn't beautiful way to do it, but atleast my CSS files do work now. All I did was commenting following lines
43-44
//$hashmtime = @filemtime($hashfile);
//$hash = csscache_csvfile_to_hash($hashfile);
and
106-107
//$hash[$cssid] = $etag;
//csscache_hash_to_csvfile($hashfile,$hash);
I don't see that the problem is solved, but this was a working way out.
Try to reupload lib/misc.functions.php (check date/size)
Alby
Re: CSS doesn't work after upgrade from 1.3.1 to 1.4 – atleast it works now
Posted: Fri Aug 08, 2008 9:24 pm
by Jude
alby wrote:
Try to reupload lib/misc.functions.php (check date/size)
Alby
That was it – problem solved. The one I had in my server was uploaded after the file in upgrade was created, so it wasn't replased. Thanks.