The stylesheet and JS for the dashboard doesn't load. However, the login page works fine.
After doing some debugging I found that the two requests to get the CSS and JS from the server returns 404 Not Found
http://my_server/index.php?module=Proxy&action=getCss&cb=<a_long_number_i_am_hiding>
http://my_server/index.php?module=Proxy&action=getJs&cb=<a_long_number_i_am_hiding>
While other requests like the CSS for the login page work:
http://my_server/plugins/Login/templates/login.css?cb=<a_long_number_i_am_hiding>
http://my_server/index.php?module=CoreHome&action=index&idSite=1&period=day&date=today
I tried all the proposed solutions I found like deleting the files in assess folder. Also i think 1.2 solves the issue of double compression which was in 1.1.
Safe_mode is off, Browser cached is cleared, Reinstalled Piwik from scratch with a new database.
Still the same problem.
I feel it is related to php, but not sure who to solve it
I have had this problem since 1.1 (maybe even before)
I assume that means you had files in tmp/assets/.
If so, the most likely cause would be disabled_functions in php.ini contains "readfile".
Replying to vipsoft:
I assume that means you had files in tmp/assets/.
If so, the most likely cause would be disabled_functions in php.ini contains "readfile".
Thanks a lot, that actually was the cause of the problem.
I disabled it along with some other functions based on some security tips to lockdown php. I wish if piwik can do this check during setup time to see if it can access the needed functions. Also regarding the database user and what permission does it normally need after the DB and tables are created.
Thanks again vipsoft.
Problem solved, close this ticket please. (I can not close it right now)
Fixed in #2177 by adding a compat function.