Post by bravobongo » Sat Sep 05, 2015 1:24 am

Hi,

I'm getting this error on my install.

Warning: fread(): Length parameter must be greater than 0 in /home/site/public_html/system/library/cache/file.php on line 32

The lines mentioned read -

Code: Select all

	}

	public function set($key, $value) {
		$this->delete($key);

		$file = DIR_CACHE . 'cache.' . preg_replace('/[^A-Z0-9\._-]/i', '', $key) . '.' . (time() + $this->expire);

		$handle = fopen($file, 'w');

		flock($handle, LOCK_EX);

		fwrite($handle, serialize($value));

		fflush($handle);

		flock($handle, LOCK_UN);

		fclose($handle);
	}
Thanks for any help you can give. =)

Newbie

Posts

Joined
Wed Aug 19, 2015 4:05 am

Post by cleansafi » Sun Sep 20, 2015 3:25 am

Did you solve the issue because i have now with that same issue. Please someone give some light on to this.

Newbie

Posts

Joined
Sun Aug 23, 2015 1:46 pm

Post by ruperi » Wed Oct 14, 2015 3:55 pm


Newbie

Posts

Joined
Wed Oct 14, 2015 3:45 pm
Who is online

Users browsing this forum: No registered users and 16 guests