Hi there,
I was wondering if anybody has some advice on how to resolve some script errors that appear on our site when I uses .htaccess to redirect our site to a domain name with the www prefix.
We recently moved to a new server and upgraded to the most recent version of Zencart, and everything went smoothly, but we created the site with a domain name that didn't include the www prefix. Our SSL certificate requires the prefix, and after some research I realized an easy fix would be to use the .htaccess file to redirect the the site to display at all times with www. Bingo! Super easy.
But then of course, it wasn't that simple. Now this error appears on all our product pages:
! Error loading language file
http://oursite.com/includes/template...iew/lang/en.js
It appears this is the slider used on that came with our template and is used throughout the site, and for some reason it can no longer find the language file. I've tried to find references to that language file through the Developer's Tool Kit, but no luck.
I've poked around in the jquery.yoxview-2.21.js file to find the path for the language file, but I don't really understand what I'm looking at:
Code:
lang: "en", // The language for texts. The relevant language file should exist in the lang folder.
langFolder: yoxviewPath + "lang/",
Is there any way to edit this to include the www prefix? Or maybe should I look in the database with phpmyadmin?
Bookmarks