Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I must be overlookin somethin! Cannot remove boxes


alternative pope

Recommended Posts

OK, I've set all file permissions on folders to 0777 & files to 0644, got my admin page & default oscommerce store site.. But when I go to the php code in the column.left file & try to cancel/hide the manufacturers box, nothing happens. I put the 2 dashes in the code like so.. // include(DIR_WS_BOXES . 'manufacturers.php'); & yes I did save it.

 

I've put in the dashes via the admin site & in the saved php file in my Dreamweaver software but still nothing happens! Ifv anyones got any suggestions no matter how small, I will be v grateful! I'm seriously goin nuts over this.

:blink:

Link to comment
Share on other sites

The code actually looks like this (most likely):

 

  if ((USE_CACHE == 'true') && empty($SID)) {
echo tep_cache_manufacturers_box();
 } else {
include(DIR_WS_BOXES . 'manufacturers.php');
 }

It may still be grabbing data from the cache, if you have that enabled.

 

Try setting "Use Cache" to false in your Admin

 

Save it.

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 >

Link to comment
Share on other sites

The code actually looks like this (most likely):

 

  if ((USE_CACHE == 'true') && empty($SID)) {
echo tep_cache_manufacturers_box();
 } else {
include(DIR_WS_BOXES . 'manufacturers.php');
 }

It may still be grabbing data from the cache, if you have that enabled.

 

Try setting "Use Cache" to false in your Admin

 

Save it.

 

Thanx Jim,

 

I tried that but still nothing happened. I got a feeling that my problems got nothin 2 do with the code.

Link to comment
Share on other sites

Or if you are using a template the code might be in includes/header.php

Link to comment
Share on other sites

  • 2 weeks later...

Have you tried putting // in front of ALL the lines of code I posted?

:unsure:

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 >

Link to comment
Share on other sites

Have you tried putting // in front of ALL the lines of code I posted?

:unsure:

 

Thanx again Jim.

 

I actually can't make any changes at the moment cause I foolishly changed sum file permissions from 755 to 777 in a fit of desperation (& now I hav 2 find them & change em back! cause the 'save' button doesn't appear underneath the php code box in oscommerce admin) but I will try that as soon as I can get back 2 editing the code! Just wanted u 2 know I hav read & acknowledged ur last comment.

Link to comment
Share on other sites

Just to throw a spanner in the works it is recommended not to use the file manager in the admin area of your shop.

 

I'd download it using an ftp client, edit it, upload back to same place.

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 ======>>>>>.

Link to comment
Share on other sites

Just to throw a spanner in the works it is recommended not to use the file manager in the admin area of your shop.

Personally, I'd liken it to looking for a gas leak by candlelight....

:o

 

:lol:

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 >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...