I'm getting that error when trying to set up site on localhost
Fatal error: Uncaught exception 'PDOException' with message
'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed:
No such host is known. ' in C:\xampp\htdocs\1\PHP Pro Bid
v7.6\library\Cube\Db\Adapter\PDO\Mysql.php:110 Stack trace: #0
C:\xampp\htdocs\1\PHP Pro Bid
v7.6\library\Cube\Db\Adapter\PDO\Mysql.php(110):
PDO->__construct('mysql:host=http...', 'ubidu_ge',
'AhJae!x5Gojetha...', Array) #1 C:\xampp\htdocs\1\PHP Pro Bid
v7.6\library\Cube\Db\Adapter\PDO\Mysql.php(135):
Cube\Db\Adapter\PDO\Mysql->_connect() #2 C:\xampp\htdocs\1\PHP Pro Bid
v7.6\module\Install\src\Install\Model\Parser.php(375):
Cube\Db\Adapter\PDO\Mysql->canConnect() #3 C:\xampp\htdocs\1\PHP Pro
Bid v7.6\module\Install\src\Install\Controller\Index.php(230):
Install\Model\Parser->parse(true) #4 C:\xampp\htdocs\1\PHP Pro Bid
v7.6\library\Cube\Controller\Dispatcher.php(131):
Install\Controller\Index->Index() #5 C:\xampp\htdocs\1\PHP Pro Bid
v7.6\library\Cube\Controller\Front.php(411):
Cube\Controller\Dispatcher->dispatch(Object(Cube\Controlle in
C:\xampp\htdocs\1\PHP Pro Bid
v7.6\library\Cube\Db\Adapter\PDO\Mysql.php on line 114
Related
I want to set up the repo of Jeffrey Wey from here with Laravel sail.
In the docs of laravel sail, I read how to setup everything:
I cloned the repo of Jeffrew Wey from here.
I did
composer require laravel/sail
then
php artisan sail:install
but here I get prompted with something which I cannot decide:
php artisan sail:install
Which services would you like to install? [mysql]:
[0] mysql
[1] pgsql
[2] mariadb
[3] redis
[4] memcached
[5] meilisearch
[6] minio
[7] mailhog
[8] selenium
I tried with 0 and then with 9 for mysql and got no error.
I tried starting the server with
APP_PORT=3002 WWWGROUP=1000 WWWUSER=1000 ./vendor/bin/sail up -d
But: Laravel is not accesible via the port 3002.
these are the docker containers running:
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
92687dc31ecd sail-8.1/app "start-container" 2 minutes ago Up 2 minutes 0.0.0.0:5173->5173/tcp, :::5173->5173/tcp, 8000/tcp, 0.0.0.0:3002->80/tcp, :::3002->80/tcp morph-laravel.test-1
eb763e3cd457 mysql/mysql-server:8.0 "/entrypoint.sh mysq…" 2 minutes ago Up 2 minutes (healthy) 0.0.0.0:3306->3306/tcp, :::3306->3306/tcp, 33060-33061/tcp morph-mysql-1
The error logs of the container are quite long:
$ docker logs morph-laravel.test-1
2022-10-04 18:03:38,800 INFO Set uid to user 0 succeeded
2022-10-04 18:03:38,807 INFO supervisord started with pid 1
2022-10-04 18:03:39,814 INFO spawned: 'php' with pid 16
PHP Fatal error: During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Illuminate\Support\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/laravel/framework/src/Illuminate/Collections/Collection.php:1411
Stack trace:
#0 /var/www/html/vendor/laravel/framework/src/Illuminate/Collections/Collection.php(11): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
#1 /var/www/html/vendor/composer/ClassLoader.php(571): include('...')
#2 /var/www/html/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile()
#3 /var/www/html/vendor/laravel/framework/src/Illuminate/Collections/helpers.php(15): Composer\Autoload\ClassLoader->loadClass()
#4 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(89): collect()
#5 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(78): Illuminate\Foundation\PackageManifest->config()
#6 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterFacades.php(26): Illuminate\Foundation\PackageManifest->aliases()
#7 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(237): Illuminate\Foundation\Bootstrap\RegisterFacades->bootstrap()
#8 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(310): Illuminate\Foundation\Application->bootstrapWith()
#9 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(127): Illuminate\Foundation\Console\Kernel->bootstrap()
#10 /var/www/html/artisan(37): Illuminate\Foundation\Console\Kernel->handle()
#11 {main} in /var/www/html/vendor/laravel/framework/src/Illuminate/Collections/Collection.php on line 11
PHP Fatal error: Uncaught ErrorException: Function must be enabled in php.ini by setting 'xdebug.mode' to 'develop' in /var/www/html/vendor/symfony/error-handler/Error/FatalError.php:37
Stack trace:
#0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
#1 /var/www/html/vendor/symfony/error-handler/Error/FatalError.php(37): xdebug_get_function_stack()
#2 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(143): Symfony\Component\ErrorHandler\Error\FatalError->__construct()
#3 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(130): Illuminate\Foundation\Bootstrap\HandleExceptions->fatalErrorFromPhpError()
#4 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown()
#5 {main}
thrown in /var/www/html/vendor/symfony/error-handler/Error/FatalError.php on line 37
2022-10-04 18:03:41,424 INFO success: php entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-04 18:03:41,426 INFO exited: php (exit status 255; not expected)
Is yaska supported in Linux? I tried installing it on CentOS and getting below error.
[root#390f68c98d2b yasca]# sh yasca.sh ./resources/test
Fatal error: Uncaught exception 'LogicException' with message 'Class Yasca\Scanner could not be loaded' in /var/www/html/yasca/Yasca/Main.php:36
Stack trace:
#0 /var/www/html/yasca/Yasca/Main.php(36): spl_autoload('Yasca\\Scanner')
#1 [internal function]: {closure}()
#2 /var/www/html/yasca/Yasca/Main.php(357): call_user_func(Object(Closure))
#3 /var/www/html/yasca/Yasca/Start.php(14): include('/var/www/html/y...')
#4 {main}
thrown in /var/www/html/yasca/Yasca/Main.php on line 36
Can someone please help in this?
I am using the poste.io mail server. While trying to issue the SSL cert using lets encrypt, it throws below error. Anyone has observed it already and could fix it?
[2016-11-08 00:12:44] LEScript.INFO: Account already registered. Continuing.
[2016-11-08 00:12:44] LEScript.INFO: Starting certificate generation process for domains
[2016-11-08 00:12:44] LEScript.INFO: Requesting challenge for mail.domain.ltd
[2016-11-08 00:12:45] LEScript.INFO: Sending signed request to /acme/new-authz
[2016-11-08 00:12:45] LEScript.INFO: Got challenge token for mail.domain.ltd
[2016-11-08 00:12:45] LEScript.INFO: Token for mail.domain.ltd saved at /opt/www//.well-known/acme-challenge/UEyhta88fiS_E5WTn-SOxKI-lqbsK1-eTOceiE_UnTQ and should be available at http://mail.domain.ltd/.well-known/acme-challenge/UEyhta88fiS_E5WTn-SOxKI-lqbsK1-eTOceiE_UnTQ
[2016-11-08 00:12:47] LEScript.ERROR: Please check http://mail.domain.ltd/.well-known/acme-challenge/UEyhta88fiS_E5WTn-SOxKI-lqbsK1-eTOceiE_UnTQ - token not available
[2016-11-08 00:12:47] LEScript.ERROR: #0 /opt/mailserver-admin/src/Analogic/LetsEncryptBundle/Handler/LeHandler.php(55): Analogic\ACME\Lescript->signDomains(Array)
[2016-11-08 00:12:47] LEScript.ERROR: #1 /opt/mailserver-admin/src/Analogic/LetsEncryptBundle/Controller/LeController.php(74): Analogic\LetsEncryptBundle\Handler\LeHandler->renew(true)
[2016-11-08 00:12:47] LEScript.ERROR: #2 [internal function]: Analogic\LetsEncryptBundle\Controller\LeController->issueAction(Object(Symfony\Component\HttpFoundation\Request))
[2016-11-08 00:12:47] LEScript.ERROR: #3 /opt/mailserver-admin/var/bootstrap.php.cache(3040): call_user_func_array(Array, Array)
[2016-11-08 00:12:47] LEScript.ERROR: #4 /opt/mailserver-admin/var/bootstrap.php.cache(2995): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
[2016-11-08 00:12:47] LEScript.ERROR: #5 /opt/mailserver-admin/var/bootstrap.php.cache(2335): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
[2016-11-08 00:12:47] LEScript.ERROR: #6 /opt/mailserver-admin/web/app.php(19): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request))
[2016-11-08 00:12:47] LEScript.ERROR: #7 {main}
Have posted in https://bitbucket.org/analogic/mailserver/issues/139/lets-encrypt-certificate-issue-exception but seems they only respond to pro customers. :(
Problem solved. My firewall disabled the port 25. Once the port is open, it started to work.
I upgraded from 1.9 to 1.9.1 via MagentoConnectManager. Everthing seems to work well and the site looks good. But the admin-page ist just a blank white page. I checked the .htaccess and the core_config_data table changed from http to https but nothing is working.
The exeption log shows (Links anonym):
xxxurlxxx ...app/Mage.php:595
Stack trace:
#0 xxxurlxxx ...app/code/core/Mage/Api/Model/Server.php(127): Mage::throwException('Invalid webserv...')
#1 xxxurlxxx ...api.php(78): Mage_Api_Model_Server->initialize(NULL)
#2 {main}
2015-02-28T00:31:47+00:00 ERR (3):
exception 'Mage_Core_Exception' with message 'Invalid webservice adapter specified.' in xxxurlxxx ...app/Mage.php:595
Stack trace:
#0 xxxurlxxx ...app/code/core/Mage/Api/Model/Server.php(127): Mage::throwException('Invalid webserv...')
#1 xxxurlxxx ...api.php(78): Mage_Api_Model_Server->initialize(NULL)
#2 {main}
2015-03-06T10:03:41+00:00 ERR (3):
exception 'Mage_Core_Exception' with message 'Invalid webservice adapter specified.' in xxxurlxxx ...app/Mage.php:595
Stack trace:
#0 xxxurlxxx ...app/code/core/Mage/Api/Model/Server.php(127): Mage::throwException('Invalid webserv...')
#1 xxxurlxxx ...api.php(78): Mage_Api_Model_Server->initialize(NULL)
#2 {main}
Can anybody please help and give me a hind what to do?
The page is h**p://....vinocada.de bye the way.
Best regards,
Markus
I haven't done any work on my Joomla site in a while- no new changes. I just visited the home page and it returns this error. Any ideas on what this may be?
Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Could not find template "yoo_avenue".' in /hermes/bosweb25b/b905/ipg.stokestackbbqcom/avenue/libraries/cms/application/site.php:510 Stack trace: #0 /hermes/bosweb25b/b905/ipg.stokestackbbqcom/avenue/libraries/legacy/error/error.php(778): JApplicationSite->getTemplate() #1 /hermes/bosweb25b/b905/ipg.stokestackbbqcom/avenue/plugins/system/redirect/redirect.php(130): JError::customErrorPage(Object(InvalidArgumentException)) #2 [internal function]: PlgSystemRedirect::handleError(Object(InvalidArgumentException)) #3 {main} thrown in /hermes/bosweb25b/b905/ipg.stokestackbbqcom/avenue/libraries/cms/application/site.php on line 510