I purchased Next revo template the other day.
I cannot get it to run with Osclass 3.5.2. I get the error:
Maximum execution time of 30 seconds exceeded in Maximum execution time of 30 seconds exceeded in /home3/ikpoho/public_html/mortgagefreeads.com/oc-includes/php-gettext/streams.php
All the free templates work with Osclass 3.5.2. seamlessly without error (I have gone back to the bender theme).
I am still working with support to get this to work.
I've been to these web sites. Cannot make head or tail of what they are saying
http://forums.osclass.org/development/bug-osc-engine-bug/https://github.com/osclass/Osclass/issues/1862The 2 sites above suggest that the code snippet below be modified. Can someone check this out for me?
Change the code below to exactly what?
function read($bytes) {
if ($bytes) {
fseek($this->_fd, $this->_pos);
// PHP 5.1.1 does not read more than 8192 bytes in one fread()
// the discussions at PHP Bugs suggest it's the intended behaviour
$data = '';
while ($bytes > 0) {
$chunk = fread($this->_fd, $bytes);
$data .= $chunk;
$bytes -= strlen($chunk);
}
$this->_pos = ftell($this->_fd);
return $data;
} else return '';
}