Error Zend Servicemanager Exception Servicenotfoundexception

Asked

Viewed 215 times

1

Have you seen the error below, when you put the web app on the Digital Ocean server?

An error occurred During Execution; Please Try Again later.

Additional information:

Zend Servicemanager Exception Servicenotfoundexception

File: /var/www/site.com.br/vendor/zendframework/zend-servicemanager/src/Abstractpluginmanager.php:195 Message: Zend Mvc Controller Controllermanager::createFromInvokable: failed retrieving "websitecontrolleriteracaousuario(alias: Website Controller Iteracaousuario)" via invokable class "Website Controller Iteracaousuariocontroller"; class does not exist

Stack trace:

#0 /var/www/site.com.br/vendor/zendframework/zend-servicemanager/src/Servicemanager.php(642): Zend Servicemanager Abstractpluginmanager->createFromInvokable('websitecontroll...', 'Website Control...')

#1 /var/www/site.com.br/vendor/zendframework/zend-servicemanager/src/Servicemanager.php(598): Zend Servicemanager Servicemanager->doCreate('Website Control...', 'websitecontroll...')

#2 /var/www/site.com.br/vendor/zendframework/zend-servicemanager/src/Servicemanager.php(530): Zend Servicemanager Servicemanager->create(Array)

#3 /var/www/site.com.br/vendor/zendframework/zend-servicemanager/src/Abstractpluginmanager.php(116): Zend Servicemanager Servicemanager->get('Website Control...', false)

#4 /var/www/lsite.com.br/vendor/zendframework/zend-mvc/src/Controller/Controllermanager.php(137): Zend Servicemanager Abstractpluginmanager->get('Website Control...', Array, false)

#5 /var/www/site.com.br/vendor/zendframework/zend-mvc/src/Dispatchlistener.php(76): Zend Mvc Controller Controllermanager->get('Website Control...')

#6 [Internal Function]: Zend Mvc Dispatchlistener->onDispatch(Object(Zend Mvc Mvcevent))

#7 /var/www/site.com.br/vendor/zendframework/zend-eventmanager/src/Eventmanager.php(444): call_user_func(Array, Object(Zend Mvc Mvcevent))

#8 /var/www/site.com.br/vendor/zendframework/zend-eventmanager/src/Eventmanager.php(205): Zend Eventmanager Eventmanager->triggerListeners('Dispatch', Object(Zend Mvc Mvcevent), Object(Closure))

#9 /var/www/site.com.br/vendor/zendframework/zend-mvc/src/Application.php(314): Zend Eventmanager Eventmanager->Trigger('Dispatch', Object(Zend Mvc Mvcevent), Object(Closure))

#10 /var/www/site.com.br/public/index.php(28): Zend Mvc Application->run()

#11 {main}

  • 3

    How did you post this application there? Did you use Poser? Filezilla? Git? Please give more information. You can edit your question if necessary

  • Hello @Wallacemaxters good morning, my dev used Bitckbucket, he climbed this app that was ok to Digital Ocean’s Linux server and gave this same error in 3 pages.

  • Do you know if he spun the composer update after uploading this app? If it is using git, it is likely that the folder vendor did not "go up" because we developers do not usually put it in the repository.

  • 1

    Carla, I’m going to format this "trace" of php there, because it’s kind of hard to understand

  • @Wallacemaxters I’ll check with him and come back later with the answer, thank you

  • Another thing. Check if he developed the system on Windows and then switched to Linux. Because I’m noticing that the name websitecontroller is all lower case, but in Linux operating systems, there is difference in case or lower case sensitivity for folder names. This may generate "folder not found errors"

  • Ah @Wallacemaxters he did from the beginning on Linux.

  • @Wallacemaxters dev used yes Poser and git

  • If you need to talk to me at Hangouts, you can talk to me at [email protected]

Show 4 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.