Post by letxobnav » Fri Aug 02, 2019 10:16 pm

well, what is the url of your sitemap then?

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by leeburgess » Fri Aug 02, 2019 10:21 pm

letxobnav wrote:
Fri Aug 02, 2019 10:16 pm
well, what is the url of your sitemap then?
REMOVED
Last edited by leeburgess on Fri Aug 02, 2019 11:02 pm, edited 1 time in total.

New member

Posts

Joined
Sat Sep 16, 2017 3:19 am

Post by letxobnav » Fri Aug 02, 2019 10:37 pm

well, here is your error, view source on that thing:

<b>Notice</b>: getimagesize(): Read error! in <b>/home/sexualsecrets/public_html/catalog/model/tool/image.php</b> on line <b>14</b><b>Notice</b>: getimagesize(): Read error! in <b>/home/sexualsecrets/public_html/catalog/model/tool/image.php</b> on line <b>14</b>

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by leeburgess » Fri Aug 02, 2019 10:42 pm

letxobnav wrote:
Fri Aug 02, 2019 10:37 pm
well, here is your error, view source on that thing:

<b>Notice</b>: getimagesize(): Read error! in <b>/home/sexualsecrets/public_html/catalog/model/tool/image.php</b> on line <b>14</b><b>Notice</b>: getimagesize(): Read error! in <b>/home/sexualsecrets/public_html/catalog/model/tool/image.php</b> on line <b>14</b>
So a corrupt image still? How can I find which one is having the issue?

New member

Posts

Joined
Sat Sep 16, 2017 3:19 am

Post by letxobnav » Fri Aug 02, 2019 10:50 pm

I thought that was explained to you before but you said you did not have any.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by letxobnav » Fri Aug 02, 2019 11:15 pm

in catalog/model/tool/image.php

after:

Code: Select all

$extension = pathinfo($filename, PATHINFO_EXTENSION);
add:

Code: Select all

			$info = getimagesize(DIR_IMAGE . $filename);
			// image corrupt check
			if (!$info) $this->log->write('cannot obtain image info for '.DIR_IMAGE . $filename);
			if ($extension == 'gif') {
				$result = imagecreatefromgif(DIR_IMAGE . $filename);
			} elseif ($extension == 'png') {
				$result = imagecreatefrompng(DIR_IMAGE . $filename);
			} elseif ($extension == 'jpg') {
				$result = imagecreatefromjpeg(DIR_IMAGE . $filename);
			}
			// image corrupt check
			if (!$result) $this->log->write('cannot create image '.DIR_IMAGE . $filename);
only until you found the corrupt image.
Last edited by letxobnav on Sat Aug 03, 2019 8:08 am, edited 2 times in total.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by straightlight » Fri Aug 02, 2019 11:41 pm

leeburgess wrote:
Fri Aug 02, 2019 9:46 pm
straightlight wrote:
Fri Aug 02, 2019 6:58 pm
leeburgess wrote:
Thu Aug 01, 2019 8:43 pm
Sadly cannot get this to work
No details provided. Forum rules.
I have no corrupt images now but Google sitemap says

This page contains the following errors:
error on line 1 at column 14: Extra content at the end of the document
Below is a rendering of the page up to the first error.
OC version? More information is needed. Please read the forum rules.

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
Who is online

Users browsing this forum: No registered users and 423 guests