Author Topic: javascript errors missing defines  (Read 1078 times)

gobiggs

  • Beginner
  • *
  • Posts: 1
javascript errors missing defines
« on: February 05, 2011, 18:53:29 pm »
I had Joomla 1.5.15 installed with VirtualMart 1.1.2.  I did not have any current items in the store and wanted to update to current versions of both Joomla & VM.  Since there was no real 'stuff' I decided to uninstall everything and reinstall from scratch.  This all went well, or so I thought!  I used the sample data for VM.  When I go to the VM configuration I get java errors of undefined variables.  I must be missing a file somewhere.  I have listed just a few of the errors below as well as site info.  Any help would be appreciated.

VirtueMart 1.1.6
Joomla! Version:  Joomla! 1.5.22 Stable [ senu takaa ama woi ] 04-November-2010 18:00 GMT 

Database Collation:  latin1_swedish_ci 
PHP Version:  5.2.14 
Web Server:  Apache/2.2.16 (Unix) mod_ssl/2.2.16 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 
Web Server to PHP interface:  cgi

Error: 'Ext' is undefined
  <script type="text/javascript">Ext.BLANK_IMAGE_URL = "http://www.militarygiftsonline.com/components/com_virtuemart/js/extjs2/images/default/s.gif";<

Error: 'WIDTH' is undefined
         <td class="iconcell"><span onmouseover="Tip( 'Check to show prices. If using catalogue functionality, some don\'t want prices to appear on pages.' ,WIDTH, -350 ,TITLE,'Tip!' );" onmouseout="UnTip()" ><img src="http://www.militarygiftsonline.com/images/M_images/con_info.png" alt="" align="top" border="0" />&nbsp;</span></td>

Error: Object expected
         <td class="iconcell"><span onmouseover="Tip( 'Check to show prices. If using catalogue functionality, some don\'t want prices to appear on pages.' ,WIDTH, -350 ,TITLE,'Tip!' );" onmouseout="UnTip()" ><img src="http://www.militarygiftsonline.com/images/M_images/con_info.png" alt="" align="top" border="0" />&nbsp;</span></td>

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27734
  • Always on vacation
    • Jenkin Hill Internet
Re: javascript errors missing defines
« Reply #1 on: February 05, 2011, 20:48:37 pm »
I'd use ftp to replace all files in the JS directory at /components/com_virtuemart/js
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.8.0 10314 on Joomla 3.9.16 PHP 7.0.33