cancel
Showing results for 
Search instead for 
Did you mean: 

Not update any data at backend

SOLVED

Not update any data at backend

Hi

Suddenly (it was working until yesterday) something it's wrong at backend, and I can't update any record. I can't update a promo, a product... nothing. I've rebooted the server, but nothing change. For example, if I try to update a promo, I can find this error message at server's log (not at Magento log):

PHP Fatal error:  Call to a member function setId() on boolean in ...

app/code/core/Mage/Adminhtml/controllers/Promo/QuoteController.php on line 227, referer: https://xxxxx/index.php/xxxxxadminxxxx/promo_quote/edit/id/4/key/52479d88cca05f128445e5734238f7e6
I've cleaned caches, sessions, ... nothing has changed.
Could you help me, please?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Not update any data at backend

The bug were 2 lines in htaccess file:

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)/$ /$1 [L,R=301]

 

If you comment it, backend works ok

View solution in original post

1 REPLY 1

Re: Not update any data at backend

The bug were 2 lines in htaccess file:

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)/$ /$1 [L,R=301]

 

If you comment it, backend works ok