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
[solved] CSS doesn't work after upgrade from 1.3.1 to 1.4
[solved] CSS doesn't work after upgrade from 1.3.1 to 1.4
Last edited by Jude on Fri Aug 08, 2008 9:25 pm, edited 1 time in total.
Re: CSS doesn't work after upgrade from 1.3.1 to 1.4
the output of the stylesheet is
just to help supporters troubleshooting
I hope someone can manage to solve your problem
Code: Select all
Fatal error: Call to undefined function csscache_csvfile_to_hash() in /data/home/tanssiklubif/public_html/stylesheet.php on line 44
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
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.
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 – atleast it works now
Try to reupload lib/misc.functions.php (check date/size)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.
Alby
Re: CSS doesn't work after upgrade from 1.3.1 to 1.4 – atleast it works now
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.alby wrote:
Try to reupload lib/misc.functions.php (check date/size)
Alby