asood Posted December 1, 2011 Share Posted December 1, 2011 Dear Sir I am facing a problem for the last few days. i have uploaded my website on remote server. Site is working perfectly fine on localhost (on my machine). but on remote server it is showing a blank white page with no text or error message. my settings.nic.php file is shown below define('__PS_BASE_URI__', '/'); define('_MEDIA_SERVER_1_', ''); define('_MEDIA_SERVER_2_', ''); define('_MEDIA_SERVER_3_', ''); define('_PS_CACHING_SYSTEM_', 'MCached'); define('_PS_CACHE_ENABLED_', '0'); define('_THEME_NAME_', 'prestashop_new'); define('_DB_NAME_', 'database1'); define('_MYSQL_ENGINE_', 'InnoDB'); define('_DB_SERVER_', 'localhost'); define('_DB_USER_', 'user1'); define('_DB_PREFIX_', 'ps_'); define('_DB_PASSWD_', '*************'); define('_DB_TYPE_', 'MySQL'); define('_COOKIE_KEY_', 'VWCJqsTis2CYHRUrsdMYxrQv1JTrnIBfKZc0XFx4D3If18YSZmkK0ZmO'); define('_COOKIE_IV_', 'BobEEgvx'); define('_RIJNDAEL_KEY_', 'yPwxRxfI0r0C42ZJQPm0bXNpVuHf8yeu'); define('_RIJNDAEL_IV_', 'oHuRsc6PgkFu6yrrZxcv+Q=='); define('_PS_VERSION_', '1.4.5.1'); i have tested the database by changing the db_user or db_server. the site gives error on changing it. tht means my database connectivity is ok. then where is the fault? kindly resolve this issue. Link to comment Share on other sites More sharing options...
El Patron Posted December 1, 2011 Share Posted December 1, 2011 There are two fields in your db, table configuration. I typically change these using PHYMYADMIN but I understand there is a way to change them also from your back office, but I am not sure how to do this. regardless, in the db table configuration: PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL need to contain your front office url's, (not http://), but myfrontoffice.com. Link to comment Share on other sites More sharing options...
theme_designer Posted December 2, 2011 Share Posted December 2, 2011 Try to check your folders permission. Link to comment Share on other sites More sharing options...
asood Posted December 2, 2011 Author Share Posted December 2, 2011 Dear Sir I have read this option in earlier forums also "go to database find table ps_configuration and change PS_SHOP_DOMAIN_SSL and PS_SHOP_DOMAIN value " but the page is still blank my admin panel is working fine. Link to comment Share on other sites More sharing options...
asood Posted December 2, 2011 Author Share Posted December 2, 2011 Dear Sir Which directories or files you want me to change permission for and what permission to be changed to? My admin panel is working fine. in the admin - configuration details i was given a below message - Set write permissions for "config" folder Set write permissions for "tools" folder Set write permissions for "cache" folder Set write permissions for "sitemap.xml" file Set write permissions for "img" folder and subfolders, recursively Set write permissions for "mails" folder and subfolders, recursively Set write permissions for "modules" folder and subfolders, recursively Set write permissions for "themes/prestashop_new/lang/" folder and subfolders, recursively Set write permissions for "translations" folder and subfolders, recursively Set write permissions for "upload" folder and subfolders, recursively Set write permissions for "download" folder and subfolders, recursively Optional parameters: OK i had changed the write permissions for the above folders but still my home page is blank. Link to comment Share on other sites More sharing options...
El Patron Posted December 2, 2011 Share Posted December 2, 2011 in order to get some debug information: modify config/config.inc.php -change @ini_set('display_errors', 'off'); to @ini_set('display_errors', 'on'); let us know what the error message is please note from above: Set write permissions for "themes/prestashop_new/lang/" folder and subfolders, recursively i.e. make sure your subfolders from above also have correct permissions. good luck! 1 Link to comment Share on other sites More sharing options...
asood Posted December 2, 2011 Author Share Posted December 2, 2011 thanx .. its done... now... thanx a lot Link to comment Share on other sites More sharing options...
asood Posted December 3, 2011 Author Share Posted December 3, 2011 Dear Sir Is there any easy and fast method (or any software) to change the permissions of folders and subfolders recursively in one go. in my cpanel file manager i had to change each file and subfolder permissions manually one at a time. there is no option to do it for ll subfolders in one go. Link to comment Share on other sites More sharing options...
El Patron Posted December 3, 2011 Share Posted December 3, 2011 Dear Sir Is there any easy and fast method (or any software) to change the permissions of folders and subfolders recursively in one go. in my cpanel file manager i had to change each file and subfolder permissions manually one at a time. there is no option to do it for ll subfolders in one go. rgds Ampro Howdy ampro, yes there is an easier way but it would require that you get root shell access to root on your sever. While this seems like a lot of work at first (learning curve) it pays off big time in productivity. Also this will add to your tool box for future tasks, for example you can copy/backup files in seconds compared to ftp'ing for hours. (many hours in my case down in Colombia). then you can use the linux command chmod -R on the directory... 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