donnytkc Posted September 25, 2012 Share Posted September 25, 2012 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 More sharing options...
Kerm Posted September 25, 2012 Share Posted September 25, 2012 /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? Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 25, 2012 Share Posted September 25, 2012 Hello donny, what version of PrestaShop are you using? Link to comment Share on other sites More sharing options...
donnytkc Posted September 25, 2012 Author Share Posted September 25, 2012 /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 More sharing options...
benjamin utterback Posted September 25, 2012 Share Posted September 25, 2012 Hello Donny, you can edit the base url in FTP under root>/config/settings.inc.php Link to comment Share on other sites More sharing options...
donnytkc Posted September 25, 2012 Author Share Posted September 25, 2012 Hello Donny, you can edit the base url in FTP under root>/config/settings.inc.php sorry i was quite a new hand of this, should i start a new line to define the base url or...? i would like to change it back to default (no base url) Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 25, 2012 Share Posted September 25, 2012 Hello donny, what does it currently say in your settings.inc.php Link to comment Share on other sites More sharing options...
donnytkc Posted September 25, 2012 Author Share Posted September 25, 2012 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 More sharing options...
donnytkc Posted September 25, 2012 Author Share Posted September 25, 2012 (edited) another thing is that since the base url change by mistake, i actually have typed in the same url (myshop.com) into the base url field, and then the url of my back office login change to http ://myshop.com/myshop.com/en/page-not-found something seems to be duplicated in url. Edited September 25, 2012 by donnytkc (see edit history) Link to comment Share on other sites More sharing options...
Kerm Posted September 26, 2012 Share Posted September 26, 2012 Just reinstall it... Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 26, 2012 Share Posted September 26, 2012 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? Link to comment Share on other sites More sharing options...
donnytkc Posted September 26, 2012 Author Share Posted September 26, 2012 by the way what is the best way to re install the shop ? Link to comment Share on other sites More sharing options...
donnytkc Posted September 26, 2012 Author Share Posted September 26, 2012 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 More sharing options...
donnytkc Posted September 27, 2012 Author Share Posted September 27, 2012 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 More sharing options...
benjamin utterback Posted September 27, 2012 Share Posted September 27, 2012 Hello Donny, I'm glad we could help. Thank you for choosing PrestaShop! I will go ahead and mark this thread as solved. Link to comment Share on other sites More sharing options...
k.Tara Posted January 16, 2016 Share Posted January 16, 2016 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 1 Link to comment Share on other sites More sharing options...
Recommended Posts