cancel
Showing results for 
Search instead for 
Did you mean: 

Fresh Install on Magento - Issues with Dashboard

Fresh Install on Magento - Issues with Dashboard

HI all,

 

We recently did a fresh install of Magento 1.9.2.1 onto a HostGator VPS server. The install went without a hitch (seemingly) after installing it using php-cli. However, I'm running into a problem now where on the Dashboard, no images are loading and the drop-down menus are not working either (see below or here).

 

I've been searching around online and a lot of people have been pointing to Apache's rewrite rules and the base URLs, both of which check out along with the appropriate permissions (755 and 644 on the appropriate directories and files, respectively). There was also a StackOverflow post that recommended using Firebug to check errors on the page as it's loading up; I've posted the errors below the image for reference. They all seem to be pointing to the JavaScripts but I have no clue as to how to go about resolving them.

 

At this point, I haven't been able to find any other posts on the forums or on the web that could point me in the right direction. Any help in troubleshooting would be greatly appreciated. Thanks!

 

 

 

ReferenceError: Ajax is not defined
js.js (line 302)
ReferenceError: Class is not defined
translate.js (line 26, col 4)
ReferenceError: Class is not defined
events.js (line 26)
ReferenceError: Class is not defined
loader.js (line 26, col 4)
ReferenceError: Class is not defined
grid.js (line 25, col 4)
ReferenceError: Class is not defined
tabs.js (line 25, col 4)
ReferenceError: Class is not defined
form.js (line 25, col 4)
ReferenceError: Class is not defined
accordion.js (line 25, col 4)
TypeError: Event.observe is not a function
tools.js (line 114)
ReferenceError: Class is not defined
product.js (line 28)
TypeError: Fieldset is undefined
/index....562b57/ (line 61, col 4)
TypeError: Translate is not a constructor
/index....562b57/ (line 65, col 25)
ReferenceError: Calendar is not defined
/index....562b57/ (line 71)
ReferenceError: Ajax is not defined
/index....562b57/ (line 159, col 16)
ReferenceError: $ is not defined
/index....562b57/ (line 471)
TypeError: varienGrid is not a constructor
/index....562b57/ (line 645, col 29)
TypeError: varienGrid is not a constructor
/index....562b57/ (line 675, col 29)
TypeError: varienGrid is not a constructor
/index....562b57/ (line 705, col 28)
TypeError: varienTabs is not a constructor
/index....562b57/ (line 754, col 24)
TypeError: varienGrid is not a constructor
/index....562b57/ (line 811, col 34)
TypeError: varienTabs is not a constructor
/index....562b57/ (line 839, col 21)
ReferenceError: $ is not defined
/index....562b57/ (line 859, col 4)
TypeError: Element.addClassName is not a function
/index....562b57/ (line 1)
TypeError: Element.removeClassName is not a function
/index....562b57/ (line 1)

 

5 REPLIES

Re: Fresh Install on Magento - Issues with Dashboard

@TrezOne Have you given proper file and director permissions to your Magento files and folders?

Check following url After You Install Magento: Recommended File System Ownership and Privileges

 

---
Problem Solved Click Accept as Solution!:Magento Community India Forum

Re: Fresh Install on Magento - Issues with Dashboard

@muk_t: Yes, I have checked permissions as stated in my original post. Smiley Happy I also compared the permissions to another Magento set up that works a colleague of mine did a while back and there wasn't anything amiss.

Re: Fresh Install on Magento - Issues with Dashboard

@TrezOne Have you merged js files in your Magento? If you view osurce of your magento copy the complete js file path and try to open in new browser tab. Does the file opens for you?

If you could attache screenshot of browser console that may be helpful

Thanks

---
Problem Solved Click Accept as Solution!:Magento Community India Forum

Re: Fresh Install on Magento - Issues with Dashboard

If you've narrowed it down to a JavaScript issue, try accessing the JS files directly and see if they load for you. 

 

Another point about file permissions is that some servers do require certain directories and files to have the insecure 666 and 777 permissions so you may need to consult with your hosting provider on what is the ideal file permissions in your server. 

James Lee | Moderator • Magento Master
See My Recommended Magento Hosting & Security Tips

Re: Fresh Install on Magento - Issues with Dashboard

i have the same problem. anyone find a solution to this as yet?