cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 1.7 admin panel not showing CSS and jQuery

Magento 1.7 admin panel not showing CSS and jQuery

Hi Team,

 

After restore my Magento 1.7 from unzipped backup on Windows 2008 R2 server, I am unable to see Magento admin control panel properly (after login into admin portal). That means CSS and jQuery layouts are not displayed with admin panel. Please find the attached screenshot for the reference.

 

Jege

 

Screen Shot 2017-03-01 at 9.33.47 pm.png

 

 

4 REPLIES 4

Re: Magento 1.7 admin panel not showing CSS and jQuery

Did you try accessing the CSS and JS files to see if they are accessible directly? 

Re: Magento 1.7 admin panel not showing CSS and jQuery

Hi JLHC,

 

Thank you for your reply.

The admin portal source code <link href> tag is pointing to local C:\folder instead the domain name.

It's suppose to be www.abcd.com/js/calendar/calendar-win2k-1.css

What's the step to fix this admin portal's broken links for css and jQuery?

 

Please refer the source code below.

 

<link rel="stylesheet" type="text/css" href="C:\magento\js\calendar/calendar-win2k-1.css" />
<link rel="stylesheet" type="text/css" href="C:\magento\skin\adminhtml\default\default\reset.css" media="all" />
<link rel="stylesheet" type="text/css" href="C:\magento\skin\adminhtml\default\default\boxes.css" media="all" />
<link rel="stylesheet" type="text/css" href="C:\magento\skin\adminhtml\default\default\custom.css" media="all" />
<link rel="stylesheet" type="text/css" href="C:\magento\skin\adminhtml\default\default\xmlconnect/boxes.css" media="all" />
<link rel="stylesheet" type="text/css" href="C:\magento\skin\adminhtml\default\default\css/nuber_scopeviewer.css" media="all" />
<link rel="stylesheet" type="text/css" href="C:\magento\skin\adminhtml\default\default\print.css" media="print" />
<link rel="stylesheet" type="text/css" href="C:\magento\skin\adminhtml\default\default\menu.css" media="screen, projection" />
<script type="text/javascript" src="C:\magento\js\prototype/prototype.js"></script>
<script type="text/javascript" src="C:\magento\js\prototype/window.js"></script>
<script type="text/javascript" src="C:\magento\js\scriptaculous/builder.js"></script>
<script type="text/javascript" src="C:\magento\js\scriptaculous/effects.js"></script>
<script type="text/javascript" src="C:\magento\js\scriptaculous/dragdrop.js"></script>
<script type="text/javascript" src="C:\magento\js\scriptaculous/controls.js"></script>
<script type="text/javascript" src="C:\magento\js\scriptaculous/slider.js"></script>
<script type="text/javascript" src="C:\magento\js\lib/ccard.js"></script>
<script type="text/javascript" src="C:\magento\js\prototype/validation.js"></script>
<script type="text/javascript" src="C:\magento\js\varien/js.js"></script>
<script type="text/javascript" src="C:\magento\js\mage/translate.js"></script>
<script type="text/javascript" src="C:\magento\js\mage/adminhtml/hash.js"></script>
<script type="text/javascript" src="C:\magento\js\mage/adminhtml/events.js"></script>
<script type="text/javascript" src="C:\magento\js\mage/adminhtml/loader.js"></script>
<script type="text/javascript" src="C:\magento\js\mage/adminhtml/grid.js"></script>
<script type="text/javascript" src="C:\magento\js\mage/adminhtml/tabs.js"></script>
<script type="text/javascript" src="C:\magento\js\mage/adminhtml/form.js"></script>
<script type="text/javascript" src="C:\magento\js\mage/adminhtml/accordion.js"></script>
<script type="text/javascript" src="C:\magento\js\mage/adminhtml/tools.js"></script>
<script type="text/javascript" src="C:\magento\js\mage/adminhtml/uploader.js"></script>
<script type="text/javascript" src="C:\magento\js\mage/adminhtml/product.js"></script>
<script type="text/javascript" src="C:\magento\js\calendar/calendar.js"></script>
<script type="text/javascript" src="C:\magento\js\calendar/calendar-setup.js"></script>

Cheers,

Jega

Re: Magento 1.7 admin panel not showing CSS and jQuery

I believe that your Base Skin URL and Base JavaScript URL is pointed to the local C:\folder instead of your domain name. 

 

Normally if your Admin is accessible, it can be updated under System > Configurations > Web

 

In your case as Admin isn't working properly without CSS and JS, you will need to update the core_config_data table in your database. 

 

Once updated, clear all caches and it should load up properly. 

Re: Magento 1.7 admin panel not showing CSS and jQuery

Hi James,

 

Please find the core_config_date table records for Base Skin URL and Base JavaScript URL below.

Screen Shot 2017-03-02 at 7.45.17 pm.png

 

Also, I have deleted the cache files from located under magento folder\var\cache.

Still no change. Smiley Sad

 

Cheers,

Jege