I have a project using the library aauth CodeIgniter. when I run on windows localhost it running as well. when I move my project to the centos server virtualbox I just installed, I found the following error:
A PHP Error was encountered
Severity: Notice
Message: Use of undefined constant PASSWORD_DEFAULT - assumed
'PASSWORD_DEFAULT'
Filename: config/aauth.php
Line Number: 136
any help would be great. Thank you.
Related
im trying to update codeigniter version from 2.2 to 3.1.
me already to following this instruction https://www.codeigniter.com/userguide3/installation/upgrade_300.html
but i still get error like this.
Notice: Undefined index: log_path in C:\xampp\htdocs\simangkug\system\core\Log.php on line 127
Notice: Undefined index: log_path in C:\xampp\htdocs\simangkug\system\core\Log.php on line 127
Warning: mkdir(): Invalid path in C:\xampp\htdocs\simangkug\system\core\Log.php on line 131
what can i do to fix this problem ?
on my server using php version 7.3
I am trying to install opensourcepos from https://github.com/jekkos/opensourcepos
But I am getting this error:
Fatal error: Can't use method return value in write context in D:\Xampp\htdocs\opensourcepos\application\helpers\locale_helper.php on line 67
A PHP Error was encountered
Severity: Compile Error
Message: Can't use method return value in write context
Filename: helpers/locale_helper.php
Line Number: 67
Backtrace:
I followed instructions, this is a brand new install, I'm at a loss...
I'm on WIndows 7, using Localhost with Xampp
The line 67 is question is this one:
if (empty($config->item('thousands_separator')))
When I comment it out, the site loads, but it doesn't work
check readme txt
You are getting following error Message: Can't use method return value in write context saying that you are probably using PHP7 which is not completely supported yet. Check your hosting configuration to verify whether you have a supported PHP version installed
im kind of a n00b to Oracle db's, but when i set my dbdriver in codeigniter to oci8, i get the following error, which is weird, providing the extension is enabled in the php.ini file.
I get the following error.
A PHP Error was encountered
Severity: Notice
Message: Use of undefined constant OCI_COMMIT_ON_SUCCESS - assumed 'OCI_COMMIT_ON_SUCCESS'
Filename: database/DB.php
Line Number: 82
You should install/enable the oci8 extension.
http://www.php.net/manual/en/book.oci8.php
I'm trying to integrate an adaptive payments system to my codeigniter project on my centos server. SOAP is installed on my server (I executed "yum install php-soap" via ssh and restarted the server already), and I'm getting errors like this when I try to run:
A PHP Error was encountered
Severity: Notice
Message: Use of undefined constant XML_SERIALIZER_OPTION_INDENT - assumed 'XML_SERIALIZER_OPTION_INDENT'
Filename: SOAPEncoder/SOAPEncoder.php
Line Number: 41
A PHP Error was encountered
Severity: Notice
Message: Use of undefined constant XML_SERIALIZER_OPTION_INDENT - assumed 'XML_SERIALIZER_OPTION_INDENT'
Filename: SOAPEncoder/SOAPEncoder.php
Line Number: 41
What am I missing, how can I solve this ?
Thanks,
Perhaps you need to install the XML_Serializer PEAR package: http://pear.php.net/package/XML_Serializer/
pear install XML_Serializer
I am developing an API using Codeigniter and Phils RESTserver.
It works perfectly fine on my local machine (mac lion) but on my server (Ubuntu 10.04 with PHP 5.3) I get an error.
Severity: Notice
Message: Use of undefined constant CURLOPT_FAILONERROR - assumed 'CURLOPT_FAILONERROR'
Filename: libraries/REST_Controller.php
Line Number: 717
The line in the REST_controller.php file at line 717.
$verify = $CI->curl->simple_get($verify_uri, array(), array(CURLOPT_FAILONERROR => FALSE));
What is wrong? Is there something that I need to upgrade?
change array(CURLOPT_FAILONERROR => FALSE) to array("CURLOPT_FAILONERROR" => FALSE) to get rid of the notice about "Use of undefined constant"