Jump to content

[SOLVED] Various backend issues with Debug mode and modules/dashboard all at once.


9smiths

Recommended Posts

I Solved the debug error by following this post: 

 

 

and I solved the Dashboard/Module config errors by downloading a fresh copy of prestashop 8.1.6 and replaced the Jquery file in js/jquery/jquery-3.5.1.min.js

 

 

 

Hi, I've been having weird issues with the backend ever since fixing the site being down, I've been trying to fix it for a while and if anyone can help I'd very much appreciate it.

I'm using Prestashop 8.1.6, and I'm suddenly having a problem with configuring my modules, it seems most modules have non-responsive buttons, and my Dashboard has no information on it. On the Dashboard and the modules screen the Prestashop loading icon is stuck loading and never goes away like it does on other screen, and the console shows various different errors on both the dashboard and the module configuration pages.

The specific issues I'm having include:

-Trying to add, remove, or move items in my top horizontal menu module

-Trying to switch to different tabs on any module config

-Attempting to disable module's has no effect on the front end (Even after cache clear.)

-No information on the Dashboard

-Debug mode immediately shows a "username" error before I go to any particular page in the backend (Image shared). I have to disable it through the file browser after this.

-Other weird issues like modules not disabling the first few times or not updating until I've tried several times.

The issue seemed to start when I woke up to my site being down and I contacted my host provider and did various steps to eventually fix the issue, the only notable thing I did on my end was update all my modules, but I've tried disabling many different modules and it didn't seem to fix the issue, so I thought there must be better way to try and pinpoint the issue rather than randomly taking shots in the dark.

What I've tried:

- Different Browsers (Chrome, Edge, Vivaldi)

- Disabling new or unused modules

- Replacing my top horizontal menu module with a fresh isntall via the server file browser

- Emptying Cache

- Updating all other out of date modules until the list was clear'

 

And I don't know if if it's related but I'm also having FTP issues where it claims the Disk is full when it is not, and I've contacted my host provider about this issue and they are looking into it.

I shared a picture of my dashboard with the loading symbol in the top left that won't go away, a picture of about half the error logs that show up on every page that has that same loading icon or page issues, and the error I get attempting to enter debug mode.

image.png.ae75f859e2289fc146b7689a386635f4.pngimage.thumb.png.aed4a39f6b5f67ffd10c4e7e6056fa31.pngScreenshot2025-12-08113659.thumb.png.e8de26bcdf648760787604c070111eb4.png

Edited by 9smiths
Solved (see edit history)
Link to comment
Share on other sites

So the error are clearly point to missing token. Post the full error stack trace to see where its coming from.
Might be related to your space issue, try to get this fixed first. Some hosting providers limit the number of files (quota), space seems free but number of files get exceeded.

Link to comment
Share on other sites

8 hours ago, JBW said:

So the error are clearly point to missing token. Post the full error stack trace to see where its coming from.
Might be related to your space issue, try to get this fixed first. Some hosting providers limit the number of files (quota), space seems free but number of files get exceeded.

Hi, thanks for the reply! The ftp problem was solved with my host provider, but unfortunately it was unrelated to the backend issues and I'm still having the same problems. Alright, here are the full error stacks (There are two of them:)

