Hi Marco,
Currently I have more than 3.200 members but when trying to export them I get a .csv with only 2.408 members, why not all?
Must be memory limit or something similar, when exporting the page goes with with no response.
Thx.
Hi Marco,
Currently I have more than 3.200 members but when trying to export them I get a .csv with only 2.408 members, why not all?
Must be memory limit or something similar, when exporting the page goes with with no response.
Thx.
Plese read the FAQ and provide missing info.
Also enable debug and paste the error:
http://codex.wordpress.org/Editing_wp-config.php#Debug
Ok, I've read the FAQ and changed some lines in php.ini but still no luck.
In fact the output file each time has a different size.
Enabling debug I got:
Notice: Undefined offset: 0 in /home/content/98/7035098/html/XXXXXXX/wp-content/plugins/cimy-user-manager/cimy_user_manager.php on line 975
Can you help me?
If you read the FAQ where are the missing info requested? Version of the plug-in used?? Come on.
You need help, I need information.
Versión 1.2.0
Changed:
max_execution_time = 0
max_input_time = 1024 (tested some other values but no luck)
file_uploads = On
upload_max_filesize = 40M
post_max_size = 40M
I can see the problem only on line 974, but not 975 can you check again?
Notice: Undefined offset: 0 in /home/content/98/7035098/html/anper/wp-content/plugins/cimy-user-manager/cimy_user_manager.php on line 975
---
$field_separator.$text_separator.$current_user->roles[0].$text_separator. is my line 975
That line is 974 for me on v1.2.0 - did you modify the plug-in? I suggest to wipe out that version and reinstall.
It is weird anyway that you have that error, that means you have an user without roles?
Wiped and still the same. Now the error is at line 974:
Notice: Undefined offset: 0 in /home/content/98/7035098/html/anper/wp-content/plugins/cimy-user-manager/cimy_user_manager.php on line 974
But when this notice appears the process is still running, I mean, this notice does not break the process.
After a few seconds I got a blank screen.
I have no users without roles, and if fact sometimes the export process stops at 2422 users and sometimes at 2467, but never at the total (3.815).
yea 974 makes sense, well kinda, still no idea why it happens. But I'll see if I can fix it.
Could it be a "memory" problem or similar? Because the exported amount is variable.
It might be, but you tried all the faq but not the one that really matters about memory usage.
You need to change the memory limit:
http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP
Changed to 96M, same results.
The exported (but truncated) file is about 1,1MB.
Maybe can help but when importing amounts near to 100 users I got a blank screen, sometimes all are imported sometimes I have to split the csv in 2 parts.
But if I have luck all 100 users are imported with the successfully screen.
Or maybe taking a look to my DB you could find the limitation...
But the problem is _importing_ or _exporting_? You are making such a confusion here.
Both.
Please change line 974 with this one:
if (isset($current_user->roles[0]))
$field_separator.$text_separator.$current_user->roles[0].$text_separator.
else
$field_separator.$text_separator.$text_separator.
And let me know, but still is odd.
Error de HTTP 500 (Internal Server Error): Se ha detectado una condición inesperada cuando el servidor intentaba atender la solicitud.
Sorry that was wrong, try simply this
$field_separator.$text_separator.$text_separator.
And if it works I'll think a better solution.
Sorry, it doesn't work, the result is a smaller .csv with the same blank screen.
¿?
Thx.
I have no idea, I optimized the export a lot with the help of one user, v1.2.0 should be much better.
So more than recommending what is already in the FAQ I don't know what to do.
So, how can I export the almost 4.000 users? I have to report...
If I send you a copy of the database... or if I give you access to the wp-admin area...
[Email removed]
I have one user that successfully exported more than 3000 users with the new version and very low consumption of memory (around 50 megs).
So what shall I do more?
I think you should try to update to PHP 5.3 since has better memory management.
If you already have PHP 5.3 then I really don't know what to do, REALLY.
I'm going to update to PHP 5.3 and come back.
Thx.
Well, no luck with PHP 5.3, only a slightly improvement because the exported file is larger.
Then seems you run out of memory indeed, you need to increase it to 128M or more.
Tried with different values like 128M, 156M, 192M and no luck, but more interesting is that the export file has no more size increasing the memory, it's like a random csv.
I mean, more memory != csv with more users.
Maybe your host is limiting it somehow?
You must log in to post.