Can't get beyond cart page

  • Posts: 8
  • Thank you received: 0
6 years 1 month ago #286942

-- url of the page with the problem -- : www.nastl.at/index.php?option=com_hikash...g&Itemid=255&lang=de
-- HikaShop version -- : 3.2.2
-- Joomla version -- : 2.5.9
-- PHP version -- : 5.6.33
-- Browser(s) name and version -- : Firefox and Chrome

-- PHP 5.6.33
-- Joomla 2.5.9
-- HikaShop 3.2.2

Hi,

I have a problem with the checkout workflow. When I press next at the cart step I do not get to the login page. Sometimes it works, but I don't have found out yet what's the difference. I defined it as you can see in the attachments.

Do you have any idea, what could be the problem?
Is there any further log output to circumscribe the problem?

Url: www.nastl.at/index.php?option=com_hikash...g&Itemid=255&lang=de

Thank you very much in advance!

Best,
Andreas

Attachments:

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

  • Posts: 81363
  • Thank you received: 13037
  • MODERATOR
6 years 1 month ago #286949

Hi,

This usually happens when there is something missing.
Normally an error message should appear.
It's possible that your template is not displaying the error messages.
Try switching to the default template of Joomla, activate the "debug mode" and "error reporting" settings of the Joomla configuration and try again.
Please report errors you might see when doing that.

The following user(s) said Thank You: Andresa

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

  • Posts: 8
  • Thank you received: 0
6 years 1 month ago #287038

Unfortunately there is no error message. I switched to the Beez2 and the Beez5 template - both show no error message. I also turned the error reporting to the maximum as you can see in the attached screenshot and activated the debug mode.

I saved the whole page after clicking next in the "Cart". There you can see the SQL statement. Is there an error message writen to the session table? You can find it in the attached zip.

Attachments:

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

  • Posts: 81363
  • Thank you received: 13037
  • MODERATOR
6 years 1 month ago #287049

Hi,

Ok, then can you try changing the "checkout legacy" setting of the HikaShop configuration ? That might help.
Otherwise, if that doesn't help and you don't get any error message with that either, we'll need a backend access in order to check your settings.

The following user(s) said Thank You: Andresa

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

  • Posts: 8
  • Thank you received: 0
6 years 1 month ago #287203

I switched to the legacy checkout. And now get to the login page. But when logging in or registering the same page is displayed.

BUT: when turning on the error reporting, there is an error message! B)

Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'JRequest' does not have a method 'getUsername' in /var/www/vhosts/7/137263/webspace/httpdocs/nastl.at/administrator/components/com_hikashop/helpers/helper.php on line 3667

Is there a workaround?

Let me know if you need access to the backend.

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

  • Posts: 81363
  • Thank you received: 13037
  • MODERATOR
6 years 1 month ago #287253

Hi,

That helps. Contrary to what you stated on your first message you don't have HikaShop 3.2.2
You have HikaShop 3.2.0 and because of that, you don't have the fix we added in HikaShop 3.2.1 so that it works properly with Joomla 2.5 and avoid that error which is surely the cause of your checkout not working.
The solution is really easy. Just update to the latest version of HikaShop.

The following user(s) said Thank You: Andresa

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

  • Posts: 8
  • Thank you received: 0
6 years 1 month ago #287335

Yes, the legacy checkout works now!

Thanks for your great support!

Best,
Andreas

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

  • Posts: 8
  • Thank you received: 0
6 years 3 weeks ago #289200

Hi,

I have a rather similar problem, but it's not the cart page anymore. Now it's the registration form. When registering a new user, the page is always redirected to the same page. When I login with a existing user, I can get to the next page.

In the meantime I upgraded to hikashop 3.3.0:

You have the latest stable version of HikaShop Starter: 3.3.0

Legacy checkout is activated.

I already turned on debugging messaging. Unfortunately there is no error message.

What can I do to nail down the problem? Do you need backend access?

Best,
Andreas

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

  • Posts: 4486
  • Thank you received: 609
  • MODERATOR
6 years 2 weeks ago #289223

Hello,

Can you precise here the new context with screenshot, detailed description and provide elements to reproduce the issue, like a step by step description.
An observation, for a reason or another, your website is really slow... And I see lots of javascript error just to navigate in your menu.
Maybe there is something to check on your server settings or error report.

Awaiting news from you.
Regards

Last edit: 6 years 2 weeks ago by Philip.
The following user(s) said Thank You: Andresa

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

  • Posts: 8
  • Thank you received: 0
6 years 2 weeks ago #289298

Hi,
thanks for you prompt replay. I fixed some warning in the http/https area.

I observed now two different errors. The second one is an issue of my template i will fix.

First:
When registering with a new user (new email) there is a 500 Internal Server Error displayed. You can find a saved html file with a stacktrace in the attached files.

