Pligg Support

RSS Importer (version 2.0) on Pligg CMS 2.0 (RC1?) does not import RSS.

After I setup a RSS feed, I click the feed import. Url is like blow.

It shows an error "Feed not fully setup, skipping".
Debug print SQL shows the SQL "select * from pligg_feed_link where feed_id = 1" that returns NULL.

The pligg_feed_link table doesn't have any data.

line 29 in rss_import/templates/import_fields_center.tpl

$Feed_Links = $RSSImport->get_feed_field_links($feed->feed_id);

$Feed_Links is NULL.

Around line 69 in class.rssimport.php

function get_feed_field_links($feed_id=0){
global $db;
if(!isset($feed_id)){$feed_id = $this->FeedId;}
$sql = "select * from " . table_prefix . "feed_link where feed_id = " . $
//echo "" . $sql . "";
$feed_field_links = $db->get_results($sql);
return $feed_field_links;

Thank you in advance

Possible Answers

    Thank you, All!!

    Now I can import RSS feed!

    The problem was that I didn't setup title, url, description from edit link.

    BTW, I would like to contribute some code or document for this module, how can I do that?

    I couldn't find the repository of this module on GitHub.

    I try to find the document in the code, but there are nothing about contribution in a readme file.


    | Posted 930 days ago | Permalink | Hide Replies

    Here is a video from an old version of that module that should give you a better understanding of how to set it up properly.

    | Posted 930 days ago | Permalink | Hide Replies

    Have you added and configured a feed before trying to import it?


    Possible troubleshooting:

    The RSS Import module should have added 3 new tables to your database: pligg_feeds, pligg_feed_import_fields, and pligg_feed_link. If you use a different database prefix, then pligg_ would be replaced with that in these examples.

    Open up phpmyadmin and check if these tables have been added. You should see other Pligg CMS tables like pligg_links and pligg_users in the same database. If they weren't added, then you may want to try uninstalling, then re-install the module and see if any new error messages are present in the error.log.

    | Posted 930 days ago | Permalink | Hide Replies

    You did actually set the "link" table in setup?

    Where the 'title' field from the feed = "link_title" in Pligg. Then the link itself and the description and summary fields???

    I've forgot them fields before when setting up mine and seen something like that!!!

    | Posted 930 days ago | Permalink | Hide Replies

Who Upvoted this Story's Support area is where you can ask questions and get answers. Just getting started with the Support area? This section describes tips for participating.

Submitting a Question or Comment

By taking a minute to research previous posts you may receive an answer much faster than waiting for a response to a new question. Begin by searching the support section for an answer. Sometimes you may even want to extend your search to the entire domain.

If you are unable to find a relevant answer, submit a new question or comment here. Please provide a detailed description and, when necessary, debugging information such as your server environment (a link to a <?php phypinfo(); ?> .php page would be very helpful), your web browser, and any steps necessary to reproduce your issue.

Submitting an Answer

If you have an answer or useful response that you would like to add to a post, you can submit it as a comment which other users will then vote on. Answers are sorted by most popular to least, allowing the best information to climb to the top of the page.

Please read and vote for existing answers before submitting your own, as there may already be an acceptable answer provided. You can use the "Reply" link found within an answer to submit a response to it, in case you want to expand or comment on someone else's contribution.

Including Files or Code

Sometimes it is necessary for you to attach a file or include a snippet of code for others to reference in your response. In most cases, you can .zip up files and attach them to a question or answer using Pligg's file manager. At times though this may fail, and in these circumstances we recommend using a third party host. Below we are including a list of recommended websites where you can share easily share file uploads (or snippets of code) through the web.