RuntimeException:
Failed to start the session: already started by PHP.

  at /home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:148
  at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start()
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:57)
  at Symfony\Component\HttpFoundation\Session\Session->start()
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/Security/Csrf/TokenStorage/SessionTokenStorage.php:77)
  at Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage->hasToken('https-ANONYMOUS_USER')
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/Security/Csrf/CsrfTokenManager.php:72)
  at Symfony\Component\Security\Csrf\CsrfTokenManager->getToken('ANONYMOUS_USER')
     (/home4/[Redacted]/public_html/[Redacted]/src/PrestaShopBundle/Service/Routing/Router.php:64)
  at PrestaShopBundle\Service\Routing\Router->generate('api_doc', array('_format' => 'jsonld'), 0)
     (/home4/[Redacted]/public_html/[Redacted]/vendor/api-platform/core/src/Symfony/Routing/Router.php:107)
  at ApiPlatform\Symfony\Routing\Router->generate('api_doc', array('_format' => 'jsonld'), 0)
     (/home4/[Redacted]/public_html/[Redacted]/vendor/api-platform/core/src/Hydra/EventListener/AddLinkHeaderListener.php:50)
  at ApiPlatform\Hydra\EventListener\AddLinkHeaderListener->onKernelResponse(object(ResponseEvent), 'kernel.response', object(TraceableEventDispatcher))
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php:126)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(ResponseEvent), 'kernel.response', object(TraceableEventDispatcher))
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:264)
  at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.response', object(ResponseEvent))
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:239)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.response', object(ResponseEvent))
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:73)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(ResponseEvent), 'kernel.response')
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php:168)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(ResponseEvent), 'kernel.response')
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:202)
  at Symfony\Component\HttpKernel\HttpKernel->filterResponse(object(Response), object(Request), 2)
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:190)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 2)
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:81)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 2, false)
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/ErrorListener.php:60)
  at Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php:126)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:264)
  at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.exception', object(ExceptionEvent))
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:239)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.exception', object(ExceptionEvent))
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:73)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php:168)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:229)
  at Symfony\Component\HttpKernel\HttpKernel->handleThrowable(object(ErrorException), object(Request), 1)
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:120)
  at Symfony\Component\HttpKernel\HttpKernel->terminateWithException(object(ErrorException), object(Request))
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/DebugHandlersListener.php:129)
  at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::Symfony\Component\HttpKernel\EventListener\{closure}(object(ErrorException))
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/ErrorHandler/ErrorHandler.php:601)
  at Symfony\Component\ErrorHandler\ErrorHandler->handleException(object(ErrorException))                
ErrorException:
Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/cpanel/php/sessions/ea-php83) failed: Permission denied (13)

  at /home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/StrictSessionHandler.php:116
  at Symfony\Component\HttpFoundation\Session\Storage\Handler\StrictSessionHandler->gc(1440)
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/SessionHandlerProxy.php:91)
  at Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy->gc(1440)
  at session_start()
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:192)
  at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start()
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:359)
  at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag('attributes')
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:251)
  at Symfony\Component\HttpFoundation\Session\Session->getBag('attributes')
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:273)
  at Symfony\Component\HttpFoundation\Session\Session->getAttributeBag()
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:73)
  at Symfony\Component\HttpFoundation\Session\Session->get('_security_main')
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/ContextListener.php:119)
  at Symfony\Component\Security\Http\Firewall\ContextListener->authenticate(object(RequestEvent))
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Bundle/SecurityBundle/Debug/WrappedLazyListener.php:49)
  at Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener->authenticate(object(RequestEvent))
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/AbstractListener.php:27)
  at Symfony\Component\Security\Http\Firewall\AbstractListener->__invoke(object(RequestEvent))
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Bundle/SecurityBundle/Debug/TraceableFirewallListener.php:62)
  at Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener->callListeners(object(RequestEvent), object(Generator))
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall.php:98)
  at Symfony\Component\Security\Http\Firewall->onKernelRequest(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php:126)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:264)
  at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(RequestEvent))
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:239)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(RequestEvent))
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:73)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php:168)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:145)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:81)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, false)
     (/home4/[Redacted]/public_html/[Redacted]/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:201)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request), 1, false)
     (/home4/[Redacted]/public_html/[Redacted]/admin748a1rbgseu01p5ydqi/index.php:84)    

 

Link to comment
Share on other sites

I fixed the debug error issue, my solution was here: 

 

merely changing the settings in the php.ini did not work, but I had to do it through the cpanel as he said in the quote. Still having some other issues but they are unrelated to debug mode so I will make a new thread.

Link to comment
Share on other sites

  • 9smiths changed the title to [SOLVED] Various backend issues with Debug mode and modules/dashboard all at once.

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
×
×
  • Create New...