Magento News

 

JavaScript errors with Fooman Speedster (Magento 1.3.2.4)

by EricO (Posted Thu, 22 Apr 2010 02:21:36 GMT)
Today we set up Fooman Speedster and started testing it in a development environment. We set it up according to the instructions at http://www.magentocommerce.com/magento- … speedster/, but we’re experiencing some JavaScript errors with it when we get to our site’s shopping cart page.

Using Firebug in Firefox, on its Net tab, one of the first things we noticed was this error:
GET cookies.js 400 Bad Request

In Firebug’s Console tab, there are the following JavaScript errors:
Translate is not defined

decorateTable is not defined

Translate is not defined
Failed to load source for (our web site)

Translate is not defined
Failed to load source for (our web site)/checkout/cart

decorateTable is not defined
Failed to load source for (our web site)/checkout/cart

===================================
Also, when we click the button to place the order, it goes to the 1-page checkout, but it just sits there, and nothing happens with more JavaScript errors (things not defined).

Per the setup instructions, our htaccess settings are as follows:
RewriteBase /
RewriteRule ^(index.php/)?minify/([^/]+)(/.*.(js|css))$ lib/minify/m.php?f=$3&d=$2

Also, our lib/minify/m.php is executable (its permissions are 755), and our var/minifycache directory in our Magento dir has permissions 777.

When viewing the page source of our cart page, we see this line:

What might we be able to do to fix these JavaScript errors?



http://magento-forum.co.uk/viewtopic.php?f=5&t=211#p765

Magento Forum

Possibly Related Posts:


 

Leave a Reply