MusikMachineMan Posted April 21, 2020 Share Posted April 21, 2020 hello i am just installing the last version of ps1.7 prestashop naturally changed the url of /admin to a more secured one and i'd like to change this one. is it only in the ftp filezilla ? do i need to change any right ? as when i did, i obtained a error 500 !! many thanks for your help Link to comment Share on other sites More sharing options...
theskrya Posted April 21, 2020 Share Posted April 21, 2020 Hello, Yes you can change it on ftp... Just don't use space or different characters (Only letters and numbers and - symbol) And dont forget to clear your all cache on ftp.. Cache/smarty/all files without index.php Link to comment Share on other sites More sharing options...
MusikMachineMan Posted April 23, 2020 Author Share Posted April 23, 2020 thanks for your help theskrya it's what i have tried earlier and i obtain an error 500 !! no file to erase in cache/smarty so i am surprised it doesn't work is there anything else to do ? Link to comment Share on other sites More sharing options...
jetway Posted April 23, 2020 Share Posted April 23, 2020 if your website is "mywebsite.com" go to the file manager and change the folder to "slkzierhifg68fdksd" then navigate to mywebsite.com/slkzierhifg68fdksd and you're good. Link to comment Share on other sites More sharing options...
MusikMachineMan Posted April 23, 2020 Author Share Posted April 23, 2020 1 minute ago, jetway said: if your website is "mywebsite.com" go to the file manager and change the folder to "slkzierhifg68fdksd" then navigate to mywebsite.com/slkzierhifg68fdksd and you're good. hello Jetway, thanks for your return it's what i've done from the beginning and i got a 500 server error.... Link to comment Share on other sites More sharing options...
jetway Posted April 23, 2020 Share Posted April 23, 2020 turn on debug mode and see what error is thrown back. Link to comment Share on other sites More sharing options...
MusikMachineMan Posted April 23, 2020 Author Share Posted April 23, 2020 (edited) 7 minutes ago, jetway said: turn on debug mode and see what error is thrown back. here is what i get : Exception in modules/welcome/controllers/admin/AdminWelcomeController.php (line 34) class AdminWelcomeController extends ModuleAdminController { public function postProcess() { if (!isset($_POST['action'])) { throw new Exception('The action to call is not defined.'); } if (!isset($_POST['value'])) { throw new Exception('The value to set is not defined.'); } AdminWelcomeController->postProcess() in classes/controller/Controller.php (line 281) if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) { $this->setMedia(); } // postProcess handles ajaxProcess $this->postProcess(); if (!empty($this->redirect_after)) { $this->redirect(); } ControllerCore->run() in classes/Dispatcher.php (line 515) if (isset($params_hook_action_dispatcher)) { Hook::exec('actionDispatcher', $params_hook_action_dispatcher); } // Running controller $controller->run(); // Execute hook dispatcher after if (isset($params_hook_action_dispatcher)) { Hook::exec('actionDispatcherAfter', $params_hook_action_dispatcher); } DispatcherCore->dispatch() in ********/index.php (line 97) if (!headers_sent()) { header('Content-Type: text/html; charset=utf-8'); } // Prepare and trigger LEGACY admin dispatcher Dispatcher::getInstance()->dispatch(); } Edited April 23, 2020 by MusikMachineMan (see edit history) 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