Product Page Disappears After Upgrading to v2.6.2

  • Posts: 7
  • Thank you received: 0
9 years 4 months ago #236781

Site was working fine with v2.6.1 except we were getting a 1267 error (Illegal mix of collations UTF8 Unicode and UTF8 General) on the Orders page. According to the Forum, this was due to changes made by Joomla when upgrading to Joomla 3.5.1. The forum recommendation was to upgrade to v2.6.2 to resolve this issue, which was done. Now the Products page is blank.

Urgent assistance is needed.. I'll be glad to give administrative access to the site if someone with HikaShop can respond.

Last edit: 9 years 4 months ago by Kansasav8r.

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

  • Posts: 13201
  • Thank you received: 2322
9 years 4 months ago #236820

Hi,

Please set the "Error reporting" level of Joomla to "Maximum" and give us the returned error on the product page on frontend.

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

  • Posts: 7
  • Thank you received: 0
9 years 4 months ago #236879

The following is from the Joomla Debug Console. Please let me know what else is needed. This is a wholesale products website where the customer has to login before viewing products to order. Be glad to give access to front-end customer area if this would help diagnose the issue.

{
"__default": {
"session": {
"counter": 8,
"timer": {
"start": 1460722897,
"last": 1460722921,
"now": 1460722930
},
"token": "222QeVgaI3USoaJOydHw0pwHdkHSUU51"
},
"registry": {
"users": {
"login": {
"form": {
"data": [],
"return": "index.php\/home-vm"
}
}
},
"com_hikashop": {
"ssl_redirect": 0,
"zone_id": "",
"cart_id": 0
}
},
"user": {
"id": "92",
"name": "Test User",
"username": "Tester",
"email": "xxx.xxxxxxx.xxx",
"password": "$2y$10$amhC6g2ZQv4mNsgLidYIUumbprb8NKPTSeoX\/SMMIEinkiXKZy5Ha",
"password_clear": "",
"block": "0",
"sendEmail": "0",
"registerDate": "2015-06-25 21:19:30",
"lastvisitDate": "2016-04-14 23:11:36",
"activation": "",
"params": "{\"admin_style\":\"\",\"admin_language\":\"\",\"language\":\"\",\"editor\":\"\",\"helpsite\":\"\",\"timezone\":\"\"}",
"groups": {
"2": "2"
},
"guest": 0,
"lastResetTime": "2016-03-11 18:16:23",
"resetCount": "2",
"requireReset": "0",
"aid": 0,
"otpKey": "",
"otep": ""
},
"jsn_mobilize_profile": null
}
}

Last edit: 9 years 4 months ago by Kansasav8r.

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

  • Posts: 7
  • Thank you received: 0
9 years 4 months ago #236885

Joomla Error Reporting is set to Maximum but not seeing anything else on the front-end.

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

  • Posts: 84233
  • Thank you received: 13675
  • MODERATOR
9 years 4 months ago #236893

Hi,

That's not what you should get if you had a blank page.
Is the page completely blank ? Or you just don't see anything in the middle area ? What is the link of the page with the problem ? Is the page a products listing or a product details page ?
If the page is completely blank, after you activate the "error reporting" setting of the Joomla configuration, you should see on that blank page an error message starting with "fatal error...."
If the page is not completely blank but just you don't have anything in the middle, then it's not a processing error.
The problem is either with the settings of your menu item (if it's on a listing page) or with the view overrides of your Joomla template. To access whether the problem comes from the template overrides, temporarily switch to the protostar template on your website and see if you still have the problem. If not, then the problem is with the templates overrides in the folder templates/YOUR_TEMPLATE/html/com_hikashop

The client is not very understanding why there seems to be so many issues with this product.

Please understand that the problem with the Joomla 3.5.1 couldn't be predicted. And we fixed them as soon as we found out about them. And the blank page issue you have is also probably not coming from HikaShop although it's yet too early to say.

If you need urgent help with something please provide precise information on the problem, a screenshot of the problem, with a link to the page with the problem etc.
A backend access could also help in checking the settings for you. When that is necessary, you can use our contact form:
www.hikashop.com/support/contact-us.html

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

  • Posts: 7
  • Thank you received: 0
9 years 4 months ago #236918

A Contact Form was submitted about a half-hour ago with info to login to the customer and admin areas.

To clarify, the Product Listing in the middle of the page is blank (screen shot below). This was working fine with v2.6.1 but quit working with v2.6.2. We would be able to go back to v2.6.1 however there is a problem with the Orders Page in that release.

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

  • Posts: 7
  • Thank you received: 0
9 years 4 months ago #236922

Here is a screen shot from our Development environment taken a couple weeks ago that shows the Products Listing page was working with v2.6.1. To get to this page on the soon-to-be production site, please use the Customer Login info provided on the Contact Form submitted earlier today. After logging in to the Category Listing page (default), click on the Socks Category (only 8 products that have been setup at this time) and you will find the blank Products Listing in the middle of the page.

Last edit: 9 years 4 months ago by Kansasav8r.

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

  • Posts: 84233
  • Thank you received: 13675
  • MODERATOR
9 years 4 months ago #236966

Hi,

Thank you for the details. I think that you have that problem:
www.hikashop.com/forum/product-category-...egories-visible.html
Please try to follow the directions there.

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

  • Posts: 7
  • Thank you received: 0
9 years 4 months ago #236993

That did not resolve the problem. There is not a file of that name in that sub-directory. Please keep this ticket active. We need a resolution by Monday. Thank you.

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

  • Posts: 84233
  • Thank you received: 13675
  • MODERATOR
9 years 4 months ago #236999

Hi,

We searched deeper into the matter and found out that the problem comes from the access level of your menu item.
If the access level is public, it works fine.
The issue comes from an additional check we added to the 2.6.2 in order to make sure that links that are generated automatically for categories don't go to a menu item that it not accessible.
To fix that, you need to change the code:

$filters = array(
				'a.type=\'component\'',
				'a.published=1',
				'b.title IS NOT NULL',
				'( a.access=1 OR  a.access=5 )'
			);
to:
$filters = array(
				'a.type=\'component\'',
				'a.published=1',
				'b.title IS NOT NULL'
			);
			
			
			if(HIKASHOP_J25){
				$user = JFactory::getUser();
				$accesses = JAccess::getAuthorisedViewLevels(@$user->id);
				if(!empty($accesses)){
					$filters[]='a.access IN ('.implode(',',$accesses).')';
				}
			}
in the file administrator/components/com_hikashop/classes/menus.php

We've added that patch on our end too.

Last edit: 9 years 4 months ago by nicolas.
The following user(s) said Thank You: Kansasav8r

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

  • Posts: 7
  • Thank you received: 0
9 years 4 months ago #237012

Thanks so much, Nicolas!!! This resolved the issue.

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

Time to create page: 0.102 seconds
Powered by Kunena Forum