Username
Forgot password?
Welcome to our site!
Or Join with FTTF

Cannot render the page properly

0

653 views
Hi, I've just installed all the stuff to deploy LampCMS, started lighttpd, and accessed to the home page.
It looks fine except that the page layout is odd.
I checked the access and error logs, but nothing is wrong.

"GET /index.php/ HTTP/1.1" 200 9694
"GET /style/1/www/main.css HTTP/1.1" 200 161893
"GET /js/min/tz.js HTTP/1.1" 200 5519
"GET /js/min/qa_0.2.45.js HTTP/1.1"
"GET /favicon.ico HTTP/1.1" 200 1150

Attached please find the image of the page.


I checked on the browsers of Safari 6.0.5, Firefox 22.0, and Google Chrome 28.0.1500.71 on Mac OS X (10.7.5).
In addition, I checked Internet Explorer 10 on Windows 7 (SP1).
All of them has resulted in the same situation.

LampCMS ver. 0.2.45
Lighttpd ver. 1.4.32
PHP ver. 5.5.1
Linux 2.6.32 (RHE 6.2)

Best regards,
yayamamo
 
asked July 22, 2013 at 5:45 AM

 jp
I fixed this problem. Mime types for .css and .js were not defined in the lighttpd.conf . Thanks.
flag
Jul 22, 2013 10:10 PM

1 Answer

0
Best answer
 
At the lighttpd.conf, mime types for .css and .js must be defined as follows.

mimetype.assign = (
".html" => "text/html",
".txt" => "text/plain",
".jpg" => "image/jpeg",
".png" => "image/png",
".css" => "text/css",
".js" => "text/javascript"
)
flag
answered July 23, 2013 at 9:15 PM

Your answer

Join with account you already have

FTTF

Preview

Alert