Error when using SOAP service in CodeIgniter - codeigniter

When I use SOAP service using plain PHP code, it is working, but when I embed the same PHP code in CodeIgniter view file, showing error:
Fatal error: Call to a member function __soapCall() on a non-object in /home/content/r/a/m/ramlinux/html/Projects/LeadControlSystem/LCS_application_7/views/adminpanel/lead_email_scrub.php on line 49
code line 49:
$result = $client->__soapCall("VerifyEmail", array($params), null, null, $output_header);
Whats wrong with this line of code?

Related

Codeigniter "Call to undefined function mysqli_init()" error

I am receiving this error in CodeIgniter app on localhost
Here are the error lines:
An uncaught Exception was encountered
Type: Error
Message: Call to undefined function mysqli_init()
Filename: C:\xampp\htdocs\domainswat.com\system\database\drivers\mysqli\mysqli_driver.php
Line Number: 135
Backtrace:
File: C:\xampp\htdocs\domainswat.com\application\controllers\Login.php
Line: 17
Function: __construct
File: C:\xampp\htdocs\domainswat.com\index.php
Line: 315
Function: require_once
I have already changed the "mysql" to "mysqli" in my code but error persists.
When trying to access phpMyAdmin, it says that mysqli extension is missing but it is not missing.
I also checked the config file and it refers to that DLL file.
So I am out of ideas here...
edit yours php config php.ini
search for mysqli and delete semicolon ; it look likes this
;extension=php_ldap.dll
extension=php_mbstring.dll
extension=php_mysqli.dll
;extension=php_oci8_12c.dll
;extension=php_openssl.dll

Class not found error in Modules.php: Codeigniter

My project use Codeigniter 2.1.4(HMVC) and all of the sudden I am getting following error while calling any controller:
PHP Fatal error: Class 'Fb_function' not found in
/var/www/html/FB_W/application/third_party/MX/Modules.php on line 105
And the line has following code:
$controller = ucfirst($class);
self::$registry[$alias] = new $controller($params);
I have not done any changes in this file and the code so working fine from last 4 years.
how do I fix this problem?

Magento Fatal error: Call to a member function setAddressFilter() in Address.php on line 431

I have this info after adding any product to cart (loged in or not loged in customers):
Fatal error: Call to a member function setAddressFilter() on a non-object in /home/we201626/public_html/xxx/magento/app/code/core/Mage/Sales/Model/Quote/Address.php on line 431
I don't know what is the reason - I instaled AddThis extention but now I uninstal it and recover my data - I had backup files. It doesn't work after it as well.
What happend?
How to resolve this problem?
Any idea?

Using SecurityServiceProvider results in fatal error

I followed the tutorial on Silex's website in order to implement HTTP authentication.
But it results in this error:
PHP Fatal error: Call to undefined method Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent::isMasterRequest() in /home/auke/projects/nelleketekent/nelleketekent/vendor/symfony/security/Symfony/Component/Security/Http/Firewall.php on line 53
How can I solve it?

how to add QuickBase a CodeIgniter

I'm looking for how to integrate the QuickBase API in a website developed with the CodeIgniter framework
I esayer add the api as a library
$this->load->library('quickbase', 'login','password', true, 'table');
and when I do I call displays error
A PHP Error was encountered
Severity: Warning
Message: Missing argument 1 for QuickBase::__construct(), called in /var/www/vhosts/************/httpdocs/system/core/Loader.php on line 1099 and defined
Filename: libraries/quickbase.php
Line Number: 43
A PHP Error was encountered
Severity: Warning
Message: Missing argument 2 for QuickBase::__construct(), called in /var/www/vhosts/**************/httpdocs/system/core/Loader.php on line 1099 and defined
Filename: libraries/quickbase.php
Line Number: 43
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: un
Filename: libraries/quickbase.php
Line Number: 45
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: pw
Filename: libraries/quickbase.php
Line Number: 49
thank you in advance
Your error is because the Quickbase API file(s) does not have the same calling format as a CodeIgniter library needs to work with the load->library syntax. You will need to read up on the Creating Libraries section of the manual and then create your own CodeIgniter compatible Quickbase library that includes the file(s) for the Quickbase API.

Resources