Jump to content

Cannot login to BO after moving shop from localhost to www


Recommended Posts

Hello there, 

 

Finally I've decided to give a GO to start my store.

 

I've followed that Guide

 

To finalize it I need to login to BO but I can't...

 

Back Office: 

 

cc5b3fe8c26496e441a38b8ef6f5e87f.jpeg

 

Images dont work (due to wrong link - http://www.csgoshirtz.com/admin3929jmnkm/img/[email protected], should be without /admin.../)

 

9d746685ccecc24c11b43b95d0b98d2b.jpeg

 

Tables have been imported without any errors and that how PS_SHOP_URL looks. 

 

949c977b1bd69f83787d5e28e095c7b6.jpeg

 

Thats how SEO&URL looked like before exporting Database. 

 

This is how settings.inc.php file looks like:

 

 

define('_DB_SERVER_', 'mariadb4.iq.pl');
define('_DB_NAME_', 'csgoshirtz_2p');
define('_DB_USER_', 'csgoshirtz_2p');
define('_DB_PASSWD_', 'HIDDEN');
define('_DB_PREFIX_', 'csgoshirtz_');
define('_MYSQL_ENGINE_', 'InnoDB');
define('_PS_CACHING_SYSTEM_', 'CacheMemcache');
define('_PS_CACHE_ENABLED_', '0');
define('_COOKIE_KEY_', 'hidden');
define('_COOKIE_IV_', 'hidden');
define('_PS_CREATION_DATE_', '2016-05-15');
if (!defined('_PS_VERSION_'))
define('_PS_VERSION_', '1.6.1.4');
 

EDIT: Tried 3 different browsers, cleared cache on Chrome (main browser)

Edited by preak (see edit history)
Link to comment
Share on other sites

I have no idea what you are doing. You move your shop - I assume to a production site - and then you write in ps_shop_url that your domain is localhost???

 

I didnt write (edit) ps_shop_url at all before moving from localhost to server.

 

I was trying to follow instruction step by step, changing domain and base URI should be done at the end but I cannot login into back office. 

 

I was trying to change it manually (domain - www.csgoshirtz.com ; domain_ssl - www.csgoshirtz.com ;physical_uri - "/") through phpmyadmin but without succes

 

Please, I'm kinda desperate :(

Link to comment
Share on other sites

Hi

 

Use PHPMyAdmin to change table ps_shop_url set:

 

- "Domain" = www.csgoshirtz.com

 

- "Physical_URI" = /

 

The db_prefix in the file settings_inc.php does not look correct. It should be "ps_"

 

Instead it is set to:

 

define('_DB_PREFIX_', 'csgoshirtz_');

 

Try that and see if it works.

  • Like 1
Link to comment
Share on other sites

Hi

 

Use PHPMyAdmin to change table ps_shop_url set:

 

- "Domain" = www.csgoshirtz.com

 

- "Physical_URI" = /

 

The db_prefix in the file settings_inc.php does not look correct. It should be "ps_"

 

Instead it is set to:

 

define('_DB_PREFIX_', 'csgoshirtz_');

 

Try that and see if it works.

 

I already did part 1 earlier but without succes. 

 

I've also tried changing csgoshirtz_ to ps_ but then whole BO were crashing. 

 

However, after changing domains and prefix, everything seems to be working.

 

THANK YOU ! <3

  • Like 1
Link to comment
Share on other sites

  • 8 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...