Jump to content

cloned PS is working wrong (double save or not save)


E.D.

Recommended Posts

I cloned a prestashop (new server).

 

And the cloned PS is working wrong.

I try modify an product:

- Modify the product description

- Click the Save

- 404 error (the url is good)

- Click the browser's back button

- Click the Save button again

- And now saved properly.

 

But (example) at the Statuses not working. (modify->save->404->back->save->404->back->save->404->etc)

 

But most of these things work.

 

PrestaShop™ 1.5.2.0

Token is not enabled. (but nonetheless the url: http://****.**/admin271/index.php?controller=AdminPreferences&token=aa3a229d24147e57e91522fed5cb0295)

Link to comment
Share on other sites

The (prestashop) domain is working as an alias.

Could this be the problem?

 

xxxx.hu = main domain (other webpage)

****.hu = alias domain (prestashop)

 

htaccess in the xxxx.hu (main domain) root folder:

#----------------------------------------------
#-----------------****.hu----------------
#----------------------------------------------
# Force leave www
RewriteCond %{HTTP_HOST} ^www.******.hu$ [NC]
RewriteRule ^(.*)$ http://******.hu/$1 [R=301,L]
# Fix missing trailing slashes.
RewriteCond %{HTTP_HOST} *****.hu$ [NC]
RewriteCond %{DOCUMENT_ROOT}/lb%{REQUEST_URI}/ -d
RewriteRule [^/]$ %{REQUEST_URI}/ [R=301,L]
# Rewrite sub domains.
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteCond %{HTTP_HOST} ******.hu$ [NC]
RewriteRule ^(.*)$ /lb/$1 [QSA,L]

 

The error:

(xxxx.hu != ****.hu)

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