<![CDATA[ Can importX import 7,000 records? - My Forums]]> https://forums.modx.com/thread/?thread=71118 <![CDATA[Re: Can importX import 7,000 records?]]> https://forums.modx.com/thread/71118/can-importx-import-7-000-records#dis-post-399960 The CSV can help a lot to carry on associated TVs in the same format it does importing and then be able to import in another site (matching new TVs values, of course or bulk updating TVs, aliases, etc).

Did a feature request at:
https://github.com/Mark-H/importX/issues/26

Related:
http://forums.modx.com/thread/71749/importing-resources-and-tv-content-to-2-1-3-pl-to-2-1-5-pl#dis-post-399889]]>
lithiumlab Nov 14, 2011, 03:24 PM https://forums.modx.com/thread/71118/can-importx-import-7-000-records#dis-post-399960
<![CDATA[Re: Can importX import 7,000 records?]]> https://forums.modx.com/thread/71118/can-importx-import-7-000-records#dis-post-399956
In my case 7,000+ resources took more than 10 mins but it worked flawlessly. smiley
Thanks a lot for such an awesome Extra.

Add this lines in fcgiext.ini on your system32/inetsrv.

[PHP]
ExePath=PATH_TO_YOUR\php-cgi.exe
ActivityTimeout=1800
RequestTimeout=1800


Also make sure max_execution_time in your loaded php.ini is the same.

*You'll need to change [PHP] to whatever your instance of php is named.
Hope this info can be useful for modxers using windows. Took me a lot of time to figure out.]]>
lithiumlab Nov 14, 2011, 03:06 PM https://forums.modx.com/thread/71118/can-importx-import-7-000-records#dis-post-399956
<![CDATA[Re: Can importX import 7,000 records?]]> https://forums.modx.com/thread/71118/can-importx-import-7-000-records#dis-post-397395 No idea how to do that.

Thanks for reporting how to change it on IIS.]]>
markh Oct 19, 2011, 10:52 AM https://forums.modx.com/thread/71118/can-importx-import-7-000-records#dis-post-397395
<![CDATA[Re: Can importX import 7,000 records?]]> https://forums.modx.com/thread/71118/can-importx-import-7-000-records#dis-post-397394 I manually edited php.ini max_execution_time, restarted IIS and it worked.
Thanks for all the info. Really helpful.

Maybe its good idea to place a console error there in the meanwhile.

ImportX rocks!
Again, thanks a lot.

Pablo.]]>
lithiumlab Oct 19, 2011, 10:37 AM https://forums.modx.com/thread/71118/can-importx-import-7-000-records#dis-post-397394
<![CDATA[Re: Can importX import 7,000 records?]]> https://forums.modx.com/thread/71118/can-importx-import-7-000-records#dis-post-397388
set_time_limit(0)


though there is no guarantee it will work. It wont work on IIS servers or when safe_mode is enabled, for one smiley

The reason you can't do 7K at a time without that is cause the server typically limits how long a process can run, which is a good thing in case something spins out of control into an endless loop. I filed it as an improvement for a next version: https://github.com/Mark-H/importX/issues/25 (though I have no idea when I'll have time to work on that next version).]]>
markh Oct 19, 2011, 10:11 AM https://forums.modx.com/thread/71118/can-importx-import-7-000-records#dis-post-397388
<![CDATA[Re: Can importX import 7,000 records?]]> https://forums.modx.com/thread/71118/can-importx-import-7-000-records#dis-post-397387
Yeah probably wouldn't take long to brake apart the records but i prefer to know why can't.
I prefer to dig in the issue a bit more to get consistence in the import process since i will use modx revo + importX for future projects.
]]>
lithiumlab Oct 19, 2011, 10:01 AM https://forums.modx.com/thread/71118/can-importx-import-7-000-records#dis-post-397387
<![CDATA[Re: Can importX import 7,000 records?]]> https://forums.modx.com/thread/71118/can-importx-import-7-000-records#dis-post-397386
Thanks a lot for the info.
I will submit the request.

How can i modify the timeout?
I'm really no php expert. smiley
]]>
lithiumlab Oct 19, 2011, 09:48 AM https://forums.modx.com/thread/71118/can-importx-import-7-000-records#dis-post-397386
<![CDATA[Re: Can importX import 7,000 records?]]> https://forums.modx.com/thread/71118/can-importx-import-7-000-records#dis-post-397338
Also, can you file a feature request on Github, to make ImportX attempt to set the limit on runtime? Thanks!]]>
markh Oct 19, 2011, 03:58 AM https://forums.modx.com/thread/71118/can-importx-import-7-000-records#dis-post-397338
<![CDATA[Re: Can importX import 7,000 records?]]> https://forums.modx.com/thread/71118/can-importx-import-7-000-records#dis-post-397336 okyanet Oct 19, 2011, 03:20 AM https://forums.modx.com/thread/71118/can-importx-import-7-000-records#dis-post-397336 <![CDATA[Can importX import 7,000 records?]]> https://forums.modx.com/thread/71118/can-importx-import-7-000-records#dis-post-397275 lithiumlab Oct 18, 2011, 03:49 PM https://forums.modx.com/thread/71118/can-importx-import-7-000-records#dis-post-397275