WordPress.org

Ready to get started?Download WordPress

Forums

Cimy User Manager
not exporting all members (29 posts)

  1. carblanco
    Member
    Posted 2 years ago #

    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.

    http://wordpress.org/extend/plugins/cimy-user-manager/

  2. Marco Cimmino
    Member
    Plugin Author

    Posted 2 years ago #

    Plese read the FAQ and provide missing info.
    Also enable debug and paste the error:
    http://codex.wordpress.org/Editing_wp-config.php#Debug

  3. carblanco
    Member
    Posted 2 years ago #

    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?

  4. Marco Cimmino
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  5. carblanco
    Member
    Posted 2 years ago #

    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

  6. Marco Cimmino
    Member
    Plugin Author

    Posted 2 years ago #

    I can see the problem only on line 974, but not 975 can you check again?

  7. carblanco
    Member
    Posted 2 years ago #

    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

  8. Marco Cimmino
    Member
    Plugin Author

    Posted 2 years ago #

    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?

  9. carblanco
    Member
    Posted 2 years ago #

    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).

  10. Marco Cimmino
    Member
    Plugin Author

    Posted 2 years ago #

    yea 974 makes sense, well kinda, still no idea why it happens. But I'll see if I can fix it.

  11. carblanco
    Member
    Posted 2 years ago #

    Could it be a "memory" problem or similar? Because the exported amount is variable.

  12. Marco Cimmino
    Member
    Plugin Author

    Posted 2 years ago #

    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

  13. carblanco
    Member
    Posted 2 years ago #

    Changed to 96M, same results.
    The exported (but truncated) file is about 1,1MB.

  14. carblanco
    Member
    Posted 2 years ago #

    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...

  15. Marco Cimmino
    Member
    Plugin Author

    Posted 2 years ago #

    But the problem is _importing_ or _exporting_? You are making such a confusion here.

  16. carblanco
    Member
    Posted 2 years ago #

    Both.

  17. Marco Cimmino
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  18. carblanco
    Member
    Posted 2 years ago #

    Error de HTTP 500 (Internal Server Error): Se ha detectado una condición inesperada cuando el servidor intentaba atender la solicitud.

  19. Marco Cimmino
    Member
    Plugin Author

    Posted 2 years ago #

    Sorry that was wrong, try simply this
    $field_separator.$text_separator.$text_separator.

    And if it works I'll think a better solution.

  20. carblanco
    Member
    Posted 2 years ago #

    Sorry, it doesn't work, the result is a smaller .csv with the same blank screen.
    ¿?

    Thx.

  21. Marco Cimmino
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  22. carblanco
    Member
    Posted 2 years ago #

    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]

  23. Marco Cimmino
    Member
    Plugin Author

    Posted 2 years ago #

    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?

  24. Marco Cimmino
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  25. carblanco
    Member
    Posted 2 years ago #

    I'm going to update to PHP 5.3 and come back.
    Thx.

  26. carblanco
    Member
    Posted 2 years ago #

    Well, no luck with PHP 5.3, only a slightly improvement because the exported file is larger.

  27. Marco Cimmino
    Member
    Plugin Author

    Posted 2 years ago #

    Then seems you run out of memory indeed, you need to increase it to 128M or more.

  28. carblanco
    Member
    Posted 2 years ago #

    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.

  29. Marco Cimmino
    Member
    Plugin Author

    Posted 2 years ago #

    Maybe your host is limiting it somehow?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic