creating sitemap 500 errors

  • Posts: 507
  • Thank you received: 21
  • Hikashop Business
7 years 3 months ago #275142

-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.4
-- PHP version -- : 7.0

Hi,

I'm trying to create a sitemap with the plugin Aimy Sitemap. The plugin is crawling all links, but give 500 errors on all the links that are related to Hikashop (categories and products). I contacted the developers and they answered this:

"My first guess is that this issue is related to your webserver setup and/or HikaShop: In order to save execution time, Aimy Sitemap's crawler requests meta information on all relevant resources via HTTP HEAD first and only requests the resources' content (via HTTP GET) if they provide information that needs further processing (i.e. for link extraction).

There seems to be an issue with your website responding to HEAD requests at least on certain pages, i.e. a HEAD request on jaaralbum.nl/huisnummerbordjes leads to an HTTP 500 error ("Internal Server Error"):

$ curl -I jaaralbum.nl/huisnummerbordjes
HTTP/1.1 500
Server: nginx
Date: Mon, 31 Jul 2017 06:41:12 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
X-Powered-By: PHP/7.0.21-1~ubuntu16.04.1+deb.sury.org+1
Set-Cookie: 2a64263759d30561cb460a08134802be=t877u1vf1s4ui7e1vj80u53hi2;
path=/; HttpOnly
X-Logged-In: False
X-Content-Powered-By: K2 v2.7.1 (by JoomlaWorks)
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
Cache-Control: no-cache
Pragma: no-cache

A GET request on the same URL works as expected (that's why those pages appear to work correctly in your browser). Therefore you should find and fix the reason for the internal server errors on those pages first. As the issue does appear on certain pages only, I guess it's rather caused by the extension that handles the pages' content (HikaShop) then the webserver's setup.

"
I also contacted my VPS hostingparty and they also are pointing to the Hikashop software.

Can this be solved?

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 3 months ago #275146

Hi,

The issue will be fix with the next HikaShop release.
It's in fact a problem related to the Joomla core which do not handle correctly JRequest in some very specific cases.
Because JRequest is consider as deprecated in Joomla ; we don't think that the problem will be fixed, so we took other measures.
You can read more about that in this thread :
www.hikashop.com/forum/product-category-...goryviewproduct.html

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 507
  • Thank you received: 21
  • Hikashop Business
7 years 3 months ago #275174

Thanks Jerome,

I will wait for the next release.

Regards

Please Log in or Create an account to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum