Jump to content

Edit History

BlizzardUK

BlizzardUK

This is incredibly frustrating. I want to clone a PS 1.6 store so I can bug fix, test new things out, etc, using both my Windows 10 PC with WAMP and a web hoster. Although I am a bit of a layman to all that I have actually done PS clones before on web hosting space (not WAMP) and never had a problem, even of this exact same PS site, normally it is incredibly simple. Only difference now is the PS site was moved a year ago to another hoster and they did all the moving, so I have no idea if they made any changes (other than the obvious database, URLs, etc) that makes it harder to clone now. I have followed multiple tutorials on YouTube just to see if I am doing anything wrong, but I have followed all the steps and no joy. 

I will show you both error messages I get, the one via a web hosting site where I tried to clone it (I am trying to clone it on a totally different hoster to where main live site is as it will take me over the file limit if I try to put it on the same package, so I got some cheap webspace with cPanel just to host a test site on).

Here is the error I get when trying to open the cloned site via the web (I know it says what the error places are but I still don't get what I have to do to rectify it)............

"Fatal error: Uncaught Error: Class 'DbPDO' not found in /home/studiofi/retrolounge.co.uk/shop/classes/db/Db.php:235 Stack trace: #0 /home/studiofi/retrolounge.co.uk/shop/config/alias.php(66): DbCore::getInstance() #1 /home/studiofi/retrolounge.co.uk/shop/classes/shop/Shop.php(329): pSQL('www.retrolounge...') #2 /home/studiofi/retrolounge.co.uk/shop/config/config.inc.php(114): ShopCore::initialize() #3 /home/studiofi/retrolounge.co.uk/shop/index.php(27): require('/home/studiofi/...') #4 {main} thrown in /home/studiofi/retrolounge.co.uk/shop/classes/db/Db.php on line 235"

I have no idea what DbPDO is but I then decided to remove the DbPDO file and then the alias.php file and the db.php file and then the autoload.php file, etc, one step at a time. I also tried to edit out any mention of DbPDO in config files, literally clutching at straws here. All that happened each time was I would get yet another error message. Could it be that my test site hoster doesn't support whatever PDO is ? As the ONLY difference from me creating this new clone version to previous times of the same website is that the live site was moved to a new server by the hosting staff and so I have no idea what may have been changed as far as the bells and whistles go, etc. I can't put a clone of the site on the same webspace as it will take me over the file limit and I can't afford to increase the hosting package just for a test site, so I bought some cheap hosting package just for the test site, when this failed I thought I would try via WAMP on my home Windows 10 PC (64bit).

The error I get via localhost using WAMP is (it tries to load for 3 seconds then I get the below, if I leave the original htaccess file it just sends me to the live website which is pointless, if I edit the htaccess file with correct location or delete it I get the below).........

"localhost refused to connect"

The WAMP control panel loads fine at localhost.

Below is the settings.inc.php info for the WEB hosting version, this is different to the live site of course as the database is different, I have edited out the password (the directory is also /shop/ on my cloned hoster)..........

<?php
define('_DB_SERVER_', 'localhost');
define('_DB_NAME_', 'studiofi_le');
define('_DB_USER_', 'studiofi_le');
define('_DB_PASSWD_', 'EDITED');
define('_DB_PREFIX_', 'ps_');
define('_MYSQL_ENGINE_', 'InnoDB');
define('_PS_CACHING_SYSTEM_', 'CacheMemcache');
define('_PS_CACHE_ENABLED_', '0');
define('_COOKIE_KEY_', 'BXReHR7xDkrVWhKBYdDiBtoOHWVvrO1QqiqASi4ngGLCPP3Sj8uPqyTD');
define('_COOKIE_IV_', '70i62eFm');
define('_PS_CREATION_DATE_', '2018-05-16');
define('_PS_VERSION_', '1.6.1.18');
define('_PS_DIRECTORY_', '/shop/');
define('_RIJNDAEL_KEY_', 'wFyO5k4htZ5W-part edited out of forum post as I have no idea if private or not');
define('_RIJNDAEL_IV_', 'KZYZoN8j4-part edited out of forum post as I have no idea if private or not');

I have cleaned out the cache folders (at least the ones I know about, I am not a pro so may have missed some), and also tried it without the cache being cleaned. I have edited the shop URL in the SQL file. I have of course uploaded/imported the SQL file too. There does not appear to be a DB server address on my hosting package so I have kept it like the original live sites one where it was just localhost. Both hosting packages use cPanel.

The below is what I have used for the WAMP version of the settings file........

<?php
define('_DB_SERVER_', 'localhost');
define('_DB_NAME_', 'studiofi');
define('_DB_USER_', 'root');
define('_DB_PASSWD_', '');
define('_DB_PREFIX_', 'ps_');
define('_MYSQL_ENGINE_', 'InnoDB');
define('_PS_CACHING_SYSTEM_', 'CacheMemcache');
define('_PS_CACHE_ENABLED_', '0');
define('_COOKIE_KEY_', 'BXReHR7xDkrVWhKBYdDiBtoOHWVvrO1QqiqASi4ngGLCPP3Sj8uPqyTD');
define('_COOKIE_IV_', '70i62eFm');
define('_PS_CREATION_DATE_', '2018-05-16');
define('_PS_VERSION_', '1.6.1.18');
define('_RIJNDAEL_KEY_', 'wFyO5k4htZ5W-part edited out of forum post as I have no idea if private or not');
define('_RIJNDAEL_IV_', 'KZYZoN8j4-part edited out of forum post as I have no idea if private or not');

Things I have done/tried........

1. I have edited the htaccess to change URL and also tried without a htaccess file

2. I have made sure the PHP versions are the same, 7.1 in this instance

3.  I have tried with and without debug mode being on

4. I have tried with and without some of the cache folders having data in

5. I have edited the shop URL in MySQL

I have done a clone of the shop before so I just don't get this, literally the only thing different is it is the live version is now hosted with a different hoster to when I have previously cloned it. I have never done WAMP before though, only webhost to webhost clones.

Thanks for any help or advice.

BlizzardUK

BlizzardUK

This is incredibly frustrating. I want to clone a PS 1.6 store so I can bug fix, test new things out, etc, using both my Windows 10 PC with WAMP and a web hoster. Although I am a bit of a layman to all that I have actually done PS clones before on web hosting space (not WAMP) and never had a problem, even of this exact same PS site, normally it is incredibly simple. Only difference now is the PS site was moved a year ago to another hoster and they did all the moving, so I have no idea if they made any changes (other than the obvious database, URLs, etc) that makes it harder to clone now. I have followed multiple tutorials on YouTube just to see if I am doing anything wrong, but I have followed all the steps and no joy. 

I will show you both error messages I get, the one via a web hosting site where I tried to clone it (I am trying to clone it on a totally different hoster to where main live site is as it will take me over the file limit if I try to put it on the same package, so I got some cheap webspace with cPanel just to host a test site on).

Here is the error I get when trying to open the cloned site via the web (I know it says what the error places are but I still don't get what I have to do to rectify it)............

"Fatal error: Uncaught Error: Class 'DbPDO' not found in /home/studiofi/retrolounge.co.uk/shop/classes/db/Db.php:235 Stack trace: #0 /home/studiofi/retrolounge.co.uk/shop/config/alias.php(66): DbCore::getInstance() #1 /home/studiofi/retrolounge.co.uk/shop/classes/shop/Shop.php(329): pSQL('www.retrolounge...') #2 /home/studiofi/retrolounge.co.uk/shop/config/config.inc.php(114): ShopCore::initialize() #3 /home/studiofi/retrolounge.co.uk/shop/index.php(27): require('/home/studiofi/...') #4 {main} thrown in /home/studiofi/retrolounge.co.uk/shop/classes/db/Db.php on line 235"

I have no idea what DbPDO is but I then decided to remove the DbPDO file and then the alias.php file and the db.php file and then the autoload.php file, etc, one step at a time. I also tried to edit out any mention of DbPDO in config files, literally clutching at straws here. All that happened each time was I would get yet another error message. Could it be that my test site hoster doesn't support whatever PDO is ? As the ONLY difference from me creating this new clone version to previous times of the same website is that the live site was moved to a new server by the hosting staff and so I have no idea what may have been changed as far as the bells and whistles go, etc. I can't put a clone of the site on the same webspace as it will take me over the file limit and I can't afford to increase the hosting package just for a test site, so I bought some cheap hosting package just for the test site, when this failed I thought I would try via WAMP on my home Windows 10 PC (64bit).

The error I get via localhost using WAMP is (it tries to load for 3 seconds then I get the below, if I leave the original htaccess file it just sends me to the live website which is pointless, if I edit the htaccess file with correct location or delete it I get the below).........

"localhost refused to connect"

The WAMP control panel loads fine at localhost.

Below is the settings.inc.php info for the WEB hosting version, this is different to the live site of course as the database is different, I have edited out the password (the directory is also /shop/ on my cloned hoster)..........

<?php
define('_DB_SERVER_', 'localhost');
define('_DB_NAME_', 'studiofi_le');
define('_DB_USER_', 'studiofi_le');
define('_DB_PASSWD_', 'EDITED');
define('_DB_PREFIX_', 'ps_');
define('_MYSQL_ENGINE_', 'InnoDB');
define('_PS_CACHING_SYSTEM_', 'CacheMemcache');
define('_PS_CACHE_ENABLED_', '0');
define('_COOKIE_KEY_', 'BXReHR7xDkrVWhKBYdDiBtoOHWVvrO1QqiqASi4ngGLCPP3Sj8uPqyTD');
define('_COOKIE_IV_', '70i62eFm');
define('_PS_CREATION_DATE_', '2018-05-16');
define('_PS_VERSION_', '1.6.1.18');
define('_PS_DIRECTORY_', '/shop/');
define('_RIJNDAEL_KEY_', 'wFyO5k4htZ5WN7KaBpcxGOI9WY1MsL3W');
define('_RIJNDAEL_IV_', 'KZYZoN8j4lhqiOaCeIby2A==');

I have cleaned out the cache folders (at least the ones I know about, I am not a pro so may have missed some), and also tried it without the cache being cleaned. I have edited the shop URL in the SQL file. I have of course uploaded/imported the SQL file too. There does not appear to be a DB server address on my hosting package so I have kept it like the original live sites one where it was just localhost. Both hosting packages use cPanel.

The below is what I have used for the WAMP version of the settings file........

<?php
define('_DB_SERVER_', 'localhost');
define('_DB_NAME_', 'studiofi');
define('_DB_USER_', 'root');
define('_DB_PASSWD_', '');
define('_DB_PREFIX_', 'ps_');
define('_MYSQL_ENGINE_', 'InnoDB');
define('_PS_CACHING_SYSTEM_', 'CacheMemcache');
define('_PS_CACHE_ENABLED_', '0');
define('_COOKIE_KEY_', 'BXReHR7xDkrVWhKBYdDiBtoOHWVvrO1QqiqASi4ngGLCPP3Sj8uPqyTD');
define('_COOKIE_IV_', '70i62eFm');
define('_PS_CREATION_DATE_', '2018-05-16');
define('_PS_VERSION_', '1.6.1.18');
define('_RIJNDAEL_KEY_', 'wFyO5k4htZ5WN7KaBpcxGOI9WY1MsL3W');
define('_RIJNDAEL_IV_', 'KZYZoN8j4lhqiOaCeIby2A==');

Things I have done/tried........

1. I have edited the htaccess to change URL and also tried without a htaccess file

2. I have made sure the PHP versions are the same, 7.1 in this instance

3.  I have tried with and without debug mode being on

4. I have tried with and without some of the cache folders having data in

5. I have edited the shop URL in MySQL

I have done a clone of the shop before so I just don't get this, literally the only thing different is it is the live version is now hosted with a different hoster to when I have previously cloned it. I have never done WAMP before though, only webhost to webhost clones.

Thanks for any help or advice.

BlizzardUK

BlizzardUK

This is incredibly frustrating. I want to clone a PS 1.6 store so I can bug fix, test new things out, etc, using both my Windows 10 PC with WAMP and a web hoster. Although I am a bit of a layman to all that I have actually done PS clones before on web hosting space (not WAMP) and never had a problem, even of this exact same PS site, normally it is incredibly simple. Only difference now is the PS site was moved a year ago to another hoster and they did all the moving, so I have no idea if they made any changes (other than the obvious database, URLs, etc) that makes it harder to clone now. I have followed multiple tutorials on YouTube just to see if I am doing anything wrong, but I have followed all the steps and no joy. 

I will show you both error messages I get, the one via a web hosting site where I tried to clone it (I am trying to clone it on a totally different hoster to where main live site is as it will take me over the file limit if I try to put it on the same package, so I got some cheap webspace with cPanel just to host a test site on).

Here is the error I get when trying to open the cloned site via the web (I know it says what the error places are but I still don't get what I have to do to rectify it)............

"Fatal error: Uncaught Error: Class 'DbPDO' not found in /home/studiofi/retrolounge.co.uk/shop/classes/db/Db.php:235 Stack trace: #0 /home/studiofi/retrolounge.co.uk/shop/config/alias.php(66): DbCore::getInstance() #1 /home/studiofi/retrolounge.co.uk/shop/classes/shop/Shop.php(329): pSQL('www.retrolounge...') #2 /home/studiofi/retrolounge.co.uk/shop/config/config.inc.php(114): ShopCore::initialize() #3 /home/studiofi/retrolounge.co.uk/shop/index.php(27): require('/home/studiofi/...') #4 {main} thrown in /home/studiofi/retrolounge.co.uk/shop/classes/db/Db.php on line 235"

I have no idea what DbPDO is but I then decided to remove the DbPDO file and then the alias.php file and the db.php file and then the autoload.php file, etc, one step at a time. I also tried to edit out any mention of DbPDO in config files, literally clutching at straws here. All that happened each time was I would get yet another error message. Could it be that my test site hoster doesn't support whatever PDO is ? As the ONLY difference from me creating this new clone version to previous times of the same website is that the live site was moved to a new server by the hosting staff and so I have no idea what may have been changed as far as the bells and whistles go, etc. I can't put a clone of the site on the same webspace as it will take me over the file limit and I can't afford to increase the hosting package just for a test site, so I bought some cheap hosting package just for the test site, when this failed I thought I would try via WAMP on my home Windows 10 PC (64bit).

The error I get via localhost using WAMP is (it tries to load for 3 seconds then I get the below, if I leave the original htaccess file it just sends me to the live website which is pointless, if I edit the htaccess file with correct location or delete it I get the below).........

"localhost refused to connect"

The WAMP control panel loads fine at localhost. Below is the settings.inc.php info for the web hosting version, this is different to the live site of course as the database is different, I have edited out the password (the directory is also /shop/ on my cloned hoster)..........

<?php
define('_DB_SERVER_', 'localhost');
define('_DB_NAME_', 'studiofi_le');
define('_DB_USER_', 'studiofi_le');
define('_DB_PASSWD_', 'EDITED');
define('_DB_PREFIX_', 'ps_');
define('_MYSQL_ENGINE_', 'InnoDB');
define('_PS_CACHING_SYSTEM_', 'CacheMemcache');
define('_PS_CACHE_ENABLED_', '0');
define('_COOKIE_KEY_', 'BXReHR7xDkrVWhKBYdDiBtoOHWVvrO1QqiqASi4ngGLCPP3Sj8uPqyTD');
define('_COOKIE_IV_', '70i62eFm');
define('_PS_CREATION_DATE_', '2018-05-16');
define('_PS_VERSION_', '1.6.1.18');
define('_PS_DIRECTORY_', '/shop/');
define('_RIJNDAEL_KEY_', 'wFyO5k4htZ5WN7KaBpcxGOI9WY1MsL3W');
define('_RIJNDAEL_IV_', 'KZYZoN8j4lhqiOaCeIby2A==');

I have cleaned out the cache folders (at least the ones I know about, I am not a pro so may have missed some), and also tried it without the cache being cleaned. I have edited the shop URL in the SQL file. I have of course uploaded/imported the SQL file too. There does not appear to be a DB server address on my hosting package so I have kept it like the original live sites one where it was just localhost. Both hosting packages use cPanel.

The below is what I have used for the WAMP version of the settings file........

<?php
define('_DB_SERVER_', 'localhost');
define('_DB_NAME_', 'studiofi');
define('_DB_USER_', 'root');
define('_DB_PASSWD_', '');
define('_DB_PREFIX_', 'ps_');
define('_MYSQL_ENGINE_', 'InnoDB');
define('_PS_CACHING_SYSTEM_', 'CacheMemcache');
define('_PS_CACHE_ENABLED_', '0');
define('_COOKIE_KEY_', 'BXReHR7xDkrVWhKBYdDiBtoOHWVvrO1QqiqASi4ngGLCPP3Sj8uPqyTD');
define('_COOKIE_IV_', '70i62eFm');
define('_PS_CREATION_DATE_', '2018-05-16');
define('_PS_VERSION_', '1.6.1.18');
define('_RIJNDAEL_KEY_', 'wFyO5k4htZ5WN7KaBpcxGOI9WY1MsL3W');
define('_RIJNDAEL_IV_', 'KZYZoN8j4lhqiOaCeIby2A==');

Things I have done/tried........

1. I have edited the htaccess to change URL and also tried without a htaccess file

2. I have made sure the PHP versions are the same, 7.1 in this instance

3.  I have tried with and without debug mode being on

4. I have tried with and without some of the cache folders having data in

5. I have edited the shop URL in MySQL

I have done a clone of the shop before so I just don't get this, literally the only thing different is it is the live version is now hosted with a different hoster to when I have previously cloned it. I have never done WAMP before though, only webhost to webhost clones.

Thanks for any help or advice.

BlizzardUK

BlizzardUK

This is incredibly frustrating. I want to clone a PS 1.6 store so I can bug fix, test new things out, etc, using both my Windows 10 PC with WAMP and a web hoster. Although I am a bit of a layman to all that I have actually done PS clones before on web hosting space (not WAMP) and never had a problem, even of this exact same PS site, normally it is incredibly simple. Only difference now is the PS site was moved a year ago to another hoster and they did all the moving, so I have no idea if they made any changes (other than the obvious database, URLs, etc) that makes it harder to clone now. I have followed multiple tutorials on YouTube just to see if I am doing anything wrong, but I have followed all the steps and no joy. 

I will show you both error messages I get, the one via a web hosting site where I tried to clone it (I am trying to clone it on a totally different hoster to where main live site is as it will take me over the file limit if I try to put it on the same package, so I got some cheap webspace with cPanel just to host a test site on).

Here is the error I get when trying to open the cloned site via the web (I know it says what the error places are but I still don't get what I have to do to rectify it)............

"Fatal error: Uncaught Error: Class 'DbPDO' not found in /home/studiofi/retrolounge.co.uk/shop/classes/db/Db.php:235 Stack trace: #0 /home/studiofi/retrolounge.co.uk/shop/config/alias.php(66): DbCore::getInstance() #1 /home/studiofi/retrolounge.co.uk/shop/classes/shop/Shop.php(329): pSQL('www.retrolounge...') #2 /home/studiofi/retrolounge.co.uk/shop/config/config.inc.php(114): ShopCore::initialize() #3 /home/studiofi/retrolounge.co.uk/shop/index.php(27): require('/home/studiofi/...') #4 {main} thrown in /home/studiofi/retrolounge.co.uk/shop/classes/db/Db.php on line 235"

I have no idea what DbPDO is but I then decided to remove the DbPDO file and then the alias.php file and the db.php file and then the autoload.php file, etc, one step at a time. I also tried to edit out any mention of DbPDO in config files, literally clutching at straws here. All that happened each time was I would get yet another error message. Could it be that my test site hoster doesn't support whatever PDO and pdo_mysql is ? As the ONLY difference from me creating this new clone version to previous times of the same website is that the live site was moved to a new server by the hosting staff and so I have no idea what may have been changed as far as the bells and whistles go, etc. I can't put a clone of the site on the same webspace as it will take me over the file limit and I can't afford to increase the hosting package just for a test site, so I bought some cheap hosting package just for the test site, when this failed I thought I would try via WAMP on my home Windows 10 PC (64bit).

The error I get via localhost using WAMP is (it tries to load for 3 seconds then I get the below, if I leave the original htaccess file it just sends me to the live website which is pointless, if I edit the htaccess file with correct location or delete it I get the below).........

"localhost refused to connect"

The WAMP control panel loads fine at localhost. Below is the settings.inc.php info for the web hosting version, this is different to the live site of course as the database is different, I have edited out the password (the directory is also /shop/ on my cloned hoster)..........

<?php
define('_DB_SERVER_', 'localhost');
define('_DB_NAME_', 'studiofi_le');
define('_DB_USER_', 'studiofi_le');
define('_DB_PASSWD_', 'EDITED');
define('_DB_PREFIX_', 'ps_');
define('_MYSQL_ENGINE_', 'InnoDB');
define('_PS_CACHING_SYSTEM_', 'CacheMemcache');
define('_PS_CACHE_ENABLED_', '0');
define('_COOKIE_KEY_', 'BXReHR7xDkrVWhKBYdDiBtoOHWVvrO1QqiqASi4ngGLCPP3Sj8uPqyTD');
define('_COOKIE_IV_', '70i62eFm');
define('_PS_CREATION_DATE_', '2018-05-16');
define('_PS_VERSION_', '1.6.1.18');
define('_PS_DIRECTORY_', '/shop/');
define('_RIJNDAEL_KEY_', 'wFyO5k4htZ5WN7KaBpcxGOI9WY1MsL3W');
define('_RIJNDAEL_IV_', 'KZYZoN8j4lhqiOaCeIby2A==');

I have cleaned out the cache folders (at least the ones I know about, I am not a pro so may have missed some), and also tried it without the cache being cleaned. I have edited the shop URL in the SQL file. I have of course uploaded/imported the SQL file too. There does not appear to be a DB server address on my hosting package so I have kept it like the original live sites one where it was just localhost. Both hosting packages use cPanel.

The below is what I have used for the WAMP version of the settings file........

<?php
define('_DB_SERVER_', 'localhost');
define('_DB_NAME_', 'studiofi');
define('_DB_USER_', 'root');
define('_DB_PASSWD_', '');
define('_DB_PREFIX_', 'ps_');
define('_MYSQL_ENGINE_', 'InnoDB');
define('_PS_CACHING_SYSTEM_', 'CacheMemcache');
define('_PS_CACHE_ENABLED_', '0');
define('_COOKIE_KEY_', 'BXReHR7xDkrVWhKBYdDiBtoOHWVvrO1QqiqASi4ngGLCPP3Sj8uPqyTD');
define('_COOKIE_IV_', '70i62eFm');
define('_PS_CREATION_DATE_', '2018-05-16');
define('_PS_VERSION_', '1.6.1.18');
define('_RIJNDAEL_KEY_', 'wFyO5k4htZ5WN7KaBpcxGOI9WY1MsL3W');
define('_RIJNDAEL_IV_', 'KZYZoN8j4lhqiOaCeIby2A==');

Things I have done/tried........

1. I have edited the htaccess to change URL and also tried without a htaccess file

2. I have made sure the PHP versions are the same, 7.1 in this instance

3.  I have tried with and without debug mode being on

4. I have tried with and without some of the cache folders having data in

5. I have edited the shop URL in MySQL

I have done a clone of the shop before so I just don't get this, literally the only thing different is it is the live version is now hosted with a different hoster to when I have previously cloned it. I have never done WAMP before though, only webhost to webhost clones.

Thanks for any help or advice.

×
×
  • Create New...