hi,
after upgrade to new version,after open my website ,in the top show this error :
Warning: touch() has been disabled for security reasons in /home/pixelchn/public_html/system/library/cache.php on line 14Warning: touch() has been disabled for security reasons in /home/pixelchn/public_html/system/library/cache.php on line 14Warning: touch() has been disabled for security reasons in /home/pixelchn/public_html/system/library/cache.php on line 14Warning: touch() has been disabled for security reasons in /home/pixelchn/public_html/system/library/cache.php on line 14Warning: touch() has been disabled for security reasons in /home/pixelchn/public_html/system/library/cache.php on line 14Warning: touch() has been disabled for security reasons in /home/pixelchn/public_html/system/library/cache.php on line 14Warning: touch() has been disabled for security reasons in /home/pixelchn/public_html/system/library/cache.php on line 14Warning: touch() has been disabled for security reasons in /home/pixelchn/public_html/system/library/cache.php on line 14Warning: touch() has been disabled for security reasons in /home/pixelchn/public_html/system/library/cache.php on line 14Warning: touch() has been disabled for security reasons in /home/pixelchn/public_html/system/library/cache.php on line 14Warning: touch() has been disabled for security reasons in /home/pixelchn/public_html/system/library/cache.php on line 14
but after click to another like this error not show,but for open some page again show this error.
after upgrade to new version,after open my website ,in the top show this error :
Warning: touch() has been disabled for security reasons in /home/pixelchn/public_html/system/library/cache.php on line 14Warning: touch() has been disabled for security reasons in /home/pixelchn/public_html/system/library/cache.php on line 14Warning: touch() has been disabled for security reasons in /home/pixelchn/public_html/system/library/cache.php on line 14Warning: touch() has been disabled for security reasons in /home/pixelchn/public_html/system/library/cache.php on line 14Warning: touch() has been disabled for security reasons in /home/pixelchn/public_html/system/library/cache.php on line 14Warning: touch() has been disabled for security reasons in /home/pixelchn/public_html/system/library/cache.php on line 14Warning: touch() has been disabled for security reasons in /home/pixelchn/public_html/system/library/cache.php on line 14Warning: touch() has been disabled for security reasons in /home/pixelchn/public_html/system/library/cache.php on line 14Warning: touch() has been disabled for security reasons in /home/pixelchn/public_html/system/library/cache.php on line 14Warning: touch() has been disabled for security reasons in /home/pixelchn/public_html/system/library/cache.php on line 14Warning: touch() has been disabled for security reasons in /home/pixelchn/public_html/system/library/cache.php on line 14
but after click to another like this error not show,but for open some page again show this error.
Last edited by i2Paq on Sat Apr 02, 2011 11:55 pm, edited 1 time in total.
Reason: Split, renamed and moved
Reason: Split, renamed and moved
------------------anastamir wrote:hi,
after upgrade to new version,after open my website ,in the top show this error :
---
but after click to another like this error not show,but for open some page again show this error.
Have'nt the foggiest whats causing this!
But try this:
In Admin/System/Server
Set "Display Errors" to: No
Make sure that "Log errors" is set to Yes
Errors should stop displaying on your store but you'll be able to check whats happening in:
Admin/System/Error Logs
This is really a question for Qphoria or Daniel.
-------------------
anastamir wrote:Warning: touch() has been disabled for security reasons in /home/pixelchn/public_html/system/library/cache.php on line 14
Code: Select all
<?php
final class Cache {
private $expire = 7200;
public function get($key) {
$files = DIR_CACHE . 'cache.' . $key;
if(file_exists($files) AND filemtime($files) > (time() - $this->expire)) {
$cache = file_get_contents($files);
clearstatcache();
return unserialize($cache);
}
}
public function set($key, $value) {
$file = DIR_CACHE . 'cache.' . $key;
file_put_contents($file, serialize($value));
}
public function delete($key) {
$files = glob(DIR_CACHE . 'cache.' . $key . '*');
if ($files) {
foreach ($files as $file) {
if(is_writable($file)) {
file_put_contents($file, '');
@unlink($file);
clearstatcache();
}
}
}
}
}
$email = filter_var(filter_var($email, FILTER_SANITIZE_EMAIL), FILTER_VALIDATE_EMAIL);
if($email === false) {
// Houston, we have a problem....
}
From what version did you upgrade?
Did you follow the upgrade instructions.
Please check your file and folder rights.
Did you upload all the correct files?
Did you follow the upgrade instructions.
Please check your file and folder rights.
Did you upload all the correct files?
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Who is online
Users browsing this forum: No registered users and 4 guests