View Previous Invoice after Upgrade Broken

  • Posts: 363
  • Thank you received: 7
  • Hikashop Business
9 years 4 months ago #207846

-- HikaShop version -- : 2.5.0

Hi,

I recently upgraded hikashop from 2.4.0 to 2.5.0 and now customers who had previous orders that could be viewed from their control panel don't work correctly. The invoice is shown but without any of the site or site styling (i.e. its just the invoice shown with no css loaded). There is a back link on the invoice but it doesn't work. Any new invocies created after the upgrade work fine.

Many thanks,

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
9 years 4 months ago #207867

Hi,

We don't know of such issue.
Please provide a link to your user control panel and a user account with orders with the issue so that we can analyse the situation.
You can send that via our contact form with a link to this thread :
www.hikashop.com/support/contact-us.html

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
9 years 4 months ago #207960

Hi,

Based on what I can see on your frontend, there is a fatal error during the display of the shipping method for your old orders.
We would need access to your backend in order to activate the "error reporting" setting of the Joomla configuration in order to see the fatal error message on the page.
Unfortuantely, when we go to
Part of the message is hidden for the guests. Please log in or register to see it.
we get automatically redirected to
Part of the message is hidden for the guests. Please log in or register to see it.

So there seems to be some kind of security extension preventing us from accessing your backend.
Could you remedy to that ?

Last edit: 9 years 4 months ago by nicolas.

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

  • Posts: 363
  • Thank you received: 7
  • Hikashop Business
9 years 4 months ago #208354

Hi,

I sent an update on the login informaiton.

Many thanks.

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

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

Hi,

Problem solved ;)

As you had an override on the view "order / show" you didn't had the latest version of that view and so an issue on the call of the function "getName" of the shipping class, so I replaced:

echo $this->shippingClass->getName($this->order->order_shipping_method, $this->order->order_shipping_id);
By:
echo $this->shipping->getName($this->order->order_shipping_method, $this->order->order_shipping_id);
To fix that problem.

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

Time to create page: 0.071 seconds
Powered by Kunena Forum