Magento Forum

   
Admin is completely hosed
 
ebeyrent
Jr. Member
 
Total Posts:  7
Joined:  2008-10-22
 

I upgraded from 1.1.6 to 1.1.7 and now all of the javascript is broken.  The entire backend is completely unusable.  Nothing works.

Calendar is not defined
[Break on this error] Calendar._DN = ["Sunday”,"Monday”,"Tuesday”,"Wednesday”,"Thursday”,"Friday","Sat…
dashboard (line 45)
Translate is not defined
[Break on this error] <script type="text/javascript">var Translator = new Translate({"Please select an…
dashboard (line 39)
Fieldset is not defined
[Break on this error] Fieldset.addToPrefix(2);
dashboard (line 36)
Event.observe is not a function
[Break on this error] Event.observe(window, ‘load’, function() {
dashboard (line 106)
Ajax is not defined
[Break on this error] new Ajax.Autocompleter(
dashboard (line 153)
$ is not defined
[Break on this error] <script type="text/javascript">$(’page-help-link’).target = ‘magento_page_he…
dashboard (line 435)
varienGrid is not defined
[Break on this error] lastOrdersGridJsObject = new varienGrid(’lastOrdersGrid’, ‘http://erich.odin…
dashboard (line 552)
varienGrid is not defined
[Break on this error] lastSearchGridJsObject = new varienGrid(’lastSearchGrid’, ‘http://erich.odin…
dashboard (line 582)
varienGrid is not defined
[Break on this error] topSearchGridJsObject = new varienGrid(’topSearchGrid’, ‘http://erich.odin.c…
dashboard (line 612)
varienTabs is not defined
[Break on this error] diagram_tabJsTabs = new varienTabs(’diagram_tab’, ‘diagram_tab_content’, ‘di…
dashboard (line 661)
varienGrid is not defined
[Break on this error] productsOrderedGridJsObject = new varienGrid(’productsOrderedGrid’, ‘http://…
dashboard (line 718)
varienTabs is not defined
[Break on this error] grid_tabJsTabs = new varienTabs(’grid_tab’, ‘grid_tab_content’, ‘grid_tab_re…
dashboard (line 746)
$ is not defined
[Break on this error] $(’footer_bug_tracking’).target = ‘Varien_External’;
dashboard (line 766)
Event.observe is not a function
[Break on this error] Event.observe(window, ‘load’, function() {

 
Magento Community Magento Community
Magento Community
Magento Community
 
ebeyrent
Jr. Member
 
Total Posts:  7
Joined:  2008-10-22
 

Fixed it - looks like bad permissions on /js/index.php

 
Magento Community Magento Community
Magento Community
Magento Community
 
Letsnurture
Jr. Member
 
Total Posts:  4
Joined:  2008-12-24
 

Thanks guy..

I just came to face the same scenario.  Magento’s admin wasn’t working and raised javascript errors like

1) varien form is not defined,
2) varien tab is not defined ....

It screwed me up and I uninstall magento and reinstall it again but I got again the same error in admin panel.

Then I set permission to “js” folder and everything likes fine now.

Web-Farmer

 
Magento Community Magento Community
Magento Community
Magento Community
 
Hucks
Sr. Member
 
Total Posts:  150
Joined:  2009-02-28
 
Letsnurture - 03 July 2009 09:13 PM

Thanks guy..

I just came to face the same scenario.  Magento’s admin wasn’t working and raised javascript errors like

1) varien form is not defined,
2) varien tab is not defined ....

It screwed me up and I uninstall magento and reinstall it again but I got again the same error in admin panel.

Then I set permission to “js” folder and everything likes fine now.

Web-Farmer

magento has 25 js folders
set what js folder/s to which permissions ??

best regards hucks Denmark

 
Magento Community Magento Community
Magento Community
Magento Community
 
Letsnurture
Jr. Member
 
Total Posts:  4
Joined:  2008-12-24
 

Hi Hucks,

You can set “777” permission to “mangeto_installation_directory/js” folder and it would work fine.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Hucks
Sr. Member
 
Total Posts:  150
Joined:  2009-02-28
 

Hi Hucks,

You can set “777” permission to “mangeto_installation_directory/js” folder and it would work fine.

Nope if i set to 777 asap i got internal server error.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top