Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Clearing Catalog


Theodorb

Recommended Posts

Using phpMyAdmin I deleted all categories, category_descriptions, Products, Product_Descriptions, Product_to_Categories

 

Now when I try and add a category in admin/category.php the categories do not show up, I check in the category table they are there.

 

What have I screwed up?

 

Any Help would be greatly appreicated.

 

Thank You

Theo

Share your knowlege and you learn even more !

Link to comment
Share on other sites

I cannot add/modify categories from the admin section

the only way i got it to add a category is by going

with phpMyAdmin, which isn't exacly what i want to

do once i get this in production.

 

any idea why it's that way ? i do not see errors

in apache error_log and access_log, no

problems in mysqld_log

Link to comment
Share on other sites

I also have this problem with the adding and edditing of both products and categories. I have tried the same snapshot on a different server and it works fine, but on the server i need to install I am having problems.

 

It must have something to do with the php apache mysql set up but I have compared the two and can see nothing obvious. I have seen a few people with this problem so we are either all being very stupid or there is a bonofido problem that needs sorting.

 

The only thing that confuses me is that i am only using php 4.1.2, so not particularly new and I would assume that there are a fair few people already using this version of PHP.

 

Is there anyone out ther who knows what is happening here and to solve it.

 

Thanks in advance

Link to comment
Share on other sites

I just found the solution

 

i am using redhat 7.3, but other distributions may have

the same problem too.

 

The problem that i found was located in php.ini

where you need to enable file upload

 

;;;;;;;;;;;;;;;;

; File Uploads ;

;;;;;;;;;;;;;;;;

 

; Whether to allow HTTP file uploads.

file_uploads = On

 

 

With php configured this way everything else should work fine :)

Link to comment
Share on other sites

The problem that i found was located in php.ini

where you need to enable file upload

 

;;;;;;;;;;;;;;;;

; File Uploads ;

;;;;;;;;;;;;;;;;

 

; Whether to allow HTTP file uploads.

file_uploads = On

 

 

With php configured this way everything else should work fine :)

 

I have already enabled file_uploads, but still have problem in editting/adding catagories/product, it seems that mysql can not accept the new data, only blank added :?: :?: :?:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...