Click here to Skip to main content
15,889,808 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

when I open my site, the log in page is fine, but after log in the page is blank doesn't show anything. I'm assigned to edit and add some function to this project that is develop by someone else, it's running ok on their server, but when I setup on my pc I face this issue.

I went to the log I got this error, please help, thanks.

C++
[2016-05-30 14:36:35] request.CRITICAL: Uncaught PHP Exception cc\PiwikBundle\Exception\ConnectException: "exception 'GuzzleHttp\Ring\Exception\ConnectException' with message '0' in E:\project\piwik\vendor\guzzlehttp\ringphp\src\Client\CurlFactory.php:150 Stack trace: 

#0 E:\project\piwik\vendor\guzzlehttp\ringphp\src\Client\CurlFactory.php(89): GuzzleHttp\Ring\Client\CurlFactory::createErrorResponse(Object(GuzzleHttp\Ring\Client\CurlHandler), Array, Array) 
#1 E:\project\piwik\vendor\guzzlehttp\ringphp\src\Client\CurlHandler.php(77): GuzzleHttp\Ring\Client\CurlFactory::createResponse(Object(GuzzleHttp\Ring\Client\CurlHandler), Array, Array, Array, Resource id #439) 
#2 E:\project\piwik\vendor\guzzlehttp\ringphp\src\Client\Middleware.php(54): GuzzleHttp\Ring\Client\CurlHandler->__invoke(Array) 
#3 E:\project\piwik\vendor\guzzlehttp\ringphp\src\Client\Middleware.php(30): GuzzleHttp\Ring\Client\Middleware::GuzzleHttp\Ring\Client\{closure}(Array) 
#4 E:\project\piwik\vendor\guzzlehttp\guzzle\src\RequestFsm.php(138): GuzzleHttp\Ring\Client\Middleware::GuzzleHttp\Ring\Client\{closure}(Array) 
#5 E:\project\piwik\vendor\guzzlehttp\guzzle\src\RequestFsm.php(91): GuzzleHttp\RequestFsm->send(Object(GuzzleHttp\Transaction)) 
#6 E:\project\piwik\vendor\guzzlehttp\guzzle\src\Client.php(256): GuzzleHttp\RequestFsm->__invoke(Object(GuzzleHttp\Transaction)) 
#7 E:\project\piwik\src\cc\PiwikBundle\Client\Client.php(62): GuzzleHttp\Client->send(Object(GuzzleHttp\Message\Request)) 
#8 E:\project\piwik\src\cc\PiwikBundle\Provider\ClientProvider.php(42): cc\PiwikBundle\Client\Client->post('module=API&meth...', Array) 
#9 E:\project\piwik\src\cc\TagBundle\Proxy\AbstractProxy.php(81): cc\PiwikBundle\Provider\ClientProvider->post('module=API&meth...', Array) 
#10 E:\project\piwik\src\cc\TagBundle\Manager\TagManager.php(29): cc\TagBundle\Proxy\AbstractProxy->process(Object(cc\TagBundle\Model\RequestData)) 
#11 E:\project\piwik\src\cc\TagBundle\Provider\Provider.php(77): cc\TagBundle\Manager\TagManager->get() 
#12 E:\project\piwik\src\cc\TagBundle\Controller\TagController.php(25): cc\TagBundle\Provider\Provider->getTags() 
#13 [internal function]: cc\TagBundle\Controller\TagController->indexAction(Object(Symfony\Component\HttpFoundation\Request)) 
#14 E:\project\piwik\app\bootstrap.php.cache(2976): call_user_func_array(Array, Array) 
#15 E:\project\piwik\app\bootstrap.php.cache(2938): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) 
#16 E:\project\piwik\app\bootstrap.php.cache(3087): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) 
#17 E:\project\piwik\app\bootstrap.php.cache(2337): Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) 
#18 E:\project\piwik\web\app.php(27): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request)) 
#19 {main}  Next exception 'GuzzleHttp\Exception\ConnectException' with message '0' in E:\project\piwik\vendor\guzzlehttp\guzzle\src\Exception\RequestException.php:49 Stack trace: 

