completed Problems updating Ning import

White Agency
White Agency
@white-agency
9 years ago
204 posts
I've done another backup from ning and uploaded and am going through the import procedure doing 'Create Only (new items created)' but keep getting the following error on 'Profile forum' :-

PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 86 bytes) in /home/devs/swift-talk/modules/jrCore-release-5.2.33/lib/datastore.php on line 1097

Have increased memory limit in php to 512M but still get the same error.

ning-discussions-local.json file is 128MB.
updated by @white-agency: 06/08/15 08:28:09AM
paul
@paul
9 years ago
4,326 posts
That certainly looks server related and not JR, as such. Its a bit out of my league as to what to suggest. Hopefully Brian will have an idea when he checks in this afternoon.
I have imported some pretty big json archive files it the past without issue, but maybe not as big as 128MB.
Theoretically the file could be split into several smaller files and each imported separately (assuming a text editor could handle such a big file and you could locate the correct endpoints of each json item in the string. Maybe wait to see what Brian says first.


--
Paul Asher - JR Developer and System Import Specialist

updated by @paul: 04/30/15 05:38:01AM
White Agency
White Agency
@white-agency
9 years ago
204 posts
Just increased php memory to 1024M and same result :(
douglas
@douglas
9 years ago
2,790 posts
You might try resetting the cache and image cache...

ACP > System Tools > Reset Cache

ACP > Media > Image Support > Tools > Reset Image Cache


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
White Agency
White Agency
@white-agency
9 years ago
204 posts
Managed to sort this out.

Opened the file in vi, found the latest topic we had in the forum and deleted everything after that. Then completed the json formatting and imported the file.

Just have to be patient in vi whilst opening the file.

Tags