Layout on product page -- shows layout not found 500 in front end

  • Posts: 252
  • Thank you received: 1
7 years 7 months ago #267014

-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.5
-- PHP version -- : 5.5.13

Hi,
I set the product layout in the configuration/display. But in the front end product detail page I got “500 not found " as the screenshot in the attachment.
In my developing environment, this can be shown properly, but when I copy it to server, I got the error message.
I've set joomla configuration to development, but nothing more information was shown.
Could you give me the advice how to find the cause of this, Thanks.

Best regards

Attachments:
Last edit: 7 years 7 months ago by twscott.

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

  • Posts: 252
  • Thank you received: 1
7 years 7 months ago #267034

Hi,
I've solved the 500 problem mentioned in the previous post, but there is still problem remained.
My program is modified from tabular.
And I found if I put <?php exit; ?> behind the original code (the javascript code), it will shows the result, or it shows a blank page.
but the Chinese characters are all shown wrongly.
I attached with the screenshot of it, and I hope this could help a little.
The same file in my local environment shows same result as in the server.
If I remove the code, my local shows correctly, but the server shows an empty page.
Other layout file are all OK , except this one.
Could you direct me what could possibly wrong. Thanks.

Best Regards



Best regards
Scott

Attachments:
Last edit: 7 years 7 months ago by twscott.

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
7 years 7 months ago #267049

Hi,

Without looking at the modifications I can't say anything.
However, the fact that the characters don't display properly when you add an exit is not a bug.
It's probably that your server is configured for something else than UTF8 by default, and since you exit in the middle of the processing, Joomla doesn't add the headers which says that the page charset is UTF8 and then your browser tries to display the text with another charset and thus you get that page where you can't read anything.

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

Time to create page: 0.062 seconds
Powered by Kunena Forum