Advanced PHP: error in soapclient - php

I am getting following error while accessing methods from strimics system in "soapclient"
Fatal error:
Uncaught SoapFault exception: [HTTP] Unauthorized in C:\wamp\www\studiofathom\test.php:25
Stack trace:
#0 [internal function]: SoapClient->__doRequest('<?xml version="...', 'https://fathomc...', 'tempuri....', 1, 0)
#1 C:\wamp\www\studiofathom\test.php(25): SoapClient->__soapCall('CreateCustomer', Array)
#2 {main} thrown in C:\wamp\www\studiofathom\test.php on line 25

Have you tried any other actions on this soap-server? Does it require authentication? As far as I know, you're simply not authenticated to use it (or this method)...

Related

Fatal error: Uncaught UnexpectedValueException: There is no existing directory at nginx Webserver Error Permission denied

after i vitited my nginx website i will get the following error:
Fatal error: Uncaught UnexpectedValueException: There is no existing directory at "/var/www/html/bootstrap/../storage/logs" and it could not be created: Permission denied in /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:216 Stack trace: #0 /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php(135): Monolog\Handler\StreamHandler->createDir('/var/www/html/b...') #1 /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(48): Monolog\Handler\StreamHandler->write(Array) #2 /var/www/html/vendor/monolog/monolog/src/Monolog/Logger.php(327): Monolog\Handler\AbstractProcessingHandler->handle(Array) #3 /var/www/html/vendor/monolog/monolog/src/Monolog/Logger.php(500): Monolog\Logger->addRecord(500, 'Uncaught Except...', Array) #4 /var/www/html/vendor/monolog/monolog/src/Monolog/ErrorHandler.php(194): Monolog\Logger->log(500, 'Uncaught Except...', Array) #5 /var/www/html/vendor/monolog/monolog/src/Monolog/ErrorHandler.php(94): Monolog\ErrorHandler->handl in /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 216
Fatal error: Uncaught UnexpectedValueException: There is no existing directory at "/var/www/html/bootstrap/../storage/logs" and it could not be created: Permission denied in /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:216 Stack trace: #0 /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php(135): Monolog\Handler\StreamHandler->createDir('/var/www/html/b...') #1 /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(48): Monolog\Handler\StreamHandler->write(Array) #2 /var/www/html/vendor/monolog/monolog/src/Monolog/Logger.php(327): Monolog\Handler\AbstractProcessingHandler->handle(Array) #3 /var/www/html/vendor/monolog/monolog/src/Monolog/Logger.php(500): Monolog\Logger->addRecord(550, 'Fatal Error (E_...', Array) #4 /var/www/html/vendor/monolog/monolog/src/Monolog/ErrorHandler.php(250): Monolog\Logger->log(550, 'Fatal Error (E_...', Array) #5 [internal function]: Monolog\ErrorHandler->handleFatalError() #6 {main} thrown in /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 216
Does anyone know how do i fix this?
thank you and best regards

Fatal error: Uncaught Error: Class 'Elementor\Controls_Manager' not found

I'm having this error in my wordpress website.
Fatal error: Uncaught Error: Class 'Elementor\Controls_Manager' not found in /home/vol15_6/epizy.com/epiz_26758330/htdocs/wp-content/plugins/elementor/includes/autoloader.php:132 Stack trace: #0 /home/vol15_6/epizy.com/epiz_26758330/htdocs/wp-content/plugins/elementor/includes/autoloader.php(78): Elementor\Autoloader::init_classes_map() #1 /home/vol15_6/epizy.com/epiz_26758330/htdocs/wp-content/plugins/elementor/includes/autoloader.php(252): Elementor\Autoloader::get_classes_map() #2 /home/vol15_6/epizy.com/epiz_26758330/htdocs/wp-content/plugins/elementor/includes/autoloader.php(305): Elementor\Autoloader::load_class('Core\\Logger\\Man...') #3 [internal function]: Elementor\Autoloader::autoload('Elementor\\Core\\...') #4 /home/vol15_6/epizy.com/epiz_26758330/htdocs/wp-content/plugins/elementor/includes/plugin.php(708): spl_autoload_call('Elementor\\Core\\...') #5 /home/vol15_6/epizy.com/epiz_26758330/htdocs/wp-content/plugins/elementor/includes/plugin.php(487): Elementor\Plugin->__construct() #6 /home/vol15_6/epizy.com/e in /home/vol15_6/epizy.com/epiz_26758330/htdocs/wp-content/plugins/elementor/includes/autoloader.php on line 132
The solution was to downgrade elementor to an older version of 3.0.11.

Invalid Parameter – yii\base\InvalidParamException The file or directory to be published does not exist: /frontend/web

