Jump to content

Moved store now 2 problems


suehami

Recommended Posts

Hi

Thank you for taking the time to read my question.

I recently moved my store to a new server and have found 2 issues that I think may be related.

 

Firstly if I enter the URL

www.layella.com I get the maintenance page (I have checked all the possible solutions for this after asking previously)

However if I enter www.layella.com/index.php or www.layella.com/en I get the shop as I expect. So it's not redirecting properly.

 

The second issue is that when I try to add to cart I get this error:

Impossible to add the product to the cart.
textStatus: 'parsererror'
errorThrown: 'SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data'
responseText:

 

With the response text being the under maintenance page.

 

I'm stuck as to where to check next.

 

Any ideas and help would be gratefully received.

 

Thanks

Sue

Link to comment
Share on other sites

In case anyone comes across this and needs an answer.

The issue is with my server picking up the index.html file as the main default home page. I renamed the file and the site is working fine now, both issues were solved. Of course I'm going to have to find a more permanent fix as this means changing the file name back again any time I want to put the store into maintenance mode.

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