I'm getting this error when I tried to insert data to cassandra using library datastax php driver. I'm using REST. Any idea ?
curl --data "x=y&a=b" my_api_url
PHP Fatal error:
Call to undefined function Cassandra\\Cluster\\cassandra_cluster_new()
in /prejectdir/datastax/php-driver/src/Cassandra/Cluster/Builder.php on line 142
Related
I am using PHP 7 and using mssql as a database.
I have an error that tells me that:
Uncaught Error: Call to undefined function odbc_connection()
I didn't know what to download for extension and I'm not sure if I will put it in php.ini. pls help
I installed prestashop using softaculous, my php version is 5.2.17 and despite of that it shows this
ERROR: Fatal error: Call to undefined function mysql_connect() in /home/adeego/public_html/prestashop/classes/db/MySQL.php on line 51
If I go changing php version then it will be very painful to change every mysql_ into mysqli_ or pdo_mysqli_.
What is the best solution?
I have php 5.6 version but still face that error
I'm using Cpanel to run a codeigniter project and I got this error:
PHP Fatal error: Call to undefined function json_decode() in/home/ntn/public_html/application/controllers/Login.php on line 69
I don't know how to solve this error
How can I resolve this error?
Unless you show your code, I cannot help you because call to undefined function is means it is calling a function which is not defined or mention in your code. its not a cpanel error for sure. its an error in your code
So Im busy with this project that involves printing. I found a class online to do so. But when I try to test it, I get the following error:
Fatal error: Call to undefined function printer_list() in /Applications/XAMPP/xamppfiles/htdocs/barcode/Sample.php on line 9
And I know that I probably should install an extention, but how which one and how to do so? I use Xampp on OSX Yosemite.
The printer extension working only on Windows
printer_list() id deprecate in new php
I've got a client who has just set up a new VPN and is attempting to install my plugin.
He's getting the following error:
Fatal error: Call to undefined method SplFileInfo::getRealPath() on the commented line below. This appears to have something to do with the ZEND libraries. Any ideas what I should tell him to do?
If you are getting the undefined error means you have lower version of PHP.
The function is supported after PHP 5.2.2
SplFileInfo::getRealPath
(PHP 5 >= 5.2.2)
SplFileInfo::getRealPath — Gets
absolute path to file
http://php.net/manual/en/splfileinfo.getrealpath.php