I`ve done it, some way or another on completely new installation.
Steps i`ve taken to accomplish it:
1.
unzip ~/Desktop/prestashop_1.5.6.1.zip
2.
su - root
furthermore sort root watchword
3. make registry for your prestashop (could be any name)
mkdir/srv/www/htdocs/shop
4. move prestashop establishment records into the envelope you`ve simply made
mv/home/client/Desktop/prestashop/srv/www/htdocs/shop
5. (a percentage of the accompanying envelopes may be missing relies on upon PS rendition)
cd/srv/www/htdocs/shop
chmod 0755 config
chmod 0755 transfer
chmod 0755 download
chmod 0755 devices/smarty/assemble
chmod -R 0755 img
chmod -R 0755 sends
chmod -R 0755 modules
chmod -R 0755 topics/prestashop/lang
chmod -R 0755 interpretations
6.change the manager of your shop envelope (note that wwwrun is default apache client in opensuse)
chown -R wwwrun/srv/www/htdocs/shop
to figure out your apache client:
feline/and so forth/passwd
7. make database
mysql -u root -p
make database shop;
retreat
8.in a web program sort
localhost/shop/introduce
what's more begin establishment of prestashop
9. at the point when completed attempt to login to BO to check establishment was succesful
10.
localhost/phpmyadmin
what's more drop all tables in database named shop
11. back in terminal import a database of your live shop (note it may take a while - 21mb took something like 2hrs on my portable computer)
mysql -u root -p
utilization shop
source path_to_your_backed_up_database_of_your_live_shop
retreat
12.
localhost/phpmyadmin
Ps_shop_domain -> 127.0.0.1
Ps_shop_domain_ssl -> 127.0.0.1
place database shop. Discover table ps_configuration and on something like 8 page of that table spot Ps_shop_domain and Ps_shop_domain_ssl alter both qualities from your webaddress to 127.0.0.1
13. place ps_shop_url and alter
area -> 127.0.0.1
domain_ssl -> 127.0.0.1
physical_uri ->/shop/
14. presently you have to recover the right to gain entrance to your back office.
Scite/srv/www/htdocs/shop/config/settings.inc.php
furthermore spot
define('_cookie_key_', 'Copy_that_string');
in phpmyadmin place ps_employee, alter your profile (might be numerous - you know best ;) )
in passwd pick capacity Md5 erase existing esteem and glue Copy_that_string from above direction and directly after sort your new secret word so it would appear that that:
Copy_that_stringpassword
also click Go. Presently you ought to have the capacity to get to BO. Presently we have to deal with FO. To have the capacity to get to FO you really need to duplicate after organizers from your server to/srv/www/htdocs/shop :
classes
controllers
css
download
img
js
confinement
log
sends
modules
bulletins
pdf
details
topics
tmp
instruments
interpretations
transfer
webservice
Your FO ought to be available. On the off chance that its definitely not:
Scite/srv/www/htdocs/shop/config/defines.inc.php
find
define('_ps_mode_dev_', false);
what's more change to
define('_ps_mode_dev_', genuine);
spare and passageway. Presently go to FO and search for mistakes if any.
Just issue Ive got is Friendly URL must be off with a specific end goal to see items pictures.
That ought to be it. I dont know why it didn`t work in the recent past. Im happy its working now as I`ve used like 4 days attempting to fathom it.
Much obliged everybody at any rate
No comments:
Post a Comment