order confirmation email - download link error

  • Posts: 3
  • Thank you received: 0
10 years 2 months ago #173029

-- HikaShop version -- : business 2.3.3
-- Joomla version -- : 2.5.22
-- Error-message(debug-mod must be tuned on) -- : 403 - You are not authorised to view this resource.
You may not be able to visit this page because of:

an out-of-date bookmark/favourite
a search engine that has an out-of-date listing for this site
a mistyped address
you have no access to this page
The requested resource was not found.
An error has occurred while processing your request.
Please try one of the following pages:

Home Page
If difficulties persist, please contact the System Administrator of this site and report the error below..

You are not authorised to view this resource.

Call stack
# Function Location
1 JSite->route() ...\index.php:41
2 JSite->authorise() ...\includes\application.php:135
3 JError::raiseError() ...\includes\application.php:328
4 JError::raise() ...\libraries\joomla\error\error.php:251

Hi,
We want to sell files but but in the order confirmation email the download link doesn't work.( error 403)
The link is 'index.php/en/?option=com_hikashop&ctrl=order&task=download&file_id=38&order_id=263&Itemid=606' .
The problem seem to be '&Itemid=606' because when I remove it in the browser url, the download work.
I tried to remove it in the Order status notification email in the Preload version but it is added back.

Can you tell me how to solve this problem?

Best regards.

Michel

Last edit: 10 years 2 months ago by mcostes.

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
10 years 2 months ago #173063

Hi,

This indicates that the Itemid of the payment notification URL of your payment gateway is 606 which is not a valid one.
It could be that you set the notification URL of the payment gateway with that itemid in the options of your payment gateway or it could be that you have to select a hikashop checkout type menu item in the "force a menu on checkout" option of the HikaShop configuration.
So I would recommend to check these on your website.

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

  • Posts: 32
  • Thank you received: 0
  • Hikashop Business
10 years 1 month ago #175371

Hello,

I have the same problem and that was just after updating to the last version of HikaShop. I'm trying to do what Nicolas described but I don't get it. Can you be a bit more specific please? Or if anyone else could solve the problem, share the solution, me and some others would be very thankful :)

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
10 years 1 month ago #175402

To be more specific I would need more information from you. What payment method are you using on your website ?
Could you provide a screenshot of the options of that payment method (you can hide the sensitive data on the image) ?
Can you give an example of a download link which doesn't work ?

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

  • Posts: 32
  • Thank you received: 0
  • Hikashop Business
10 years 1 month ago #175846

Nicolas, I sent you a super user access by private message. Take a look please and let us know what you can see there about the problem :)

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
10 years 1 month ago #175891

Can you give an example of a download link which doesn't work ?

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

  • Posts: 32
  • Thank you received: 0
  • Hikashop Business
10 years 1 month ago #176005

Yes, here it is:

The order is Nº Q3N34

The mail contains the following link:
/index.php?option=com_hikashop&ctrl=order&task=download&file_id=66&order_id=334&Itemid=285

Then the user logges in and then a blank page.

And if the user logges in and try to download from the user orders in the frontpage, appears the following link:
/order/download/file_id-66/order_id-334

The same story.

Last edit: 10 years 1 month ago by fernando.alh.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 1 month ago #176075

Hi,

If you got a full blank page, it can be a php fatal error.
Please check your PHP error log in order to check that.

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: 32
  • Thank you received: 0
  • Hikashop Business
10 years 1 month ago #176092

Thank you for reply Jerome, where can I check it out?

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 1 month ago #176212

Hi,

Well, in your PHP error log ; it's related to your web hosting, not to HikaShop or Joomla.
Otherwise you can change the "error reporting level" to "maxium" in your Joomla global configuration (tab "server"), it should display the errors in the page instead of log them in the log file.

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.

Time to create page: 0.087 seconds
Powered by Kunena Forum