Yuda W Putra Posted November 10, 2008 Share Posted November 10, 2008 Prestashop is very great e-commerce. I love the user interface and the feature. I will use it to my online shop.But I have same problem. When I upload to my hosting, and then access just got a blank page. My hosting also use same php 5.2.1 and mysql 4.1.22I install prestashop to my computer in localhost (I use xampp). Then I upload the file using FTP, and I dump the database. After I'm finish upload all files and import database. I place the file in /public_html. Then I acess the index, I just got blank page.Are the problem from the database setting? For detail information (example) :when I install in my computer my directory : proference>database- server : localhost- database : myshop- prefix : ps_- user : root- password : And when I create database in my hosting : myshop and then the database's name became yuda01_myshop. My provider give my username yuda01. And I try to create a new database user : admin password : admin01So, are there any file that I must modify? Like the setting (setting.inc.php)define('__PS_BASE_URI__', '/shop');define('_THEME_NAME_', 'prestashop');define('_DB_NAME_', 'myshop');define('_DB_SERVER_', 'localhost');define('_DB_USER_', 'root');define('_DB_PREFIX_', 'ps_');define('_DB_PASSWD_', '');define('_DB_TYPE_', 'MySQL');What should I fill for the base_url, db_name, db_server, db_user,db_passwordFor a day I try to make it success, but still have blank page problem. And I dont find clear guide in wiki. I hope somebody, especially Prestashop team would help me. Thank you very muchYuda W Putra Link to comment Share on other sites More sharing options...
Matthieu Biart Posted November 10, 2008 Share Posted November 10, 2008 Hi Yuda!If you want to move your shop from local to online there is only three steps:1. Copying all files inside your web account through FTP2. Copying your local PrestaShop database's data to your online database3. Editing your setting.inc.php fileYou seem to have completed the steps 1. & 2. successfully.So only the last step is an obstacle to your online shop.1. Inside the /config/setting.inc.php file you should change your PS_BASE_URI to "/" because you uploaded the PrestaShop files on the root of your web space (it is not anymore located in the folder "shop" which was on your local machine)2. DB_NAME should be yuda01_myshop3. DB_USER should be admin4. Finally DB_PASSWD should be admin01 Link to comment Share on other sites More sharing options...
Yuda W Putra Posted November 11, 2008 Author Share Posted November 11, 2008 Dear Matthieeu,Before, I thanks for your respon.I had tried your step and edit setting.inc.php, but my web still blankpage. I changed base_url to "/".I want to inquiry that when I upload prestashop file to the hosting some file I didnt upload all file. The files are in directorytranslation and mails. Because I want to use 2 language. I just upload only : en and id for mails and also export in translation. and I think it doesnt matter, because when I moved the files and leave only en and id in my local there is no problem.And I suppose this blank page not from database problem (such wrong in database name, user), because if the problem come from database the error message is : The database selection cannot be made. Then I try to directly install from my hosting. I rename my old install directory (install_01) to install. Then I try to run : http://www.xxxxxx.com/install. But only blank page appear.I hopefully for your help. ThanksYuda Link to comment Share on other sites More sharing options...
Yuda W Putra Posted November 11, 2008 Author Share Posted November 11, 2008 for additional information :PHP version : 4.4.8 ( revise information above that the version 5.2.1).MysQL version : 4.1.22When I try to directly install in my hosting , there is an error message : Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/yuda01/public_html/install/classes/LanguagesManager.php on line 7 Link to comment Share on other sites More sharing options...
Paul C Posted November 12, 2008 Share Posted November 12, 2008 Yuda, although PrestaShop will run on MySQL 4.1.22 it MUST have PHP 5, so I'm afraid it won't work on that server configuration.Paul Link to comment Share on other sites More sharing options...
Yuda W Putra Posted November 12, 2008 Author Share Posted November 12, 2008 Dear Paul,When I read again the requirement, Prestashop must have PHP 5 as you said. I request to the ISP to move my hosting in Server with PHP 5. Thanks for allYuda- Prestashop : The Powerful E-Commerce- Link to comment Share on other sites More sharing options...
Yuda W Putra Posted November 13, 2008 Author Share Posted November 13, 2008 I have still problem with my website. Right now my PHP is version PHP 5. When I access the index still in blank page. But I can access the admin page, however all pictures in the site (icon, product files, etc) not appear. Then I try to reinstall again. I upload the file and then execute install. I have problem in step 2 (system compatibility). When I click next button, there's no respon and can't move to next step.Do you know the problem with my website? I need your help, please Link to comment Share on other sites More sharing options...
fabiano_albernaz Posted November 26, 2008 Share Posted November 26, 2008 I HAVE THE SAME PROBLEM, BESIDES MY HOSTING ALREADY HAVE PHP 5!I HAVE DONE THE TREE STEPS1. Copying all files inside your web account through FTP2. Copying your local PrestaShop database’s data to your online database3. Editing your setting.inc.php fileAs Yuda W Putra, When I access the index still in blank page. But I can access the admin page!BUT I DONT SEE THE SOLUTION ON THE POST, AND IT'S LIKE SOLVED!!!THANKX ALL! Link to comment Share on other sites More sharing options...
Yuda W Putra Posted November 26, 2008 Author Share Posted November 26, 2008 Hello Fabiano,I change the directory permisson on tools/smarty. all directories in smarty and files you change to chmod 777. Hopefully you can go online.Best regards,Yuda W Putra Link to comment Share on other sites More sharing options...
fabiano_albernaz Posted November 26, 2008 Share Posted November 26, 2008 /tools/smarty/compile to CHMOD 777!THANKX A LOT! Link to comment Share on other sites More sharing options...
WODP Posted March 24, 2009 Share Posted March 24, 2009 Hello,i have tried above tips. I want to change PS from domain.com/presta to domain.com.PS Admin and homepage works but when you click on Categories etc 404 error.What should i do more?it's a bit urgent.Thanks!!WODP Link to comment Share on other sites More sharing options...
AgungHN Posted March 25, 2010 Share Posted March 25, 2010 thank's bro.!i can go online now. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now