execution time exceeded with many ean code

  • Posts: 846
  • Thank you received: 92
9 years 2 weeks ago #197436

-- HikaShop version -- : 2.3.4
-- HikaSerial version -- : 1.9.1
-- Joomla version -- : 2.5.8
-- PHP version -- : 5.5.8

I create a pack with a number of 2700 ean . When proceed joomla return this information :
Fatal error: Maximum execution time of 30 seconds exceeded in joomla\libraries\joomla\crypt\crypt.php on line 222

How can i configure php to give it more time instead of doing this step by step ( 1100 1100 500)
ok for 1000 1100
bad for 1200 1300 1400 1500 2700

thank's

Last edit: 9 years 2 weeks ago by lionel75.

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
9 years 2 weeks ago #197464

Hi,

You can use

hikaserial::increasePerf();
in order to ask PHP to remove his 30sec limitations ; but it might not work with all servers.
The issue is not coming from HIkaSerial or from the ean generation ; it's just that you're asking to generate a lot of data and for sure it will take some time.
Activating the "fast random" setting in HikaSerial will use another function to generate the random data ; which will be "less random" but faster. The Joomla function to create random data are very secured but time consuming.

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.

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