Page 8 of 8 FirstFirst ... 678
Results 71 to 79 of 79

Thread: Pligg Importer 0.8

  1. #71
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,915
    Blog Entries
    88
    Thanks
    519
    Thanked 846 Times in 551 Posts

    Default

    Thanks for PM'ing me your url. It helps when I can see the site. It looks like all your posts are "editorials"? If so, they don't have urls, and therefore parse_url returns a warning.

    However, it's just a warning and should not effect the import.

    When the import is complete, we can fix the editorial urls quite easily in phpMyAdmin, but first you need to finish the import. What other errors are you getting?

  2. #72
    Senior Member narc's Avatar
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    220
    Thanks
    66
    Thanked 45 Times in 35 Posts

    Default

    The reports are written by members of themselves. after a release of my records are provided online.

    runs through import, with the error messages. even if I wait a long time, not all imported items. I have no button then move to the next step to come.

  3. #73
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,915
    Blog Entries
    88
    Thanks
    519
    Thanked 846 Times in 551 Posts

    Default

    How about trying this?

    PHP Code:
    if ($child->link_url == 'http://') {
        
    $domain '';
    } else {
        
    // Get the original domain
        
    $parsed parse_url($child->link_url); 
        if (isset(
    $parsed['scheme']) && isset($parsed['host'])) {
            
    $domain $parsed['scheme'] . "://" $parsed['host'];
        } else {
            
    $domain '';
        }


  4. #74
    Senior Member narc's Avatar
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    220
    Thanks
    66
    Thanked 45 Times in 35 Posts

    Default

    it works, but i have no button to the next step. link_table are full with my articles. only this:
    Importing data from tk
    Table: Links...

    Number of records added:
    i have manuel edit http://localhost:8080/hotaru/admin_i...importer&step=2 to 3. import is done, nothing errors. tag import habe the same errors a link_table.
    i edit http://localhost:8080/hotaru/admin_i...importer&step=2 to 5.

    my step 5
    Importing data from tk
    Table: Users...

    Number of records added:
    Warning: Invalid argument supplied for foreach() in E:\_www\root\hotaru\content\plugins\pligg_importer \pliggimp_users.php on line 151
    0

    Users table imported successfully!
    if i push 'continue', i become new error

    Notice: Trying to get property of non-object in E:\_www\root\hotaru\libs\UserAuth.php on line 59
    Page not found.
    Sorry, you don't have permission to view this page.
    i cant to log in to hotaru - next step. new install on my localhost
    Last edited by narc; 08-13-2010 at 10:32 PM.

  5. #75
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,915
    Blog Entries
    88
    Thanks
    519
    Thanked 846 Times in 551 Posts

    Default

    Maybe this plugin is incompatible with Pligg 1.1? I don't know. I haven't used Pligg for three years.

  6. #76
    Senior Member narc's Avatar
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    220
    Thanks
    66
    Thanked 45 Times in 35 Posts

    Default

    Pligg sucks
    how much it would cost me "Pligg importer" for Pligg 1.1 update? beautiful it is when "Pligg importer" includes the article pictures would import into the hotaru.

    ps: again with the craft of custom template for hotaru with dummy data. for my new community here in the new forum.

  7. #77
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,915
    Blog Entries
    88
    Thanks
    519
    Thanked 846 Times in 551 Posts

    Default

    Hi narc, thanks for providing me with a copy of your database. I ran the Pligg Importer plugin the usual way and was successful until importing the Users table. After the Users table was imported, I got kicked out of Hotaru because my cookie details don't match the record for the "narc" god user. It should work for you, though.

    I'm 99% certain that when you tried importing the Links table, it timed out. That's why it didn't show the "Continue" button.

    In php.ini in WampServer, part of my settings look like this:

    ;;;;;;;;;;;;;;;;;;;
    ; Resource Limits ;
    ;;;;;;;;;;;;;;;;;;;

    max_execution_time = 2700 ; Maximum execution time of each script, in seconds
    max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
    ;max_input_nesting_level = 64 ; Maximum input variable nesting level
    memory_limit = 128M ; Maximum amount of memory a script may consume (128MB)

    2700 seconds is 45 minutes. Make sure yours is the same and run the import again. Ignore those parse_url warnings.

    Good luck!

  8. Thanked by:


  9. #78
    Senior Member narc's Avatar
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    220
    Thanks
    66
    Thanked 45 Times in 35 Posts

    Default

    hi nick. many thanks. Your tip does work and is the solution of my problems. you make my day.

  10. #79
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,915
    Blog Entries
    88
    Thanks
    519
    Thanked 846 Times in 551 Posts

    Default

    Note: The Pligg Importer plugin no longer works with the latest versions of phpMyAdmin and is one heck of a memory hog. Please use the Pligg2Hotaru plugin instead.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Started on a Pligg Importer plugin
    By Nick in forum How-To and Troubleshooting
    Replies: 6
    Last Post: 09-15-2009, 08:00 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •