Post by webitbz » Sat Apr 12, 2014 8:15 pm

After updating from 1561 to 1562 the image manager does not show the images, reverting the changed \system\helper\utf8.php file to the 1561 version seems to solve the problem for now.

Newbie

Posts

Joined
Sat Apr 12, 2014 8:12 pm

Post by rubylily » Sat Apr 12, 2014 10:22 pm

Thanks for the temp solution webitbz, I too had the same problem with the Image Manager after upgrading both my OpenCart sites to v1.5.6.2 this morning.

Newbie

Posts

Joined
Tue Feb 14, 2012 5:56 am

Post by esmsgateway » Sun Apr 13, 2014 11:22 am

You just need to copy system/helper/utf8.php from the old version (1.5.6.1).

regard,
farid

Newbie

Posts

Joined
Mon Jul 23, 2012 10:04 am

Post by newservicewebhost » Mon Apr 14, 2014 6:49 am

image manager not show image how can i solve this problem


Posts

Joined
Mon Apr 14, 2014 6:42 am

Post by webitbz » Mon Apr 14, 2014 3:32 pm

To solve the image manager blank icons problem correct in system\helper\utf8.php (OC 1.5.6.2)

change:

Code: Select all

	function utf8_substr($string, $offset, $length = null) {
		return mb_substr($string, $offset, $length);
	}
to:

Code: Select all

	function utf8_substr($string, $offset, $length = null) {
		if ($length == null) {
			return mb_substr($string, $offset, utf8_strlen($string));
		} else {
			return mb_substr($string, $offset, $length);
		}
	}

Newbie

Posts

Joined
Sat Apr 12, 2014 8:12 pm

Post by James » Mon Apr 14, 2014 6:01 pm

Thanks webitbz.

I will add to the 1.5.6.3 rc now and also the master/2.0.

If anyone needs the updated file please download from the latest rc version.

User avatar
Active Member

Posts

Joined
Wed May 27, 2009 6:07 am
Location - Leeds, UK

User avatar
Active Member

Posts

Joined
Wed May 27, 2009 6:07 am
Location - Leeds, UK

Post by cwswebdesign » Tue Apr 15, 2014 10:13 pm

Sorry if this is a hijack to the thread and I'll start a new thread if I need to. Using v1.5.6.2, I've uploaded a logo into image/data/ and it doesn't appear in the file manager but it is there when I log into FTP.

Has anyone else seen this? This is a clean install with no mods added.

DL

This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.

Thanks!


User avatar
Active Member

Posts

Joined
Sun Dec 11, 2011 12:26 am
Location - USA

Post by James » Tue Apr 15, 2014 10:19 pm

1.5.6.3 has been released and these issues have been fixed in it. Just download and update to the new version.

J

User avatar
Active Member

Posts

Joined
Wed May 27, 2009 6:07 am
Location - Leeds, UK

Post by cwswebdesign » Tue Apr 15, 2014 10:53 pm

Thanks James. There is no need to run the actual update script from v1.5.6.2 to v.1.5.6.3, right? I tried to run it and got this error:

Fatal error: Uncaught exception 'ErrorException' with message 'Error: Table 'product_profile' already exists<br />Error No: 1050<br />CREATE TABLE `product_profile` ( `product_id` int(11) NOT NULL, `profile_id` int(11) NOT NULL, `customer_group_id` int(11) NOT NULL, PRIMARY KEY (`product_id`,`profile_id`,`customer_group_id`) ) ENGINE=MyISAM COLLATE=utf8_general_ci' in /home/haggleho/public_html/system/database/mysqli.php:40 Stack trace: #0 /home/xxxxxxx/public_html/system/library/db.php(20): DBMySQLi->query('CREATE TABLE `p...') #1 /home/xxxxxx/public_html/install/model/upgrade.php(161): DB->query('CREATE TABLE `p...') #2 /home/xxxxxxxx/public_html/install/controller/upgrade.php(9): ModelUpgrade->mysql() #3 [internal function]: ControllerUpgrade->index() #4 /home/xxxxxx/public_html/system/engine/front.php(42): call_user_func_array(Array, Array) #5 /home/xxxxxx/public_html/system/engine/front.php(29): Front->execute(Object(Action)) #6 /home/xxxxx/public_html/install/index.php(75): Front->dispatch(Object(A in /home/xxxxxxx/public_html/system/database/mysqli.php on line 40

Everything appears to be ok though.

DL

This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.

Thanks!


User avatar
Active Member

Posts

Joined
Sun Dec 11, 2011 12:26 am
Location - USA

Post by James » Tue Apr 15, 2014 11:11 pm

There was no database changes so no need to run the updater, it was only file changes

J

User avatar
Active Member

Posts

Joined
Wed May 27, 2009 6:07 am
Location - Leeds, UK

Post by cwswebdesign » Wed Apr 16, 2014 12:48 am

James wrote:There was no database changes so no need to run the updater, it was only file changes

J
Got it. Thank you for the prompt replies.

DL

This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.

Thanks!


User avatar
Active Member

Posts

Joined
Sun Dec 11, 2011 12:26 am
Location - USA
Who is online

Users browsing this forum: No registered users and 147 guests