Severity: Core Warning Message: Module 'mysqli' already loaded - php

I was developing a website via localhost, everything was working well, but I just uploaded the website online, everything else seems to work well except this sticky message below my footer :
`
A PHP Error was encountered
Severity: Core Warning
Message: Module 'mysqli' already loaded
Filename: Unknown
Line Number: 0
Backtrace:
`
Its showing line number 0, I have no idea what this means. If this can be fixed, How? and if so, is the problem from my side or my hosting providers?

Follow these steps:
1) Controller class name should start with capital.
2) Filename name should start with capital.
Because Linux is case sensitive.

Related

Can't get the default controller of codeigniter to work in IIS

I am trying to host a codeigniter project on IIS Server but I can't get even the default controller to show instead what I receive is this below
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property CI_URI::$config is deprecated
Filename: core/URI.php
Line Number: 101
Backtrace:
File: C:\inetpub\wwwroot\app\index.php
Line: 315
Function: require_once
I have web.config file, HTTP mappings, ISAPI, URL rewrite module and FastCGI all set but still the problem persist.
I will be very grateful if you guys can help me, am stranded.

Fatal error: Class 'CI' not found after uploading to live server

I have a project built in Codeigniter 3 + HMVC. And Im almost done with it.
In my local copy it is working properly. But when I moved my project on a live server I got this error:
Fatal error: Class 'CI' not found in /var/www/vhosts/kuni.ph/httpdocs/teradasys/application/third_party/MX/Modules.php on line 92
A PHP Error was encountered
Severity: Error
Message: Class 'CI' not found
Filename: MX/Modules.php
Line Number: 92
Backtrace:
And here's the code on line 92
/* find the controller */
list($class) = CI::$APP->router->locate(explode('/', $module));
I dont know what is the error all about.
I also checked the config.php and update the base_url. And I also updated the database config.
Can you help me with this?

CodeIgniter Database Session Error

When I try to execute any controller of my CodeIgniter project i receive this error:
Fatal error: Class CI_Session_files_driver contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (SessionHandlerInterface::read) in D:\Git\crud-farm\system\libraries\Session\drivers\Session_files_driver.php on line 49
A PHP Error was encountered
Severity: Error
Message: Class CI_Session_files_driver contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (SessionHandlerInterface::read)
Filename: drivers/Session_files_driver.php
Line Number: 49
Backtrace:
I tried to replace CodeIgniter system files but it didn't work. The problem appears in all projects
Problem solved by restarting Apache.
I attach the url which saved me: http://forum.codeigniter.com/thread-64763.html
In my case i did the following
Restart apache
That's it!
The files in system should not be modified. My files were modified somehow and were throwing error. I resolved my problem as below.
Download fresh codeigniter and extract files
copy system files from fresh codeigniter into your project and overwrite the whole system folder.
This should fix your problem.

Module 'soap' already loaded

i am using plesk server and i am new to this server. i have created project in codeigniter when i upload the files to plesk server i got this error.
A PHP Error was encountered
Severity: Core Warning
Message: Module 'soap' already loaded
Filename: Unknown
Line Number: 0
Backtrace:
since i have to much search on it but still i am not able to remove this bug anybody have solution about this? Have any php code or using .htaccess we can remove this bug?

Trouble uploading a codeigniter website to the ftp

I have been trying to upload a codeigniter website but for some reason it shows errors i do not have on my local environment. These errors popped up after i uploaded the files:
A PHP Error was encountered
Severity: Warning Message: Cannot modify header information - headers
already sent by (output started at
[basepath]/application/config/constants.php:1)
Filename: core/Common.php
Line Number: 568
404 Page Not Found
The page you requested was not found.
A PHP Error was encountered
Severity: Core Warning
Message: PHP Startup: Unable to load dynamic library
'/opt/alt/php56/usr/lib64/php/modules/ioncube_loader.so' -
/opt/alt/php56/usr/lib64/php/modules/ioncube_loader.so: cannot open
shared object file: No such file or directory
Filename: Unknown
Line Number: 0
I have changed the database settings so that it would connect to the online database. I also followed the correct guide which suggested which setting to change to be able to access the files on the new server. I am however pestered by errors which seem to come from codeigniter's own files.
Has anyone encountered any of there errors, or can anyone make sense of them? Help would really be appreciated!
Your error occurs due to Ioncube security extension website.
As far as i know, this error could be caused by unsupported version of PHP. You have installed PHP 5.6 and Ioncube may still not support it. You should upgrade your ioncube extension or downgrade PHP.

Categories