susan123 Posted November 19, 2007 Posted November 19, 2007 When I add categories, the "//" appears in the page, it is category image, no matter i add image or leave it blank, the problems appears. i want to delete it, but dont know how, tried many php files already. such as the categories in the left column is: *** *** *** there are products in each category. When I click the Category name in the left column, i can see in the right page : // // categories // then the pictures under Now my question is I dont know how to delete the "// " , have u ever met this problems? expecting answers . Thanks in advance.
Guest Posted November 19, 2007 Posted November 19, 2007 When I add categories, the "//" appears in the page, it is category image, no matter i add image or leave it blank, the problems appears. i want to delete it, but dont know how, tried many php files already. such as the categories in the left column is: *** *** *** there are products in each category. When I click the Category name in the left column, i can see in the right page : // // categories // then the pictures under Now my question is I dont know how to delete the "// " , have u ever met this problems? expecting answers . Thanks in advance. Could you post your url or put it in your profile?
susan123 Posted November 19, 2007 Author Posted November 19, 2007 Could you post your url or put it in your profile? Thanks for your answer, the problem webpage is http://artall21.com/index.php?cPath=108, you can see // , i thought it is in categories.php, but not found, can u help me on this?? Thanks again. maybe it is because the following? if ($categories_image = new upload('categories_image', DIR_FS_CATALOG_IMAGES)) { tep_db_query("update " . TABLE_CATEGORIES . " set categories_image = '" . tep_db_input($categories_image->filename) . "' where categories_id = '" . (int)$categories_id . "'"); } if is, how to change? are u offline now?
germ Posted November 19, 2007 Posted November 19, 2007 It's almost impossible to tell where the extra // are coming from because you have disabled the <right-click>. That won't stop image theft..... But it is a severe aggrevation for anyone trying to help you. :-" If you're worried about image theft, you need to use a watermark. Disabling the <right-click> only stops those who don't know how to get images off the page in the first place... If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
susan123 Posted November 20, 2007 Author Posted November 20, 2007 It's almost impossible to tell where the extra // are coming from because you have disabled the <right-click>. That won't stop image theft..... But it is a severe aggrevation for anyone trying to help you. :-" If you're worried about image theft, you need to use a watermark. Disabling the <right-click> only stops those who don't know how to get images off the page in the first place... Yet I dont know how to delete right-click
germ Posted November 20, 2007 Posted November 20, 2007 Delete this from the <HEAD> section: <script language="JavaScript"> document.oncontextmenu=new Function("event.returnValue=false;"); document.onselectstart=new Function("event.returnValue=false;"); </script> If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
susan123 Posted November 20, 2007 Author Posted November 20, 2007 Delete this from the <HEAD> section: <script language="JavaScript"> document.oncontextmenu=new Function("event.returnValue=false;"); document.onselectstart=new Function("event.returnValue=false;"); </script> Where is the <HEAD> ?
germ Posted November 20, 2007 Posted November 20, 2007 Close to the top of the page, just above the <BODY> If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
susan123 Posted November 20, 2007 Author Posted November 20, 2007 Close to the top of the page, just above the <BODY> i mean in which php file
susan123 Posted November 20, 2007 Author Posted November 20, 2007 Hi, Jim Thanks anyway, I just now according to http://www.oscommerce.info/kb/osCommerce/G..._and_Tricks/257 and I downloaded catalog/includes/index.php, and change a little in it, then uploade, it appears wrong, and then I uploaded the former downloaded index.php, the problems solved strangely . So it fixed by itself. Thanks.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.