Server Host: localhost (127.0.0.1)
Database: zc200_xxxxxxxx
Store Home: C:/xampp/htdocs/zencart-2.0.0_xxxxxxxxxx/
Server OS: Windows NT DESKTOP-xxxxxxx 10.0 build 19045 (Windows 10) AMD64
Server Date: 06/04/2024 12:14:03
Server Up Time: Unsupported
HTTP Server: Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.0.23
PHP Version: 8.0.23 (Zend: 4.0.23)
PHP File Uploads: On
Upload Max Size: 512M
PHP Memory Limit: -1
POST Max Size: 1024M
Database Engine: MySQL 10.4.25-MariaDB
Database Host: localhost (127.0.0.1)
Database Date: 06/04/2024 12:14:02
Database Data Size: 488 kB
Database Index Size: 690 kB
MySQL Slow Query Log Status: Off
MySQL Slow Query Log File: XXXXXXXXXXXXXXXXXX.log
MySQL Mode: NO_ZERO_IN_DATE, NO_ZERO_DATE, NO_ENGINE_SUBSTITUTION
XAAMP V.3.3.0
Only my custom admin tools and UPS Shipping (New one) are installed
I have a 103,927 products that I am exporting (with my script) to a datafeed file and it takes around 45 minutes to and hour to finish.
I put set_time_limit(0); at the beginning of my script to disable max_execution_time and prevent log errors for max_execution_time exceeding 1800 seconds. This is the only way to get the script to run all the way through.
Still, I have to monitor admin and click on continue when the session time out warning pops up the first time at 30 minutes, then then every 900 seconds of processing.
I have changed Admin Session Time Out in Seconds from 900, 1800, then 3600 and changed the PA-DSS Admin Session Timeout Enforced setting to non-compliant.
I assume :-) the purpose of the admin settings are to disable that pop up warning. Am I wrong?
I grepped / searched all of the Zencart files for 900 and found that the sessions.php file is where most of the magic happens. But, I do not want to mess with this file since it is at the core of PA-DSS.
I changed php.ini max_execution_time to unlimited after it failed at 3600 too.
I made these changes in apache my.ini, [mysqld] max_allowed_packet=10M and [mysqldump] max_allowed_packet=160M
I added these to config_inc.php: $cfg['ExecTimeLimit'] = 3600; $cfg['LoginCookieValidity'] = 43200;
How do you stop the session from ending before the script finishes? I've done everything I know to disable the pop-up warning and timing out but to no avail.
Thanks.
P.S. can you increase your forum time out limit so people don't lose what work they have done to describe the issues they are facing? It's very frustrating but I have learned to copy my work before sending:-(
Bookmarks