find all instances of:
Code: Select all
if (file_exists($file)) {
Code: Select all
if (file_exists($file) && ($fp = fopen($file, "rb")) !== false) {
Code: Select all
if (file_exists($file)) {
Code: Select all
if (file_exists($file) && ($fp = fopen($file, "rb")) !== false) {
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Code: Select all
if ($files) {
foreach ($files as $file) {
$filename = basename($file);
$time = substr(strrchr($file, '.'), 1);
if ($time < time()) {
$this->delete(substr($filename, 6, strrpos($filename, '.') - 6));
}
}
}
Code: Select all
if (is_resource($files)) {
foreach ($files as $file) {
$filename = basename($file);
if (file_exists($filename) && ($fp = fopen($filename, "rb")) !== false) {
$time = substr(strrchr($file, '.'), 1);
if ($time < time()) {
$this->delete(substr($filename, 6, strrpos($filename, '.') - 6));
}
}
}
}
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Code: Select all
$_['error_display'] = false;
ADD Creative wrote: ↑Wed Jan 10, 2018 6:58 pmHave you switch off Display Errors by going to System -> Settings -> Edit (for your store) -> Server (tab)?
If you are using version 3. Have you switched off displaying of errors in the config files? To switch this off change $_['error_display'] to false in system\config\default.php or addto system\config\catalog.php and system\config\admin.phpCode: Select all
$_['error_display'] = false;
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
HP Web Design
OpenCart Indonesia | Toko Online OpenCart
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
For me this was indeed the solution !straightlight wrote: ↑Sat Aug 18, 2018 7:38 pmADD Creative has the correct answer on this topic. The issue is related with the catalog/model/localisation/language.php file gathering an undefined language cache key which I also mentioned on other topics.
Error logs related with error 500 unposted.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: No registered users and 389 guests