#0 E:\project\piwik\vendor\guzzlehttp\guzzle\src\RequestFsm.php(160): GuzzleHttp\Exception\RequestException::wrapException(Object(GuzzleHttp\Message\Request), Object(GuzzleHttp\Ring\Exception\ConnectException)) 
#1 E:\project\piwik\vendor\guzzlehttp\guzzle\src\RequestFsm.php(91): GuzzleHttp\RequestFsm->error(Object(GuzzleHttp\Transaction)) 
#2 E:\project\piwik\vendor\guzzlehttp\guzzle\src\RingBridge.php(121): GuzzleHttp\RequestFsm->__invoke(Object(GuzzleHttp\Transaction)) 
#3 E:\project\piwik\vendor\guzzlehttp\guzzle\src\RequestFsm.php(140): GuzzleHttp\RingBridge::completeRingResponse(Object(GuzzleHttp\Transaction), Array, Object(GuzzleHttp\Message\MessageFactory), Object(GuzzleHttp\RequestFsm)) 
#4 E:\project\piwik\vendor\react\promise\src\FulfilledPromise.php(24): GuzzleHttp\RequestFsm->GuzzleHttp\{closure}(Array) 
#5 E:\project\piwik\vendor\guzzlehttp\ringphp\src\Future\CompletedFutureValue.php(55): React\Promise\FulfilledPromise->then(Object(Closure), NULL, NULL) 
#6 E:\project\piwik\vendor\guzzlehttp\guzzle\src\Message\FutureResponse.php(43): GuzzleHttp\Ring\Future\CompletedFutureValue->then(Object(Closure), NULL, NULL) 
#7 E:\project\piwik\vendor\guzzlehttp\guzzle\src\RequestFsm.php(143): GuzzleHttp\Message\FutureResponse::proxy(Object(GuzzleHttp\Ring\Future\CompletedFutureArray), Object(Closure)) 
#8 E:\project\piwik\vendor\guzzlehttp\guzzle\src\RequestFsm.php(91): GuzzleHttp\RequestFsm->send(Object(GuzzleHttp\Transaction)) 
#9 E:\project\piwik\vendor\guzzlehttp\guzzle\src\Client.php(256): GuzzleHttp\RequestFsm->__invoke(Object(GuzzleHttp\Transaction)) 
#10 E:\project\piwik\src\cc\PiwikBundle\Client\Client.php(62): GuzzleHttp\Client->send(Object(GuzzleHttp\Message\Request)) 
#11 E:\project\piwik\src\cc\PiwikBundle\Provider\ClientProvider.php(42): cc\PiwikBundle\Client\Client->post('module=API&meth...', Array) 
#12 E:\project\piwik\src\cc\TagBundle\Proxy\AbstractProxy.php(81): cc\PiwikBundle\Provider\ClientProvider->post('module=API&meth...', Array) 
#13 E:\project\piwik\src\cc\TagBundle\Manager\TagManager.php(29): cc\TagBundle\Proxy\AbstractProxy->process(Object(cc\TagBundle\Model\RequestData)) 
#14 E:\project\piwik\src\cc\TagBundle\Provider\Provider.php(77): cc\TagBundle\Manager\TagManager->get() 
#15 E:\project\piwik\src\cc\TagBundle\Controller\TagController.php(25): cc\TagBundle\Provider\Provider->getTags() 
#16 [internal function]: cc\TagBundle\Controller\TagController->indexAction(Object(Symfony\Component\HttpFoundation\Request)) 
#17 E:\project\piwik\app\bootstrap.php.cache(2976): call_user_func_array(Array, Array) 
#18 E:\project\piwik\app\bootstrap.php.cache(2938): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) 
 ......... 

[2016-05-30 14:36:35] security.NOTICE: It is recommended that you enable the "openssl" extension for random number generation. [] []
-- 


What I have tried:

I have not tried anything, I don't know much about php
Posted
Updated 30-May-16 16:43pm
Comments
Sergey Alexandrovich Kryukov 30-May-16 22:42pm    
Sorry, it all makes no sense. This is the exception stack, and no code throwing the exception is shown.
To get help, you would need a serious effort to reliably reproduce the problem and present all relevant information.
If you find a way to do it, please use "Improve question".
—SA

1 solution

The error messages point to the Guzzle client and the PHP CURL.
1. If you already have an older version of Guzzle, then you may not have Install cURL Library in PHP[^]; or
2. Install the latest Guzzle[^] which does not require CURL.
Good luck.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900