Why does curl error after version update? - php

After update version of ci 3.1.1 & php 7.3 there is a error in curl call using rest library in codeingiter
error like : 45bind failed with errno 10014: Bad argument
i make a manual call using curl working perfect but using curl library there is a error like above. any solutions?

Related

Error in class.phpmailer.php

I am using the phpmailer api to send mails in a joomla site with the RSForm! Pro 1.52.9 component.
All was working ok but today I start to getting the following error when summiting a form build with the RSForm component:
PHP Fatal error: Only variables can be passed by reference in .../libraries/vendor/phpmailer/phpmailer/class.phpmailer.php on line 1182
I am using joomla 3.6 and my php version is php 5.3
The problem was resolved by changing the php version to 5.6.

Getting session error when using codeigniter inside glassfish

I am using glassfish4 server and codeigniter php framework.
I am new to glassfish server. I followed the oracle documentation for installing and configuring glassfish4 with quercus-4.0.1 and simple php scripts running well.
But when come to codeigniter framework, I got the following error:
Message: Method call 'item' is not allowed for a null value.Filename:
libraries/Session.php
I am getting this error even after modified the session.php file. If I not invoke the session class, then this error will not show, but the whole frame will not work. Any solution?

PHP - Call to undefined function http_inflate()

i am trying to create a module that makes a call to the stackexchange API which returns a gzipencoded or a deflated Json response. to decompress it i am using the method http_inflate but i am getting the following error:
Fatal error: Call to undefined function http_inflate()
Is this method dependent on any library or extension?
I am running PHP 5.3.13
http_inflate is not bundled with PHP. It is part of the HTTP library. See this page for instructions on how to install it.
You need to install the HTTP extension, as seen in the link below:
PHP.net: Installing the HTTP plugin
You need to install an extension (pecl_http). See here on php.net for information.

Azure for PHP: "ServiceDefinition.rd" does not exist in Service directory "ServiceDefinition.csx"

I am trying to deploy PHP app with Windows Azure Command Line tool for PHP, but unable to make .cspkg and i'm getting this error:
Runtime Exception: 0: Default document “ServiceDefinition.rd” does not exist in Service directory “ServiceDefinition.csx”!
Error: Unexpected Exit
I have following link for guidelines
http://azurephp.interoperabilitybridges.com/articles/deploying-your-first-php-application-with-the-windows-azure-command-line-tools-for-php
The documentation you are using is OLD and had several issues in past so I would suggest using the latest supported way to create PHP application in Windows Azure:
Download new PHP SDK for Windows Azure which is tested with Windows Azure SDK 1.6. You can download the new PHP SDK from the link below:
http://phpazure.codeplex.com/
Follow the documentation as described here:
http://phpazure.codeplex.com/documentation
Try to use –phpRuntime=”C:\Program Files\PHP\v5.3″ instead of –phpRuntime=”C:\Program Files\PHP”.
i had the some error look here may be you find a solution for your problem :
http://marvelley.com/2011/03/03/24-hours-of-windows/

function imagecreatetruecolor() is not working in my server

In my website's cpanel it shows that
Apache version : 2.0.63 PHP version : 5.2.9 MySQL version :
5.0.92-community Operating system : linux
I currently installed a joomla website inside the server. I am using a module named "negetics PSS" as my homepage banner.
Here is the working model of the banner :
http://extensions.negetics.de/negetics-Presentation-Slider-Slim/demo-1.html
as you can see in the demo, the 6 handles of that slider is generated using php imagecreatetruecolor function. Now my problem is that, while i am using this module in my server, the module is generating error in its error log that :
[24-Oct-2011 02:32:27] PHP Fatal error: Call to undefined function
imagecreatetruecolor() in.....
as a result you can imagine, the handles are not generating.
How do i fix this..?
please Help me.
Thanks
Install Gd library. follow the below link. GD library instalation

Categories