Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

problems of adding category


susan123

Recommended Posts

Posted

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.

Posted
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?

Posted
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?

Posted

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 >

Posted
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

Posted

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 >

Posted
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> ?

Posted

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 >

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...