500 - Layout „default“ nicht gefunden!
Call stack	
#		Function		Location	
1		JSite->dispatch()		/var/www/vhosts/7/137263/webspace/httpdocs/nastl.at/index.php:52	
2		JComponentHelper::renderComponent()		/var/www/vhosts/7/137263/webspace/httpdocs/nastl.at/includes/application.php:197	
3		JComponentHelper::executeComponent()		/var/www/vhosts/7/137263/webspace/httpdocs/nastl.at/libraries/joomla/application/component/helper.php:351	
4		require_once()		/var/www/vhosts/7/137263/webspace/httpdocs/nastl.at/libraries/joomla/application/component/helper.php:383	
5		hikashopController->execute()		/var/www/vhosts/7/137263/webspace/httpdocs/nastl.at/components/com_hikashop/hikashop.php:79	
6		JController->execute()		/var/www/vhosts/7/137263/webspace/httpdocs/nastl.at/administrator/components/com_hikashop/helpers/helper.php:1754	
7		checkoutController->activate_page()		/var/www/vhosts/7/137263/webspace/httpdocs/nastl.at/libraries/joomla/application/component/controller.php:761	
8		checkoutLegacyController->display()		/var/www/vhosts/7/137263/webspace/httpdocs/nastl.at/components/com_hikashop/controllers/checkout.php:610	
9		hikashopController->display()		/var/www/vhosts/7/137263/webspace/httpdocs/nastl.at/components/com_hikashop/controllers/checkout_legacy.php:1882	
10		JController->display()		/var/www/vhosts/7/137263/webspace/httpdocs/nastl.at/administrator/components/com_hikashop/helpers/helper.php:1776	
11		CheckoutViewCheckout->display()		/var/www/vhosts/7/137263/webspace/httpdocs/nastl.at/libraries/joomla/application/component/controller.php:722	
12		CheckoutViewCheckoutLegacy->display()		/var/www/vhosts/7/137263/webspace/httpdocs/nastl.at/components/com_hikashop/views/checkout/view.html.php:45	
13		hikashopView->display()		/var/www/vhosts/7/137263/webspace/httpdocs/nastl.at/components/com_hikashop/views/checkout/view_legacy.html.php:48	
14		JView->display()		/var/www/vhosts/7/137263/webspace/httpdocs/nastl.at/administrator/components/com_hikashop/helpers/helper.php:2056	
15		hikashopView->loadTemplate()		/var/www/vhosts/7/137263/webspace/httpdocs/nastl.at/libraries/joomla/application/component/view.php:205	
16		JView->loadTemplate()		/var/www/vhosts/7/137263/webspace/httpdocs/nastl.at/administrator/components/com_hikashop/helpers/helper.php:2067	
17		JError::raiseError()		/var/www/vhosts/7/137263/webspace/httpdocs/nastl.at/libraries/joomla/application/component/view.php:660	
18		JError::raise()		/var/www/vhosts/7/137263/webspace/httpdocs/nastl.at/libraries/joomla/error/error.php:251

Second:
When registering with a already existing user, there was no message that the user was already existing. This is missing in my template - i will fix this.

To reproduce the first issue follow these steps.
1. go to www.nastl.at/index.php?option=com_hikash...g&Itemid=255&lang=de
2. add one or more products to the cart
3. go to cart (menu NASTLSHOP -> Zur Kasse)
4. click no "weiter"
5. register with a new user

Best,
Andreas

Attachments:

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

  • Posts: 4486
  • Thank you received: 609
  • MODERATOR
6 years 2 weeks ago #289302

Hello,

Not really sure that this error is HikaShop related, and especially our version of Joomla 2.5.9 is really old...
Not sure that can be stable with a recent HikaShop version, you have to know that of course we try to keep all the guarantees for keep compatibility... But you take some risk when you have a so old Joomla version... Compatibility or not.
Plus, we can't be confident only with the last 2.5 version, the 2.5.28 to be precise.

If possible can you try to clone of your website and update your Joomla version ? To check if the root issue can be a compatibility issue between an old Joomla version and recent HikaShop...
But, as it seems to be a new site creation (if I don't make a mistake...) maybe that will be better to start with a more recent Joomla version.

Awaiting news from you and hope that will help you to move forward.
Regards

Last edit: 6 years 2 weeks ago by Philip.
The following user(s) said Thank You: Andresa

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

  • Posts: 8
  • Thank you received: 0
6 years 2 weeks ago #289389

Hi,

I updated my joomla installation to the latest 2.5 version.

You already have the latest Joomla! version, 2.5.28.

But the issue is still present. :(

I think there is something wrong in my settings or with the 'default' of hikashop.

Which information can I provide you to nail down the issue? Should I screenshot my settings, or do you need backend access?

Thanks in advance!

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

  • Posts: 81363
  • Thank you received: 13037
  • MODERATOR
6 years 2 weeks ago #289478

Hi,

I'm not sure why it does that.
It's as if the activate_page parameter was not seen by Joomla.
I can propose reverting the code:
hikaInput::get()->set('layout', 'activate_page');
to:
JRequest::setVar('layout', 'activate_page');
in the file components/com_hikashop/controllers/checkout_legacy.php

The following user(s) said Thank You: Andresa

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

  • Posts: 8
  • Thank you received: 0
6 years 2 weeks ago #289599

Hi,

thanks for your answer. Unfortunately this does not work.
As a workaround I tried to switch back to the non-legacy checkout. And it works now! :)

I set the error reporting on "Development". There is "Notice" when after registering. Maybe this is useful for you. I will attach the whole html here.

Notice: Undefined index: default_registration_view in /var/www/vhosts/7/137263/webspace/httpdocs/nastl.at/components/com_hikashop/views/checkout/tmpl/show_block_login.php on line 104

Best,
Andreas

Attachments:

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

  • Posts: 81363
  • Thank you received: 13037
  • MODERATOR
6 years 2 weeks ago #289606

Hi,

Thanks. Unfortunately, it doesn't help as it is not linked to the issue. But we'll fix the notice message for the next release.

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

Time to create page: 0.084 seconds
Powered by Kunena Forum