Post by Tranquility's Closet » Wed Jan 31, 2018 2:29 am

I did a fresh install with version 3.0.2.0 and then installed the Journal version 2 theme. There are 2 main problems.

1. Image Manager
I can upload images to the server and see them in the cpanel catalog directory
I am unable to preview any pictures in the admin panel or in the image manager pop up.
I am also unable to select any of the pictures in the pop up to use. Here’s what I see in the admin panel. There’s no preview of the cart icon. I can check the box and select but it doesn’t install the image. I checked the error log to see if there was something regarding this.

2. Error Log
I checked the admin panel error log and when I tried to download the log received this message:

Warning: Your error log file error.log is 0B!

I then checked the Cpanel error log in the storage/log directory and it was empty. I am getting warning messages on the front end of the website.

fopen(/home2/tranqup4/storage/logs/public_html/system/storage/logs/error.log): failed to open stream: No such file or directory in /home2/tranqup4/public_html/system/library/log.php on line 22
fclose() expects parameter 1 to be resource, boolean given in /home2/tranqup4/public_html/system/library/log.php on line 39


Here’s the log.php that’s being referenced

<?php
/**
* @package OpenCart
* @author Daniel Kerr
* @copyright Copyright (c) 2005 - 2017, OpenCart, Ltd. (https://www.opencart.com/)
* @license https://opensource.org/licenses/GPL-3.0
* @link https://www.opencart.com
*/

/**
* Log class
*/
class Log {
private $handle;

/**
* Constructor
*
* @param string $filename
*/
public function __construct($filename) {
$this->handle = fopen(DIR_LOGS . $filename, 'a');
}

/**
*
*
* @param string $message
*/
public function write($message) {
fwrite($this->handle, date('Y-m-d G:i:s') . ' - ' . print_r($message, true) . "\n");
}

/**
*
*
*/
public function __destruct() {
fclose($this->handle);
}
}

Any assistance is appreciated. Thanks.
Lisa
Tranquility’s Closet


Posts

Joined
Mon Dec 22, 2014 7:56 am

Post by straightlight » Wed Jan 31, 2018 6:05 am

When running the image manager, press F12 to run the developers kit. Go to the Console tab. Do you notice error messages appearing?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Tranquility's Closet » Wed Jan 31, 2018 7:57 am

Thanks for your response. The console was empty. I went through the motions of trying to install an image in the settings/store and nothing was displayed on the console tab. Any other thoughts?


Posts

Joined
Mon Dec 22, 2014 7:56 am
Who is online

Users browsing this forum: No registered users and 4 guests