Raheel Ahmed
Raheel Ahmed

Reputation: 1

How fix "Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 109 bytes) in public_html/vqmod/vqmod.php on line 168"?

this is Opencart shop website. My website link is : boxingstuff.ru

when i view my site then this error is show "(Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 109 bytes) in /var/www/u0514007/public_html/vqmod/vqmod.php on line 168")

Vqmod.php on line 168 code

,,,,

public static function path($path, $skip_real = false) {
        $tmp = self::$_cwd . $path;
        $realpath = $skip_real ? $tmp : self::_realpath($tmp);
        if(!$realpath) {
            return false;
        }
        return $realpath;
    }

,,,,,

I want to fix this error and want my site show as before normally please help me.

Upvotes: 0

Views: 2464

Answers (1)

Raheel Ahmed
Raheel Ahmed

Reputation: 1

put this at the top of the file where you are getting error: ini_set('memory_limit','512M'); Just right underneath of

with this change website working cool.

Upvotes: -1

Related Questions