Jump to content

[SOLVED] cant log on to back office after changed base url


Recommended Posts

hi,

I have got a problems that after changing the base url options at back office, I cant log on to my back office anymore. every time i try to log in it leads to my page-not-found page all the time.

 

I have no idea how to change it back to work. can anyone please teach me how to fix it? how can i change my base url back to empty ?

 

really appreciate for any help that you guys provided.

Link to comment
Share on other sites

/config/settings.inc.php u can edit this file by hands

 

Also may be u rename admin folder and that's why u cannot login in bo?

coz i have change the base url field, under the seo and url menu. and now i even when i open the back office admin page, it redirects to the "page currently under construction" page.

 

Hello donny, what version of PrestaShop are you using?

it's prestashop 1.5
Link to comment
Share on other sites

Hello donny, what does it currently say in your settings.inc.php

 

<?php

define('_DB_SERVER_', 'localhost');

define('_DB_NAME_', 'shop1');

define('_DB_USER_', 'to');

define('_DB_PASSWD_', '109');

define('_DB_PREFIX_', 'up_');

define('_MYSQL_ENGINE_', 'MyISAM');

define('_PS_CACHING_SYSTEM_', 'CacheFS');

define('_PS_CACHE_ENABLED_', '0');

define('_MEDIA_SERVER_1_', '');

define('_MEDIA_SERVER_2_', '');

define('_MEDIA_SERVER_3_', '');

define('_COOKIE_KEY_', 'X6qQuvjJ2ahEvqOPCSitIxfkVJzOFkbUntxTLussrLEGYzxeFZpCb4Xb');

define('_COOKIE_IV_', 'eJzsjPjb');

define('_PS_CREATION_DATE_', '2012-09-11');

define('_PS_VERSION_', '1.5.0.17');

define('_RIJNDAEL_KEY_', 'UVTHygjRfiG7iacTnf2KSmisstnuIU5J');

define('_RIJNDAEL_IV_', '/i9e5yMPhK1Q4dmWeEzJ4w==');

define('_PS_DIRECTORY_', '/');

Link to comment
Share on other sites

Just reinstall it...

Hello Kerm, thank you for the suggestion. I think that is a good idea, Donny, have you tried to re install your PrestaShop version and reconnect to the Database?

by the way what is the best way to re install the shop ? i need to keep my theme and product detail and everything. thanks again !!
Link to comment
Share on other sites

by the way what is the best way to re install the shop ? i need to keep my theme and product detail and everything. thanks again !!

...thanks guys, i have restore everything now it's back to work, but need to start over some of the works...anyway thanks very much for your guys helps !!!
Link to comment
Share on other sites

  • 3 years later...

i know it's already solved, but i wanna help for those who have the same problem, cause editing the settings.inc.php won't help at all, here's my solution :

 

- you can login to your phpMyAdmin on your cPanel,

- open your store db

- find "ps_shop_url" table

- edit back your "physical_uri" to "/"

- save the table

 

hope this help :3

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...