Jump to content

Problems Moving Prestashop In Spite Of Following Guides


Recommended Posts

Hi,

I am trying to move Prestashop to a new server; I moved my files and databases to the new server, changed the database connection credentials in settings.inc.php, changed domain ad ssl domain names to the subfolder of localhost that I had previously put my files (localhost because I haven't assigned a domain name for it yet), but I still ony see a blank page when I try to access the index.php or the admin panel. Here is a more detailed list what I tried:

Tried with an unzipped sql file; could not even import the file

Tried to export and import files zipped and gzipped and made the necessary changes under ps_configuraion: redirected to the old server

Changed ps_shop_url in phpmyadmin: blank pages

Tried to make the website offline (maintenance mode), changed the shop URLs from Preferences --> SEO&URLS then export the database: blank pages

Made a clean installation of Prestashop, removed its entire database, uploaded the old database and made the abovementioned changes and lastly uploaded the pictures: it worked. However, this time I cannot add a new product.

File permissions: I've totally overlooked this. After writing all of the above, I realized that file permissions could be the problem ad restarted the process on my local computer. This time I made chmod -R 0777 to the main folder and this time it worked. However, it gave this error when trying to add a new product:

"This field friendly URL is required at least in Turkish" (I typed the name and descriptions. I didn't copy / paste). When I clicked on SEO to manually enter the friendly URL, it only emptied the name and description and did nothing else.

 

I tried these on my local computer and on the new server.

Prestashop is version 1.5.2.

Old server: Centos 5.6 with Kloxo panel

New server and local computer: Debian Squeeze (6) without any control panel.

Themes: the default theme seems to be a bit modified (nothing more than a simple css trick: .block and navigation have a background). There is another theme folder named blackhawk but what is inside is again the default theme (switching between two does nothing more than the background image change I've recently made. They are the same theme).

PHP: Suhosin hardened PHP v. 5.3.3.7

(suhosin.request.max_vars = 10000 and suhosin.post.max_vars = 10000 both in suhosin.ini and php.ini)

 

Any idea or help is appreciated,

memet

 

 

 

Edit: This time it is ok. I retried with a gzipped database, made necessary changes to file permissions and then removed suhosin (prestashop works with suhosin with a fresh install but did not work when I moved it from another server without suhosin).

Edited by memet (see edit history)
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...