lun073 Posted January 10, 2015 Share Posted January 10, 2015 Hi guys. I'm trying to setup a test subdomain, I copied all the files under public_html and pasted in the test subdomain. But the subdomain only display blank page. Is there anywhere that I need to set the default page? Link to comment Share on other sites More sharing options...
madimax Posted January 10, 2015 Share Posted January 10, 2015 Hello, Have you configure the new database ? If yes : Go to your admin (on subdomain shop), Go to Preferences -> SEO & URL change the root folder and save The htaccess will be modify automatically if it doesnt work, you can go to config/define.inc.php and change define('_PS_MODE_DEV_', false); by define('_PS_MODE_DEV_', true); go to the subdomain page and you will see the error 1 Link to comment Share on other sites More sharing options...
lun073 Posted January 10, 2015 Author Share Posted January 10, 2015 Hello, Have you configure the new database ? If yes : Go to your admin (on subdomain shop), Go to Preferences -> SEO & URL change the root folder and save The htaccess will be modify automatically if it doesnt work, you can go to config/define.inc.php and change define('_PS_MODE_DEV_', false); by define('_PS_MODE_DEV_', true); go to the subdomain page and you will see the error Hi, thanks for helping. Below is the error message, Warning: require_once(/public_html/NewTemplate/classes/PrestaShopAutoload.php) [function.require-once]: failed to open stream: No such file or directory in /public_html/NewTemplate/config/autoload.php on line 29 Fatal error: require_once() [function.require]: Failed opening required '/public_html/NewTemplate/classes/PrestaShopAutoload.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /public_html/NewTemplate/config/autoload.php on line 29 And the line 29 code is require_once(_PS_CLASS_DIR_.'PrestaShopAutoload.php');. Please help me on this. Link to comment Share on other sites More sharing options...
lun073 Posted January 11, 2015 Author Share Posted January 11, 2015 Hi guys. Please help me on this, as I'm not a PHP programmer. Link to comment Share on other sites More sharing options...
vekia Posted January 11, 2015 Share Posted January 11, 2015 please go to your ftp connection open directory: NewTemplate/classes/ does it contains PrestaShopAutoload.php file? note, that prestashopautoload.php is not equal to PrestaShopAutoload.php (unix systems are case sensitive) Link to comment Share on other sites More sharing options...
lun073 Posted January 16, 2015 Author Share Posted January 16, 2015 please go to your ftp connection open directory: NewTemplate/classes/ does it contains PrestaShopAutoload.php file? note, that prestashopautoload.php is not equal to PrestaShopAutoload.php (unix systems are case sensitive) Hi vekia, thanks for your reply. Currently I'm using v1.4.4.1, I downloaded the version and can't find prestashopautoload.php and PrestaShopAutoload.php. My main site is working perfectly but not the test site with the exactly same files. Please help. Link to comment Share on other sites More sharing options...
NemoPS Posted January 16, 2015 Share Posted January 16, 2015 Well 1.4 didn't have that, no idea why your config loads it, it should be require_once(dirname(__FILE__).'/autoload.php'); Link to comment Share on other sites More sharing options...
lun073 Posted January 16, 2015 Author Share Posted January 16, 2015 Well 1.4 didn't have that, no idea why your config loads it, it should be require_once(dirname(__FILE__).'/autoload.php'); Hi Nemo1. Can you please share with me in which file I can look for the line of code that you mentioned? I'll try to change it to your suggestion. Thanks. Link to comment Share on other sites More sharing options...
lun073 Posted January 16, 2015 Author Share Posted January 16, 2015 Well 1.4 didn't have that, no idea why your config loads it, it should be require_once(dirname(__FILE__).'/autoload.php'); Hi Nemo1. I'm trying to setup the test site with test db. There are two databases, which is IRDATA and PRESTASHOP. I can see that IRDATA is set at config/settings.inc.php, define('_DB_NAME_', 'IRdata');. Please share with me in which file I should update the site to point to PRESTASHOP test database? Thanks. Link to comment Share on other sites More sharing options...
NemoPS Posted January 17, 2015 Share Posted January 17, 2015 THat is the file where database connection details are setup, settings.in.php. As for the other it was config.inc.php Link to comment Share on other sites More sharing options...
lun073 Posted January 17, 2015 Author Share Posted January 17, 2015 THat is the file where database connection details are setup, settings.in.php. As for the other it was config.inc.php When doing backup for the database table, I received the below error. I tried to set post_max_size to 900m, but still received the error message. Please help I had set the [Ajax / Server Error for action backupDb] textStatus: "error " errorThrown:"Request Entity Too Large " jqXHR: " Request Entity Too Large The requested resource /autoupgrade/ajax-upgradetab.php does not allow request data with GET requests, or the amount of data provided in the request exceeds the capacity limit. Link to comment Share on other sites More sharing options...
NemoPS Posted January 19, 2015 Share Posted January 19, 2015 It might be this one client_max_body_size If not, do a manual db backup (as it's always recommended) 1 Link to comment Share on other sites More sharing options...
lun073 Posted January 20, 2015 Author Share Posted January 20, 2015 It might be this one client_max_body_size If not, do a manual db backup (as it's always recommended) Hi Nemo1. Can you help me on this matter? https://www.prestashop.com/forums/topic/394975-added-a-product-to-cart-but-cant-view-the-cart/ 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