Welcome Guest, Not a member yet? Register   Sign In
Fatal Memory Error in version 3.1.6+
#8

(This post was last modified: 10-16-2019, 10:47 PM by owino.)

(10-08-2019, 10:40 AM)jreklund Wrote: @owino
Does it happen if you just tries to load just one library?
Have you tried loading different libraries to see if all are failing or just one?

If you haven't made a custom session library try to load this one:
PHP Code:
<?php
defined
('BASEPATH') OR exit('No direct script access allowed');

class 
Test extends CI_Controller {

    public function 
__construct()
    {
        
parent::__construct();
        
$this->load->library('session');
    }


Also for debugging purposes upload the latest version of CI on your server and set it up like a new application. Can you load the session library now?

What PHP version are you using? It may not be 100% compatible, consider upgrading or changing version.

@php_rocs and @InsiteFX: If he can't even load one library it can't be memory issue. He already have ~128MB of RAM (if it's not shared).

I have a custom session library. Could this be causing any problem?

Even one library does not load. Here is my platform:

Database server
    Server: Localhost via UNIX socket
    Server type: MariaDB
    Server connection: SSL is not being used Documentation
    Server version: 10.3.17-MariaDB - MariaDB Server
    Protocol version: 10
    User: root@localhost
    Server charset: cp1252 West European (latin1)

Web server
    Apache/2.4.41 (Fedora)
    Database client version: libmysql - mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $
    PHP extension: mysqliDocumentation curlDocumentation mbstringDocumentation
    PHP version: 7.3.10
Reply


Messages In This Thread
Fatal Memory Error in version 3.1.6+ - by owino - 10-07-2019, 01:23 AM
RE: Fatal Memory Error in version 3.1.6+ - by owino - 10-14-2019, 01:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB