Guest Posted May 6, 2008 Posted May 6, 2008 Please can someone help me. I currently have version 2.2 of os commerce running my online webshop. i have started adding products to the site, but when you click on an image or see more it does not go to the item to which you click on???? . I have tried to also click on catagories but to no avail. I have tried contacting host but yet again to no avail. any suggestions would be greatly appreciated. many thanks john :blink:
spooks Posted May 6, 2008 Posted May 6, 2008 When you hover over any link you will see the relavent URL appear, as part of that you should have cpath/xx for category and products_id/xx for product. Aflter clicking you should see the same in the browser window. Try turning on cookies. Cheers ;) : Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
Guest Posted May 6, 2008 Posted May 6, 2008 the first thing you could fix is this. This is taken from your source code </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <script type="text/JavaScript"> <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> </script> <meta name="verify-v1"content="OJYWU4jyaVmoGs4pEmzbSTxPd9LVAM1XQXMdX8vwQ51="/> <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script> <style type="text/css"> <!-- .style1 {font-size: 14px} --> </style> <body onload="MM_preloadImages('../images/header2_03.gif','../images/header2_04.gif','../images/header2_05.gif','../images/header2_06.gif')"> See the 2 <body> tags? OOps. Try putting all of this inside your <head> and </head> tags. <script type="text/JavaScript"> <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> </script> <meta name="verify-v1"content="OJYWU4jyaVmoGs4pEmzbSTxPd9LVAM1XQXMdX8vwQ51="/> <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script> <style type="text/css"> <!-- .style1 {font-size: 14px} --> </style> Than conbine the 2 <body> tags into 1. You could then try changing Use Search Engine Safe URLS to false. Go to your admin then click configuration.
Guest Posted May 6, 2008 Posted May 6, 2008 the first thing you could fix is this. This is taken from your source code </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <script type="text/JavaScript"> <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> </script> <meta name="verify-v1"content="OJYWU4jyaVmoGs4pEmzbSTxPd9LVAM1XQXMdX8vwQ51="/> <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script> <style type="text/css"> <!-- .style1 {font-size: 14px} --> </style> <body onload="MM_preloadImages('../images/header2_03.gif','../images/header2_04.gif','../images/header2_05.gif','../images/header2_06.gif')"> See the 2 <body> tags? OOps. Try putting all of this inside your <head> and </head> tags. <script type="text/JavaScript"> <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> </script> <meta name="verify-v1"content="OJYWU4jyaVmoGs4pEmzbSTxPd9LVAM1XQXMdX8vwQ51="/> <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script> <style type="text/css"> <!-- .style1 {font-size: 14px} --> </style> Than conbine the 2 <body> tags into 1. You could then try changing Use Search Engine Safe URLS to false. Go to your admin then click configuration. Thanks brian i changed engine safe urls and it works fine now .you have saved the day (unlike host :blink: ) Just out of curriosity how long you been using oscommerce as im new to it ,still a lot to master but i must admit it seems great for webshops as you can beat out the middle man with all this help available thanks again John craftyhobbiesuk
Guest Posted May 6, 2008 Posted May 6, 2008 When you hover over any link you will see the relavent URL appear, as part of that you should have cpath/xx for category and products_id/xx for product. Aflter clicking you should see the same in the browser window. Try turning on cookies. Cheers ;) : Thanks for that sam i have sorted it now it was search engine safe urls i have also enabled cookie usage as well thanks again john craftyhobbiesuk
Guest Posted May 6, 2008 Posted May 6, 2008 Your welcome. I've been using osc for about 3 years now. Just a side note yes you can get a lot of help here but not all of your questions will get answered. That is just part of the game. You just have to hang in there. I would still make the other changes I mentioned. If you look at the bottom status bar of ie explorer you will see it says done but with errors. The specific error is this part <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','358','height','112','src','../flash/header','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','../flash/header' ); //end AC code </script> I believe that is in your catalog/includes/header.php file.
♥geoffreywalton Posted May 6, 2008 Posted May 6, 2008 I have clicked on 3 images and they all go where I expected. Have you fixed it? Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
Guest Posted May 6, 2008 Posted May 6, 2008 I have clicked on 3 images and they all go where I expected. Have you fixed it? yes i have thanks alot geoffrey thanks for replying . Do you know of any where on os where i can get help to configure googlecheckout?? thanks john craftyhobbiesuk
Recommended Posts
Archived
This topic is now archived and is closed to further replies.