Jump to content

Existing products disappear when saved


Recommended Posts

After I edit a product I chose Save and Stay.  However it does not stay.  It takes me to the main product list in the back office.  Then when I attempt to search for the product it does not display in the search.  The page still exists for the product though.  It just doesn't show up in search or the store's product list.  So I went back into the product and tried to re-save it.  I then relieve two errors:

  1. Products must be in at least one category.
  2. This product must be in the default category.

But categories have been chosen for the product and are checked. I clicked on the dropdown for the default category and clicked save-stay and it stayed after saving.  Then it shows back up in the search.

 

What's going on?

Link to comment
Share on other sites

  • 2 weeks later...

I've been doing more troubleshooting.  I think it has something to do with the tabs. 

 

Here's the information I have so far.

 

The only repeating error I see in the cpanel is for tinymice about a missing image.

 

I'm testing this on my local server too. I have a javascript error on the page only in Local server.  I don't have any of these javascript errors on the live site.

 

TypeError: undefined is not a function
In localhost admin directory: index.php?controller=AdminProducts&id_product=381&updateproduct&token=db9cc925382ce7b08431a359ca19ac55:1119:24
In localhost admin directory: index.php?controller=AdminProducts&id_product=381&updateproduct&token=db9cc925382ce7b08431a359ca19ac55:1119:24
In localhost main directory: js/jquery/jquery-1.11.0.min.js:3:8066 n.event.dispatch()
In localhost main directory: js/jquery/jquery-1.11.0.min.js:3:4774 r.handle()

 

When we click save/stay the page sometimes does not stay and takes us to the product list.  When this happens the product is not searchable. It is still listed in the category lists.

 

In the Database the only difference I see is that the column "index" is set to 0 when before it was 1.

 

We sometimes get a pop up error that says some Tabs have not been loaded correctly.  If we click cancel then try to save we recieve an error stating link_rewrite is required at least in English.  If we click OK then try to save we receive two errors: Products must be in at least one category. and This product must be in the default category.

 

The links are in English.  The products already have categories selected.
 

The only way I've been able to force it to save is by hitting save and stay a few times

Edited by n13design (see edit history)
Link to comment
Share on other sites

I selected yes to disable and the issue persists.  We have hostgator.  When I logged into the WHM it offered on the start screen to enable or not ModSecurity.  I selected no thanks.  But I can see the ModSecurity and ModSecurity Tools in the options.  I don't see an enable/disable option exactly.  I'm not sure if I can confirm it's turned off.

 

EDIT:  I found the list of features and I can confirm it's not selected but I can still access the tool and see current data.  Not sure if it's completely off.

 

QUESTION:

1. In the ModSecurity section of the WHM it lists some attacks.  If ModSecurity was stopping this then shouldn't I keep it active?  I see PHPMyadmin script attacks and PHP attacks

 

2. If ModSecurity was the issue shouldn't it work on my local host?

Edited by n13design (see edit history)
Link to comment
Share on other sites

I selected yes to disable and the issue persists.  We have hostgator.  When I logged into the WHM it offered on the start screen to enable or not ModSecurity.  I selected no thanks.  But I can see the ModSecurity and ModSecurity Tools in the options.  I don't see an enable/disable option exactly.  I'm not sure if I can confirm it's turned off.

 

EDIT:  I found the list of features and I can confirm it's not selected but I can still access the tool and see current data.  Not sure if it's completely off.

 

QUESTION:

1. In the ModSecurity section of the WHM it lists some attacks.  If ModSecurity was stopping this then shouldn't I keep it active?  I see PHPMyadmin script attacks and PHP attacks

 

2. If ModSecurity was the issue shouldn't it work on my local host?

 

what is your exact ps version, I agree with you one item 2, if also on localhost then sounds like native issue.  with ps version possible we can find fix in forge

Link to comment
Share on other sites

We are using 1.6.0.6.  I noticed a fix for the tab loading in the latest release.  Unfortunately the site has been seriously customized and upgrading will not be easy.  I'm working on creating the site properly.  The previous developer did not use overrides and instead directly edited the PS files.

Link to comment
Share on other sites

We are using 1.6.0.6.  I noticed a fix for the tab loading in the latest release.  Unfortunately the site has been seriously customized and upgrading will not be easy.  I'm working on creating the site properly.  The previous developer did not use overrides and instead directly edited the PS files.

ave maria pues (OMG in ColOmbian Spanish), sorry about your version.  it's a mess...upgrading even without native changes can be very challenging.  If you can find specific fixes for 1606 then you can apply.  Or you can hire 'hot shot' to fix, that is what I would do in job offers.  There are some 'very' excellent developers that work for very reasonable fee.  Note: I don't do all the work required for ps, sometimes I hire it out.  My understanding is that next release is going to help address PrestaShop playing nicely with mod_expires which is all the rage now for hosting companies, simply because of all the hacking going on.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...