Problems saving menu options -->infinite loop

  • Posts: 57
  • Thank you received: 2
12 years 11 months ago #32896

Hey,
I am just trying the starter edition on Joomla 1.7.3 .
Unfortunately, I cant save my menu options (product listing). The product category and number of columns are always empty after save.
Also the frontend runs into an infinite loop, calling this menu item.

Any idea, whats running wrong here?

Cheers

php error:

[16-Dec-2011 12:57:09] PHP Fatal error: Maximum function nesting level of '100' reached, aborting! in /Applications/Mamp/htdocs/buntype17/libraries/joomla/utilities/date.php on line 145
[16-Dec-2011 12:57:09] PHP Stack trace:
[16-Dec-2011 12:57:09] PHP 1. {main}() /Applications/Mamp/htdocs/buntype17/index.php:0
[16-Dec-2011 12:57:09] PHP 2. JSite->dispatch() /Applications/Mamp/htdocs/buntype17/index.php:43
[16-Dec-2011 12:57:09] PHP 3. JComponentHelper::renderComponent() /Applications/Mamp/htdocs/buntype17/includes/application.php:191
[16-Dec-2011 12:57:09] PHP 4. require_once() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/helper.php:156
[16-Dec-2011 12:57:09] PHP 5. JController->execute() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/hikashop.php:53
[16-Dec-2011 12:57:09] PHP 6. hikashopController->listing() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/controller.php:684
[16-Dec-2011 12:57:09] PHP 7. hikashopController->display() /Applications/Mamp/htdocs/buntype17/administrator/components/com_hikashop/helpers/helper.php:813
[16-Dec-2011 12:57:09] PHP 8. JController->display() /Applications/Mamp/htdocs/buntype17/administrator/components/com_hikashop/helpers/helper.php:1008
[16-Dec-2011 12:57:09] PHP 9. ProductViewProduct->display() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/controller.php:650
[16-Dec-2011 12:57:09] PHP 10. JView->display() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/view.html.php:35
[16-Dec-2011 12:57:09] PHP 11. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:180
[16-Dec-2011 12:57:09] PHP 12. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 13. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 14. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 15. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 16. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 17. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 18. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 19. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 20. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 21. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 22. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 23. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 24. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 25. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 26. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 27. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 28. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 29. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 30. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 31. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 32. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 33. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 34. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 35. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 36. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 37. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 38. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 39. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 40. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 41. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 42. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 43. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 44. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 45. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 46. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 47. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 48. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 49. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 50. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 51. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 52. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 53. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 54. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 55. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 56. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 57. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 58. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 59. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 60. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 61. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 62. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 63. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 64. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 65. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 66. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 67. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 68. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 69. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 70. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 71. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 72. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 73. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 74. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 75. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 76. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 77. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 78. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 79. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 80. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 81. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 82. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 83. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 84. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 85. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 86. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 87. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 88. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 89. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 90. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 91. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 92. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 93. JView->loadTemplate() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:148
[16-Dec-2011 12:57:09] PHP 94. include() /Applications/Mamp/htdocs/buntype17/libraries/joomla/application/component/view.php:582
[16-Dec-2011 12:57:09] PHP 95. JRequest::getVar() /Applications/Mamp/htdocs/buntype17/components/com_hikashop/views/product/tmpl/listing.php:85
[16-Dec-2011 12:57:09] PHP 96. JRequest::_cleanVar() /Applications/Mamp/htdocs/buntype17/libraries/joomla/environment/request.php:151
[16-Dec-2011 12:57:09] PHP 97. JLog::add() /Applications/Mamp/htdocs/buntype17/libraries/joomla/environment/request.php:679
[16-Dec-2011 12:57:09] PHP 98. JLogEntry->__construct() /Applications/Mamp/htdocs/buntype17/libraries/joomla/log/log.php:169
[16-Dec-2011 12:57:09] PHP 99. JDate->__construct() /Applications/Mamp/htdocs/buntype17/libraries/joomla/log/logentry.php:100

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

  • Posts: 57
  • Thank you received: 2
12 years 11 months ago #32898

I have now uninstalled everything and deleted the hika tables, but the error is still the same. After assingning the menu, the page will be displayed correct with title but with no content. After saving the hika menu options, the error occures again...

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 11 months ago #32922

Hi,

