josto111
josto111

per topic name Cant reach /backend - after a couple of months without touching anything

  1. Trying to log in with - admin user name with a password, I have stored = not working

  2. got to google to reset the password via - php DB, artisan seed command, etc

  • running this - > php artisan db:seed --class="\Backend\Database\Seeds\SeedSetupAdmin" = is ruselting in this

    PHP Fatal error:  Uncaught ErrorException: Method ReflectionParameter::getClass() is deprecated in /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Container/Container.php:811
    Stack trace:
    #0 /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Container/Container.php(811): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
    #1 /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Container/Container.php(780): Illuminate\Container\Container->resolveDependencies()
    #2 /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Container/Container.php(631): Illuminate\Container\Container->build()
    #3 /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Container/Container.php(586): Illuminate\Container\Container->resolve()
    #4 /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(732): Illuminate\Container\Container->make()
    #5 /home/kozmetikagabriela.sk/web/vendor/october/rain/src/Foundation/Application.php(158): Illuminate\Foundation\Application->make()
    #6 /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Container/Container.php(256): October\Rain\Foundation\Application->make()
    #7 /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Container/Container.php(749): Illuminate\Container\Container->Illuminate\Container\{closure}()
    #8 /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Container/Container.php(631): Illuminate\Container\Container->build()
    #9 /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Container/Container.php(586): Illuminate\Container\Container->resolve()
    #10 /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(732): Illuminate\Container\Container->make()
    #11 /home/kozmetikagabriela.sk/web/vendor/october/rain/src/Foundation/Application.php(158): Illuminate\Foundation\Application->make()
    #12 /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(159): October\Rain\Foundation\Application->make()
    #13 /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(101): Illuminate\Foundation\Bootstrap\HandleExceptions->getExceptionHandler()
    #14 /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(87): Illuminate\Foundation\Bootstrap\HandleExceptions->renderForConsole()
    #15 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleException()
    #16 {main}
    thrown in /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 811
    PHP Fatal error:  Uncaught ErrorException: Method ReflectionParameter::getClass() is deprecated in /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Container/Container.php:811
    Stack trace:
    #0 /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Container/Container.php(811): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
    #1 /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Container/Container.php(780): Illuminate\Container\Container->resolveDependencies()
    #2 /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Container/Container.php(631): Illuminate\Container\Container->build()
    #3 /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Container/Container.php(586): Illuminate\Container\Container->resolve()
    #4 /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(732): Illuminate\Container\Container->make()
    #5 /home/kozmetikagabriela.sk/web/vendor/october/rain/src/Foundation/Application.php(158): Illuminate\Foundation\Application->make()
    #6 /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Container/Container.php(256): October\Rain\Foundation\Application->make()
    #7 /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Container/Container.php(749): Illuminate\Container\Container->Illuminate\Container\{closure}()
    #8 /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Container/Container.php(631): Illuminate\Container\Container->build()
    #9 /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Container/Container.php(586): Illuminate\Container\Container->resolve()
    #10 /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(732): Illuminate\Container\Container->make()
    #11 /home/kozmetikagabriela.sk/web/vendor/october/rain/src/Foundation/Application.php(158): Illuminate\Foundation\Application->make()
    #12 /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(159): October\Rain\Foundation\Application->make()
    #13 /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(101): Illuminate\Foundation\Bootstrap\HandleExceptions->getExceptionHandler()
    #14 /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(87): Illuminate\Foundation\Bootstrap\HandleExceptions->renderForConsole()
    #15 /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(123): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException()
    #16 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown()
    #17 {main}
    thrown in /home/kozmetikagabriela.sk/web/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 811
  • any command like

    php artisan october:update
    php artisan october:down
    php artisan october:up

    Is ending with the same error like above

  • changing password directly in DB is resulting with me not able to login -- even i hash the password and put it inside the login screen -- login with admin / admin = no login

Any advice how can i login to /backend ?? im frustrated :D

Last updated

jtdoank
jtdoank

Hi,

I am not sure that i can help cause i just learning about octoberCMS. you can try this perhaps

https://octobercms.com/docs/console/commands#change-backend-user-password-command

for me, works like a charm

Thanks

josto111
josto111

That's the case the command is giving me the error I mentioned above - PHP or something (artisan) is not properly working for me? I'm also out of this knowledge so I don't know how to fix it

jtdoank
jtdoank

I see, perhaps anyone here can help or give solution that have face the same thing before

So sorry can't help

Eoler
Eoler

josto111 said: That's the case the command is giving me the error I mentioned above - PHP or something (artisan) is not properly working for me? I'm also out of this knowledge so I don't know how to fix it

Downgrade from PHP 8 to 7.x: https://php.watch/versions/8.0/deprecated-reflectionparameter-methods

josto111
josto111

seem that how i left the webpage 1 year ago im using Apache 2.4 and PHP 7.2 :O

Last updated

Eoler
Eoler

josto111 said: seem that how i left the webpage 1 year ago im using Apache 2.4 and PHP 7.2 :O

If it's not you then maybe it's webhosting? This method is missing in PHP8: Method ReflectionParameter::getClass() is deprecated

1-7 of 7