stevemills Posted February 10, 2010 Share Posted February 10, 2010 Under each image on the front page of my store, I have this link: http://prod_.html/?{VAL_PRODUCT_ID, though the images correctly link to their item pages. I must have caused this myself with some edit attempt in the skin (6IXGreen), but had not noticed it until today. It may have happened a week or so ago when I was trying to add Google Adsense (but gave up). Which file am I looking for to fix this? My store is here: http://www.pencilartist.com/cubecart/index.php (artistic nudity is involved.... don't look if you are offended by this). Quote Link to comment Share on other sites More sharing options...
leeofaccy Posted February 12, 2010 Share Posted February 12, 2010 I've just had a look on your site and everything seems fine from here. Quote Link to comment Share on other sites More sharing options...
stevemills Posted February 12, 2010 Author Share Posted February 12, 2010 Are you saying the links under the photos (not on the photos) work for you? They don't for me. I have no trouble once I'm off the front page. Quote Link to comment Share on other sites More sharing options...
Robsta Posted February 13, 2010 Share Posted February 13, 2010 Can you post the details of your global.inc.php, you can remove the user account details. Actually, the images look fine to me. Quote Link to comment Share on other sites More sharing options...
stevemills Posted February 13, 2010 Author Share Posted February 13, 2010 Can you post the details of your global.inc.php, you can remove the user account details. Actually, the images look fine to me. It's not the image link, it's the textual link below each one. I assume you mean the global.inc.php in the Includes directory? <?php $glob['adminFile'] = 'admin.php'; $glob['adminFolder'] = 'admin'; $glob['dbdatabase'] = '<redacted>; $glob['dbhost'] = 'localhost'; $glob['dbpassword'] = '<redacted>'; $glob['dbprefix'] = ''; $glob['dbusername'] = '<redacted>'; $glob['encoder'] = 'ioncube'; $glob['installed'] = '1'; $glob['license_key'] = '<redacted>'; $glob['rootDir'] = '/home/<redacted>/public_html/cubecart'; $glob['rootRel'] = '/cubecart/'; $glob['storeURL'] = 'http://www.pencilartist.com/cubecart'; ?> Quote Link to comment Share on other sites More sharing options...
Guest cherubix Posted February 16, 2010 Share Posted February 16, 2010 removed Quote Link to comment Share on other sites More sharing options...
leeofaccy Posted February 17, 2010 Share Posted February 17, 2010 Hi I think I might have found your problem, fingers crossed! You might have a slightly different path if you are using a different skin, but your seem to be missing a } in your index.tpl found at skins/YOUR_SKIN/styleTemplates/content/index.tpl I have highlighted in bold where I think you should check. <!-- BEGIN: repeat_prods --> <div class="latestProds"> <a href="index.php?_a=viewProd&productId=[b]{VAL_PRODUCT_ID}[/b]"><img class="latest_img"src="{VAL_IMG_SRC}" alt="{VAL_PRODUCT_NAME}" border="0" title="{VAL_PRODUCT_NAME}" ></a> <br /> <a href="index.php?_a=viewProd&productId=[b]{VAL_PRODUCT_ID}[/b]" class="txtDefault">{VAL_PRODUCT_NAME}</a> <br /> <span class="txtPrice">{TXT_PRICE}</span> <span class="txtSale">{TXT_SALE_PRICE}</span> </div> <!-- END: repeat_prods --> Hope that sorts it ps. Sorry the bold highlighting hasnt shown in the code, it is between the tags around {VAL_PRODUCT_ID} Quote Link to comment Share on other sites More sharing options...
stevemills Posted February 17, 2010 Author Share Posted February 17, 2010 Excellent, Leo, that was it! And it's not something I changed, this flaw must have been there from the start. I feel so much better now! Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.