Vilas Posted July 8, 2013 Share Posted July 8, 2013 (edited) Hello Friends, I have installed prestashop 1.5.4.1. Earlier dashboard was appearing properly but now its not appearing properly. Please find image for reference. Will be great if anyone suggest solution on it. Thanks Edited July 13, 2013 by Vilas (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted July 8, 2013 Share Posted July 8, 2013 it looks like css issue, please turn on console in your browser (ctrl shift J - in chrome browser) then check if there is any error i think that you have 404 or forbidden issue just let me know if so Link to comment Share on other sites More sharing options...
Vilas Posted July 9, 2013 Author Share Posted July 9, 2013 (edited) Hi Vekia, Thanks once again for help. I tried same thing & got below error massage. "Uncaught ReferenceError: $ is not defined index.php:123 Please let us know if you need any more information. Thanks Edited July 9, 2013 by Vilas (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted July 9, 2013 Share Posted July 9, 2013 and this is the only one error that you've got there? anything else? Link to comment Share on other sites More sharing options...
Vilas Posted July 9, 2013 Author Share Posted July 9, 2013 (edited) I have tried Mozilla to find out error. Warning: Error in parsing value for 'background'. Declaration dropped. Line: 143 & Error: $ is not defined Here backend login link is provided. Line: 123 Shall I PM you think link? Thanks Edited July 12, 2013 by Vilas (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted July 9, 2013 Share Posted July 9, 2013 can you please check source of this weirdy looking page? just right click > show page source search for .css / .js files have you got .css / .js files included to the source? Link to comment Share on other sites More sharing options...
Vilas Posted July 9, 2013 Author Share Posted July 9, 2013 No its not showing css or js files in view source option. Link to comment Share on other sites More sharing options...
Vilas Posted July 11, 2013 Author Share Posted July 11, 2013 No Solution on It? Link to comment Share on other sites More sharing options...
Vilas Posted July 12, 2013 Author Share Posted July 12, 2013 (edited) No one aware of solution? I am getting error massage using error console that " Error: $ is not defined When I click on below link it shows error at below field. Line: 123 $(document).ready(function(){ Thanks Edited July 13, 2013 by Vilas (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted July 12, 2013 Share Posted July 12, 2013 hello it's because there are problems with js files what to do? i suggest to: download latest 1.5.4.1 installation package from official prestashop website unpack it on your hdd grab from unpacked directory the "admin" directory move it to your server via FTP (don't overwrite existing one there - just copy it to the new admin dir) you can also do the same for tools directory (in your root dir of presta) Link to comment Share on other sites More sharing options...
Vilas Posted July 12, 2013 Author Share Posted July 12, 2013 Tried Same thing as suggested. But still issue not resolved Other pages appears properly except dashboard after login to backend. Thanks Link to comment Share on other sites More sharing options...
vekia Posted July 12, 2013 Share Posted July 12, 2013 you also uploaded the js files from the tools directory? really weird that it isn't working maybe try to add css & js manually to the admin template (for homepage) ? here is the code: <link href="/1541a/padmin/../padmin/../js/jquery/ui/themes/base/jquery.ui.theme.css" rel="stylesheet" type="text/css" media="all" /> <link href="/1541a/padmin/../padmin/../js/jquery/ui/themes/base/jquery.ui.progressbar.css" rel="stylesheet" type="text/css" media="all" /> <link href="/1541a/padmin/../padmin/../js/jquery/ui/themes/base/jquery.ui.core.css" rel="stylesheet" type="text/css" media="all" /> <link href="/1541a/padmin/../modules/gamification/views/css/gamification.css" rel="stylesheet" type="text/css" media="all" /> <link href="/1541a/padmin/../padmin/../js/jquery/plugins/fancybox/jquery.fancybox.css" rel="stylesheet" type="text/css" media="all" /> <link href="/1541a/padmin/../css/admin.css" rel="stylesheet" type="text/css" media="all" /> <link href="/1541a/padmin/../padmin/themes/default/css/admin.css" rel="stylesheet" type="text/css" media="all" /> <link href="/1541a/padmin/../padmin/../js/jquery/plugins/cluetip/jquery.cluetip.css" rel="stylesheet" type="text/css" media="all" /> <link href="/1541a/padmin/../padmin/../js/jquery/plugins/alerts/jquery.alerts.css" rel="stylesheet" type="text/css" media="all" /> <link href="/1541a/padmin/../padmin/../js/jquery/plugins/chosen/jquery.chosen.css" rel="stylesheet" type="text/css" media="all" /> <script type="text/javascript" src="/1541a/padmin/../padmin/../js/jquery/jquery-1.7.2.min.js"></script> <script type="text/javascript" src="/1541a/padmin/../padmin/../js/jquery/ui/jquery.ui.core.min.js"></script> <script type="text/javascript" src="/1541a/padmin/../padmin/../js/jquery/ui/jquery.ui.widget.min.js"></script> <script type="text/javascript" src="/1541a/padmin/../padmin/../js/jquery/ui/jquery.ui.progressbar.min.js"></script> <script type="text/javascript" src="/1541a/padmin/../modules/gamification/views/js/gamification.js"></script> <script type="text/javascript" src="/1541a/padmin/../padmin/../js/jquery/plugins/fancybox/jquery.fancybox.js"></script> <script type="text/javascript" src="/1541a/padmin/../padmin/../js/jquery/plugins/cluetip/jquery.cluetip.js"></script> <script type="text/javascript" src="/1541a/padmin/../padmin/../js/jquery/plugins/jquery.hoverIntent.js"></script> <script type="text/javascript" src="/1541a/padmin/../padmin/../js/jquery/plugins/jquery.scrollTo.js"></script> <script type="text/javascript" src="/1541a/padmin/../padmin/../js/jquery/plugins/alerts/jquery.alerts.js"></script> <script type="text/javascript" src="/1541a/padmin/../padmin/../js/jquery/plugins/chosen/jquery.chosen.js"></script> <script type="text/javascript" src="/1541a/padmin/../js/admin.js"></script> <script type="text/javascript" src="/1541a/padmin/../js/toggle.js"></script> <script type="text/javascript" src="/1541a/padmin/../js/tools.js"></script> <script type="text/javascript" src="/1541a/padmin/../js/ajax.js"></script> <script type="text/javascript" src="/1541a/padmin/../js/toolbar.js"></script> <script type="text/javascript" src="/1541a/padmin/../js/notifications.js"></script> <script type="text/javascript" src="/1541a/padmin/../js/helpAccess.js"></script> <script type="text/javascript" src="/1541a/padmin/../padmin/../js/jquery/plugins/jquery.flot.js"></script> Link to comment Share on other sites More sharing options...
Vilas Posted July 13, 2013 Author Share Posted July 13, 2013 Hello Vekia, Thanks for details. But which file should I have to modify? Which file exactly? Regards Link to comment Share on other sites More sharing options...
vekia Posted July 13, 2013 Share Posted July 13, 2013 ADMIN_DIR/themes/default/template/controllers/home/content.tpl but the code somewhere there. it's not a solution but workaround (you said that other back office pages works well for you) Link to comment Share on other sites More sharing options...
Vilas Posted July 13, 2013 Author Share Posted July 13, 2013 Yes other backoffice pages are loading fine. Only when we login then dashboard appears that only not looking fine. Thanks let me try your solution. Regards Link to comment Share on other sites More sharing options...
Vilas Posted July 13, 2013 Author Share Posted July 13, 2013 Such text is not there in that file. Thanks Link to comment Share on other sites More sharing options...
vekia Posted July 13, 2013 Share Posted July 13, 2013 hello but you have to add it there (the code that i pasted above) Link to comment Share on other sites More sharing options...
Vilas Posted July 13, 2013 Author Share Posted July 13, 2013 Dear Vekia, Thanks for your kind support. One of my friend, razaro has solved this issue. As per him he removed Condensed stats for the Back Office homepage module for my site & then everything about that dashboard become fine.. Thanks to you & to him also Link to comment Share on other sites More sharing options...
vekia Posted July 13, 2013 Share Posted July 13, 2013 hello! very nice to hear that it works now for you. just one question: so the problem was with the stats module you mentioned above? you just turn it off and everything works fine? Link to comment Share on other sites More sharing options...
razaro Posted July 13, 2013 Share Posted July 13, 2013 Not sure if this is same module but it is not compatible with 1.5 check https://github.com/barthuttinga/prestashop-1.3/blob/master/modules/statshome/statshome.php Line include_once(dirname(__FILE__).'/../..'.$this->_adminPath.'/tabs/AdminStats.php');[/code was causing error. Link to comment Share on other sites More sharing options...
Madridman Posted July 30, 2013 Share Posted July 30, 2013 (edited) Vilas! Thank you so much for sharing solution! Work like a charm! Edited July 30, 2013 by Madridman (see edit history) Link to comment Share on other sites More sharing options...
Vilas Posted July 31, 2013 Author Share Posted July 31, 2013 Madridman I am not expert... Everything did by Razaro... Thanks to him & also to Vekia Thanks Link to comment Share on other sites More sharing options...
pob13 Posted October 11, 2013 Share Posted October 11, 2013 Just thought I'd say thank you for the solution to this, as I was having the same problem. Disabling the condensed stats module fixed it for me too Link to comment Share on other sites More sharing options...
Darius Webdevelopers Posted December 12, 2013 Share Posted December 12, 2013 Dear Vekia, Thanks for your kind support. One of my friend, razaro has solved this issue. As per him he removed Condensed stats for the Back Office homepage module for my site & then everything about that dashboard become fine.. Thanks to you & to him also Thanks. It working for me too. Just disabled Condensed stats for the Back Office homepage Link to comment Share on other sites More sharing options...
imms12 Posted April 6, 2016 Share Posted April 6, 2016 Hey Vekia, My dashboard stats are not being customized anymore. I am unable to see data for a specific date. Can you please help me. I am using prestashop 1.6.1.4 Thanks in anticipation. Link to comment Share on other sites More sharing options...
imms12 Posted April 8, 2016 Share Posted April 8, 2016 Can I know who do you guys help??? Do I have to be a paid member to get help???????? Please someone let me know this. Link to comment Share on other sites More sharing options...
Recommended Posts