Invoice button doesn't work

  • Posts: 11
  • Thank you received: 0
11 years 3 months ago #119482

Hi,

I have a problem: 'Invoice' and 'Shipping invoice' buttons don't work. Nothing happened after I clicked on them.

-- url of the page with the problem -- : johnnycakes.ru
-- HikaShop version -- : HikaShop Starter: 2.2.0
-- Joomla version -- : 3.1.5.
-- Browser(s) name and version -- : Chrome 28.0., Opera 15.0

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

  • Posts: 13201
  • Thank you received: 2322
11 years 3 months ago #119634

Hi,

Have you edited any views related on the invoice ?
If it is, thanks to remove the modifications and try again.

Can you see if you have an error in your browser console ? (you can activate it by pressing the F12 key, then go in the console part).

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

  • Posts: 11
  • Thank you received: 0
11 years 3 months ago #119724

I haven't edited any views. I guess.
But I don't clearly understand what is 'editing views'.
And, yes - there's an error in browser's console 'Uncaught SyntaxError: Unexpected token } '.

<button onclick="http://johnnycakes.ru/administrator/index.php?option=com_hikashop&ctrl=order&task=invoice&tmpl=component&type=shipping&order_id=31" class="btn btn-small modal" data-toggle="modal" data-target="#modal-Shipping">
	<i class="icon-cog"></i>
Uncaught SyntaxError: Unexpected token }
	Shipping invoice</button>

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
11 years 3 months ago #119802

Could you provide more details on that error ? In the browser's console, there should be a way to see on which line of which file that syntax error is. Knowing that will help us understand where that error is coming from.

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

  • Posts: 11
  • Thank you received: 0
11 years 3 months ago #119814

Only one URL I can see related to this error in cosole: johnnycakes.ru/administrator/index.php?o...=order&task=edit&cid []=32&cancel_redirect=L2FkbWluaXN0cmF0b3IvaW5kZXgucGhwP29wdGlvbj1jb21faGlrYXNob3AmYW1wO2N0cmw9b3JkZXI%3D
And the line of the error is 385.

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
11 years 3 months ago #119824

And could you provide the code that you have around that line of that file ? (look at the HTML source code of the page with your browser).

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

  • Posts: 11
  • Thank you received: 0
11 years 3 months ago #119885

Sure. Here you are

<div class="btn-wrapper"  id="toolbar-popup-shipping#shipping">
	<button onclick="http://johnnycakes.ru/administrator/index.php?option=com_hikashop&ctrl=order&task=invoice&tmpl=component&type=shipping&order_id=32" class="btn btn-small modal" data-toggle="modal" data-target="#modal-Shipping">
	<i class="icon-cog"></i>
Uncaught SyntaxError: Unexpected token }
	Shipping invoice</button>

</div>

Last edit: 11 years 3 months ago by kogor.

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

  • Posts: 2334
  • Thank you received: 403
11 years 3 months ago #119888

Actually what we need is the code around the line 385 in the file specified by the console.
This is probably a Hikashop file like the invoice.php (but it may be something else)

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

  • Posts: 11
  • Thank you received: 0
11 years 2 months ago #121950

This bug has gone after last update. Thanx

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

Time to create page: 0.079 seconds
Powered by Kunena Forum