Are you creating your menu as explained in the tutorial here www.hikashop.com/en/support/documentatio...splay-front-end.html via the joomla menu manager ?

These loop errors comes from the fact that the hikashop options of your menu where not saved. Do you get any errors when saving them ? Did you try to activate the debug mode of the joomla configuration to see if you got more information in the problem when you saved the options ?

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

  • Posts: 57
  • Thank you received: 2
12 years 11 months ago #32931

Hey,

Yes, I have done it with the joomla menu manager. It occures no error, but some fields are empty after saving. I don't need to change anything. Just call the page and save: deleted values. I have activated the error output and attached a webarchive with the page.

cheers

File Attachment:

File Name: Administration.zip
File Size:251 KB

Attachments:
Last edit: 12 years 11 months ago by Hans987. Reason: zipped

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 11 months ago #32952

Could you give a back end access to your website so that we can see that ?

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

  • Posts: 57
  • Thank you received: 2
12 years 11 months ago #32965

hu,

it runs locally with MAMP (on OS X 10.58 php is 5.35). No idea how to manage this.

But I have just done a clean installation with joomla 1.7.3 and as the only addition the hika starter. Same result.

This is the message on the hika option page after saving:

You just saved a category listing menu without setting an associated module for it.
If you want to display a product listing below the category listing, you need to add an associated product listing module.
You can do so automatically by clicking here
Successfully Saved

and attached a screenshot of the joomla menu manger

Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 11 months ago #32976

It's not an error. It just says that you don't have an associated module.

Unfortunately, we don't have that problem on our end so hard to say anything.

Could you move your website to an online server so that we can access it ?

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

  • Posts: 57
  • Thank you received: 2
12 years 11 months ago #33277

I have just installed it on my server and - no bug.
So it's related to the local installation. But where could I look for the problem? php-version? rights management? damaged config file? any Idea?

Cheers

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 11 months ago #33296

Mmm. Hard to say. Could you activate the debug mode of the joomla configuration and try again ? If it's a MySQL error, you should see a big error message.

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

  • Posts: 57
  • Thank you received: 2
12 years 11 months ago #33389

strange thing.

yesterday it ran after changing my php.ini to

dbx.colnames_case = "lowercase"

today i wanted to proof, set it back -> error again

and again to

dbx.colnames_case = "lowercase"

and astonishingly it has no effekt, the problem remains...


But before digging deeper, I have two question:


1.
I need the hika shop for selling downloadable files.
So I tested the function on your demo and saw that the download-link is not encrypted.

www.demo.hikashop.com/index.php?option=c...e_id=121&order_id=22

so, the shopper could change the order_id and the file_id in his download link and download everything from other orders.
Or is there something preventing, which I did not saw?



2. I would like to have graduated prices, like often seen in software distributions.

The Product price of 50$ is for 1-5 Users-no rebate.
2-10 User: 2*price*10% rebate
11-20 User:3*price*20% rebate
and so on up to 1000 users

( so quantity 1-5 ends in the same price: 50$,
quantity 5-10 ends in 90$,
11-20 ends in 160$,
and so on)

have you any idea how to manage this without adding many fields to every single product?

Thanks

Hans

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 11 months ago #33451

Hi,

1. Indeed the parameters are not encoded because there is no need for it. If you try to download a product or to display an order which is not yours, it won't allow you to see/download it. How it knows ? When you're logged in, the system can easily know the orders of the current user and the files of the products of these orders.

2. That's really easy to do in HikaShop. When you set the price of a product, you can actually add additional prices and set a minimum quantity for each price.
You could just have prices like that:
price min qty
$50 1
$45 2
$40 10
...etc...

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

  • Posts: 57
  • Thank you received: 2
12 years 10 months ago #34216

Hi,

1. great. Excuse my misconception.
2. but this would result in
1*$50=$50
10*$40=$400.
what I would like to do is:
1-5 license=1*$50=$50
5-10 licenses=(2*$50) *95% = $95

Thanks,
Hans

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 10 months ago #34242

Hi,

It's not possible to have the same total price for different quantities of the product unless you create a hikashop price calculation override plugin. There is some documentation for that here: www.hikashop.com/en/support/documentatio...tation.html#override

Otherwise, you could create a "licenses pack" characteristic with two values (1-5 and 5-10), add it to your product, and then set the price for each variant of the product.

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

Time to create page: 0.081 seconds
Powered by Kunena Forum