ZF2 project without composer - zend-framework2

I have to run a ZF2 project on a production server where I have no internet connection, so please don't answer with; "get composer" ;)
I copied the whole project from a running environment and now I have an error and I do not find the answer:
Fatal error: Uncaught exception 'Zend\Loader\Exception\InvalidArgumentException' with message 'Autoloader class Zend\Loader\StandardAutoloader must implement Zend\Loader\SplAutoloader'
I have a presumption it has to do with composer but how will I solve this? Thank you for any answer... Andrea

Related

Error with Slick Module when clearing cache during installation

Has anyone run into this before?
I am doing a local install of Drupal 8 with docker and composer. I'm on a Windows machine using WSL. When I clear the cache (drush cr), I get this error:
Service "slick.manager": Parent definition "blazy.manager.base" does not exist.
Both Slick and Blazy modules and libraries are present. When I try to go to the site it says "The website encountered an unexpected error. Please try again later."
Any help would be greatly appreciated.
Just uninstall the slick module, load the site, install blazy, then enable the slick module again. It's an "ordering" issue due to a new dependency.
See; https://www.drupal.org/project/slick/issues/2702241
It's a bit of a workaround but it should solve your problem.
If this isn't the issue, then please update your question with the output of;
drush pml --status=enabled
(Just for the two modules if you don't wish to copy everything here).

Nuxt.js - Cannot resolve "#nuxtjs/toast'

I'm using Nuxt to create my frontend application in which I would like to add vue-toasted.
However after installing following the documentation :
yarn add vue-toasted
add '#nuxtjs/toast' to modules into the nuxt.config.js file
The server cannot build due to this error :
ERROR Nuxt error
Error: Cannot resolve "#nuxtjs/toast" from "/front/nuxtjs/toast"
I am running nuxt in a docker container but I already installed depencies succesfully such as bootstrap-vue…
I posted my question on nuxt forum but it seems to be completly dead.
Thanks in advance for your help !
Nevermind, it was a silly mistake on my hand, it was the package #nuxtjs/toast that needed to be installed and not vue-toasted -.-

IBMWebsphere gives SRVE0190E: File not found ERROR

I am using docker to deploy and run my application. Everything is fine during deployment and running my application.I am using dockerDeploy and restartWas commends in order to deploy and run my application.
After I run my application , my login and password comes to my screen. Everything is fine at that step as well but after I write my login and password, I come across with the error below. I did not change anything in the code but after I restart docker I come across with the following error.
I restarted docker and also computer several times but I still come across with that. I would be glad if you can help me.
Regards
Error Page Exception
SRVE0260E: The server cannot use the error page specified for your application to handle the Original Exception printed below.
Original Exception:
Error Message: SRVE0190E: File not found: {0}
Error Code: 404
Target Servlet:
Error Stack:
com.ibm.ws.webcontainer.webapp.WebAppErrorReport: SRVE0190E: File not found: {0}

Grails internall error with new controller

I just created Intellij grails app,first I opened the console and did : grails create-app helloworld, cd helloworld and I started the app on localhost and everything was ok but then I opened the project with intelliJ and created a controller to print the message "hi" and build the project.
After I closed IntelliJ I went back to the terminal and tried to run the app but it gave me this error:
Error 500: Internal Server Error
URI
/testc/index
Class
javax.servlet.ServletException
Message
Could not resolve view with name '/testc/index' in servlet with name 'grailsDispatcherServlet'
Fairly impossible to answer without some example code, but generating a controller does not magically make the output appear. Your clue is in the "Could not resolve view with name..." I'd suggest a read through the grails docs. No sense repeating all that good information here.

symfony plugin installation failing [bhLDAPAuthPlugin]

I'm working on a symfony project and I need a user access conected to an LDAP server. So I searched for something already done to add to my app and found this plugin that has all I wanted.
So I tried to install with the command $ php symfony plugin:install bhLDAPAuthPlugin
for some reason it throws me this error:
No release avaiable for plugin "bhLDAPAuthPlugin"
I don't really understand what that message means. I've checked the spell of the command (also copied the command given in the page of the plugin) and same error appears. If I had no all requeriments for instalation, other errors would be thrown, right?
PS: If you know some easy way to implement by myself the comunication with LDAP (Microsoft Active Directory) will also be appreciated.
No exactly sure how to solve the error message, perhaps it helps is specifically specify which version you wish to install.
Otherwise there's an easy workaround:
Just download the tgz file from here:
http://www.symfony-project.org/plugins/bhLDAPAuthPlugin/6_0_0
and do
php symfony plugin:install bhLDAPAuthPlugin-etc-etc.tgz

Resources