aquamarine Posted March 26, 2010 Share Posted March 26, 2010 I'm having a problem when i click on Parent Category>>Product or Parent Category>>Subcategory>>Product once and awhile I get a blank product page with the Left hand column blocks missing. I used firebug and I see this error "tb_pathToImage is not defined". It's connected to the "thickbox" somehow. Can someone tell me how to fix it?I don't know how this happened.If someone can give me a reply as soon as possible, that would be really cool.Thanks************UPDATE**************Products Category v1.2.1 was the cause of the error. This module overall has slowed down my query calls. very buggy. From what I saw the "random" function has been causing havok on the db. Anyway, as soon as I disabled it everything has shown up. Link to comment Share on other sites More sharing options...
rocky Posted March 27, 2010 Share Posted March 27, 2010 This happens when "thickbox-modified.js" is included on a page, but "thickbox.tpl" isn't included like it should be. I'd need to have a look at your site to help more. Link to comment Share on other sites More sharing options...
aquamarine Posted March 27, 2010 Author Share Posted March 27, 2010 rocky:can you PM me your IP address? I disabled the site to the viewing public. I will put your IP address in the back panel so you can take a look.Thanks,Al Link to comment Share on other sites More sharing options...
aquamarine Posted March 29, 2010 Author Share Posted March 29, 2010 I thought i was solved, but apparently not. There is definitely a problem with thickbox-modified.js and thickbox.css. Parsing errors.When I click on my Main Category then I click into one of the products, then there is only the left blocks that show. Everything else is gone. This only happens when I call it from the Main category only not the subcategories.So Main Category >>Product>> Empty page. with the errors Webpage error detailsMessage: 'tb_pathToImage' is undefinedLine: 14Char: 231Code: 0URI: http://fougy.com/store/js/jquery/thickbox-modified.jsI thought it was solved yesterday, but there is definately some parsing errors happening here.thanx Link to comment Share on other sites More sharing options...
rocky Posted March 29, 2010 Share Posted March 29, 2010 I can't reproduce the problem. I tried clicking on a featured release and click on Vinyl, then a product. Both ways, there is no Javascript error in IE8. Link to comment Share on other sites More sharing options...
aquamarine Posted March 30, 2010 Author Share Posted March 30, 2010 yes.. well i fixed it.. *look at first post* I forgot to add "UPDATE". I removed productcategory module and the error was gone. I think there is some javascript conflict going on. When you visited my page, I already removed it. All good now!Thank you rocky for your effort! Link to comment Share on other sites More sharing options...
deech123 Posted October 26, 2010 Share Posted October 26, 2010 I have the same error on some of my products.and strange enough deleting the productcategory module did the trick.only I found this so usefull.any idea guys what can cause this problem?and yes it happens only when you do this :start at your home pageclick on one categorythen you get in the middle products.click on it and you get the errors.when you do this: click on the first categorythen choose a category under this category (level 2) where the same product can be found, then just click the product no problem at ???it seems the problem is in the fact you start from the first level category that is showing all products in this category.regardsDeech Link to comment Share on other sites More sharing options...
SuperDuper Posted December 4, 2010 Share Posted December 4, 2010 Hello,I also have this problem: Message: ‘tb_pathToImage’ is undefined Line: 14 Char: 231 Code: 0 URI: http://.............../js/jquery/thickbox-modified.js However, how can you fix it??I dont understand the actual process you done.Please suggest, thank you. Link to comment Share on other sites More sharing options...
mediatube Posted January 24, 2011 Share Posted January 24, 2011 Hi,just remove following lines in your header.php $css_files[__PS_BASE_URI__.'css/thickbox.css'] ='screen'; $js_files[] = __PS_BASE_URI__.'js/jquery/thickbox-modified.js'; You dont need the thickbox on all webpages, only on your productpage.Greetings Link to comment Share on other sites More sharing options...
afusco Posted February 9, 2011 Share Posted February 9, 2011 I have this same issue, however if I edit HEADER.PHP I do not see any references to THICKBOX.HELP!The site has been functional for the past year. This issue first occured today.Thank you Link to comment Share on other sites More sharing options...
afusco Posted February 9, 2011 Share Posted February 9, 2011 I have this same issue, however if I edit HEADER.PHP I do not see any references to THICKBOX.HELP!The site has been functional for the past year. This issue first occured today. Most of my product detail pages have this error.This is a link to my site. http://www.hhof.com:9880/cyberstoreThank you Link to comment Share on other sites More sharing options...
afusco Posted February 10, 2011 Share Posted February 10, 2011 I have this same issue, however if I edit HEADER.PHP I do not see any references to THICKBOX.HELP!The site has been functional for the past year. This issue first occured today. Most of my product detail pages have this error.This is a link to my site. http://www.hhof.com:9880/cyberstoreThank you ***** UPDATE 10-Feb-2011*****hello all,IT WORKS!as described in the first post on this page, I also de-activated the Product category module and it solved my issue.Thank you et a bientot! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now