no random serial available in Joomla 2.5

  • Posts: 151
  • Thank you received: 9
12 years 3 months ago #67298

Hi,

In Joomla 1.5 the random serial generator works fine.
In Joomla 2.5 (new site in test now) behind "Configuration", "Pack Generator", I can only choose "Secure e-book".

The "random serial generator" plugin IS enabled.

Please advice
Maurice

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

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
12 years 3 months ago #67398

Hi,

If you want to select a random serial generator, you have to create a configuration in the backend.
The "random serial generator" is a multiple-configuration plugin while "secure e-book" is a single configuration plugin.

Please go in the plugin section of HikaSerial and create a new configuration of the random serial generator.
After that, your configuration would be list in the drop down.

Best 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: 151
  • Thank you received: 9
12 years 3 months ago #67419

Hi,

Thank you, it works. I can now select the random generator.

But now another problem occurs. When I create a testorder via the front-end, I get an errormessage at the top of the page when I finish the order:

Warning: implode() [function.implode]: Invalid arguments passed in /home/niburu/public_html/niburu-test.nu/administrator/components/com_hikaserial/classes/order.php on line 242

The serial itself is generated and appears in the e-mail that is being sent to the customer.

Kind regards,
Maurice

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

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
12 years 3 months ago #67432

Hi,

Please re-download the latest version of HikaSerial and re-install it (it would just update files without touching the configuration).
There was a missing structure for the Serial History.

Otherwise, you can update manually the file classes/order.php by replacing the line 242, 243 and 244 :

$query = 'INSERT IGNORE INTO '.hikaserial::table('history').' (history_serial_id,history_new_status,history_type,history_created,history_ip,history_user_id) '.
								' SELECT a.serial_id,'.$this->db->Quote($pack_serial_status).',\'creation\','.(int)time().','.$this->db->Quote(hikaserial::getIP()).','.(int)hikaserial::loadUser().' '.
								' FROM '.hikaserial::table('serial').' AS a WHERE a.serial_assign_date = '.(int)$generateTime.' AND serial_order_id = '.(int)$order->order_id;

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.
The following user(s) said Thank You: Maurice

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

  • Posts: 151
  • Thank you received: 9
12 years 3 months ago #67433

Hi Jerome,

I redownloaded, installed, tested, and the problem is fixed! Thank you very much! :)

Kind regrads,
Maurice

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

Moderators: Obsidev
Time to create page: 0.063 seconds
Powered by Kunena Forum