Skip to main content

execution time exceeded with many ean code

More
11 years 6 months ago - 11 years 6 months ago #197436 by lionel75
-- 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: 11 years 6 months ago by lionel75.

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

More
11 years 6 months ago #197464 by Jerome
Hi,

You can use
Code:
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.

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

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