Jump to content

change ftp folder to backoffice url access


MusikMachineMan
 Share

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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....

Share this post


Link to post
Share on other sites

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();

}

bug1.thumb.jpg.1cfd62a02a99bfd74196ed1e8b609e1d.jpg

bug2.thumb.jpg.d5d63d48394c61385059969c41210200.jpg

bug3.thumb.jpg.e3327e886454f4325cb25dfc16480f39.jpg

Edited by MusikMachineMan (see edit history)

Share this post


Link to post
Share on other sites

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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More