Moved the site from one server to another with postgresql database. Db has been connected. Then I used this command:
composer install
While loading the site, yii debugger shows an error
What is more, composer update shows many errors in console:
PHP Fatal error: Uncaught Error: Call to undefined method Composer\Package\RootPackage::getConfig() in /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/Config/ConfigBuilder.php:111
Stack trace:
#0 /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/Config/ConfigBuilder.php(74): Fxp\Composer\AssetPlugin\Config\ConfigBuilder::getConfigBase(Object(Composer\Composer), Object(Composer\IO\ConsoleIO))
#1 /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/FxpAssetPlugin.php(82): Fxp\Composer\AssetPlugin\Config\ConfigBuilder::build(Object(Composer\Composer), Object(Composer\IO\ConsoleIO))
#2 /usr/share/php/Composer/Plugin/PluginManager.php(215): Fxp\Composer\AssetPlugin\FxpAssetPlugin->activate(Object(Composer\Composer), Object(Composer\IO\ConsoleIO))
#3 /usr/share/php/Composer/Plugin/PluginManager.php(188): Composer\Plugin\PluginManager->addPlugin(Object(Fxp\Composer\AssetPlugin\FxpAssetPlugin))
#4 /usr/share/php/Composer/Installer/PluginInstaller.php(62): Composer\Pl in /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/Config/ConfigBuilder.php on line 111
Fatal error: Uncaught Error: Call to undefined method Composer\Package\RootPackage::getConfig() in /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/Config/ConfigBuilder.php:111
Stack trace:
#0 /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/Config/ConfigBuilder.php(74): Fxp\Composer\AssetPlugin\Config\ConfigBuilder::getConfigBase(Object(Composer\Composer), Object(Composer\IO\ConsoleIO))
#1 /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/FxpAssetPlugin.php(82): Fxp\Composer\AssetPlugin\Config\ConfigBuilder::build(Object(Composer\Composer), Object(Composer\IO\ConsoleIO))
#2 /usr/share/php/Composer/Plugin/PluginManager.php(215): Fxp\Composer\AssetPlugin\FxpAssetPlugin->activate(Object(Composer\Composer), Object(Composer\IO\ConsoleIO))
#3 /usr/share/php/Composer/Plugin/PluginManager.php(188): Composer\Plugin\PluginManager->addPlugin(Object(Fxp\Composer\AssetPlugin\FxpAssetPlugin))
#4 /usr/share/php/Composer/Installer/PluginInstaller.php(62): Composer\Pl in /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/Config/ConfigBuilder.php on line 111

Google Analytics API Error with PHP

I'm following this example https://developers.google.com/analytics/devguides/reporting/core/v3/quickstart/web-php
And when I excecute I get this error
Fatal error: Uncaught exception 'Google_Service_Exception' with
message 'Error calling GET
https://www.googleapis.com/analytics/v3/data/ga?ids=ga%3AXXXX&start-date=2015-10-26&end-date=2015-10-26&metrics=ga%3Apageviews&dimensions=ga%3Ahostname%2Cga%3ApagePath&sort=-ga%3Apageviews&filters=ga%3Aday%3D%3D26:
(500) There was an internal error.' in
/expert/htwebs/bbdd.introl.es/docs/recogida/v2/administracion/google2/google-api-php-client/src/Google/Http/REST.php:110
Stack trace: #0
/expert/htwebs/bbdd.introl.es/docs/recogida/v2/administracion/google2/google-api-php-client/src/Google/Http/REST.php(62):
Google_Http_REST::decodeHttpResponse(Object(Google_Http_Request),
Object(Google_Client)) #1 [internal function]:
Google_Http_REST::doExecute(Object(Google_Client),
Object(Google_Http_Request)) #2
/expert/htwebs/bbdd.introl.es/docs/recogida/v2/administracion/google2/google-api-php-client/src/Google/Task/Runner.php(174):
call_user_func_array(Array, Array) #3
/expert/htwebs/bbdd.introl.es/docs/recogida/v2/administracion/google2/
in
/expert/htwebs/bbdd.introl.es/docs/recogida/v2/administracion/google2/google-api-php-client/src/Google/Http/REST.php
on line 110
How can I resolve this error?

ZEND Session Exception

after migrating to a new server, emails progammes with a crontab not send more, the script responsible for sending, returns this error :
Fatal error: Uncaught exception 'Zend_Session_Exception' with message 'Session must be started before any output has been sent to the browser; output started in /srv/www/assystemps/public/index_cron.php/2' in /srv/www/assystemps/library/Zend/Session.php:443
Stack trace:
#0 /srv/www/assystemps/library/Zend/Session/Namespace.php(143): Zend_Session::start(true)
#1 /srv/www/assystemps/library/Zend/Auth/Storage/Session.php(87): Zend_Session_Namespace->__construct('Zend_Auth')
#2 /srv/www/assystemps/library/Zend/Auth.php(91): Zend_Auth_Storage_Session->__construct()
#3 /srv/www/assystemps/library/Zend/Auth.php(151): Zend_Auth->getStorage()
#4 /srv/www/assystemps/application/AssystempsApplication.php(236): Zend_Auth->getIdentity()
#5 /srv/www/assystemps/public/index_cron.php(121): AssystempsApplication->envoyerMailErreur(Object(Zend_Cache_Exception))
#6 {main}
thrown in /srv/www/assystemps/library/Zend/Session.php on line 443

Categories