Rss import error

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-02-2009, 01:53 PM
MissDanni's Avatar
Casual Pligger
Pligg Version: 1.0.2
Pligg Template: mystique
 
Join Date: Jun 2009
Posts: 70
I have been using the RSS Import with no problems until just now.

I updated pligg to 1.0.0 - Added a new feed and fetched it with no problem, I now went to edit a feed and i get the following:


Warning: Invalid argument supplied for foreach() in /home/xxx/public_html/modules/rss_import/rss_import_main.php on line 363

What happened?

Last edited by MissDanni; 07-02-2009 at 06:39 PM.
Reply With Quote
  #2 (permalink)  
Old 07-02-2009, 05:13 PM
MissDanni's Avatar
Casual Pligger
Pligg Version: 1.0.2
Pligg Template: mystique
 
Join Date: Jun 2009
Posts: 70
No one has any idea?
Reply With Quote
  #3 (permalink)  
Old 07-02-2009, 06:15 PM
MissDanni's Avatar
Casual Pligger
Pligg Version: 1.0.2
Pligg Template: mystique
 
Join Date: Jun 2009
Posts: 70
I removed all tables in the db.
Deleted the module.
Uploaded the module.
Installed the module again.

Still the same problem.

Error: Warning: Invalid argument supplied for foreach() in /home/xxx/public_html/modules/rss_import/rss_import_main.php on line 363

Line 363 reads: foreach ($z as $item => $key) {

Last edited by MissDanni; 07-02-2009 at 06:25 PM.
Reply With Quote
  #4 (permalink)  
Old 07-02-2009, 06:34 PM
MissDanni's Avatar
Casual Pligger
Pligg Version: 1.0.2
Pligg Template: mystique
 
Join Date: Jun 2009
Posts: 70
Ok so I think I've got it worked out...

It seems that the rss feed url field does not like trailing slash - once I removed the trailing slash all went back to normal.

I suggest that the module dev create an error alert to tell the user to remove the trailing slash if one is used.
Reply With Quote
Reply

Tags
error, rss import

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
rss import error: "Failed to fetch..." fidlet Questions and Comments 10 01-04-2008 07:36 PM
Pligg 9.5 Beta: 500 Internal Server Error!!!! Genghis Questions and Comments 0 05-02-2007 03:10 AM
Got This Parse Error on c_ file on line 141 endph Questions and Comments 0 02-14-2007 06:44 PM
MYSQL Timeout Error? RSS Import Issue cvcxl Questions and Comments 0 01-16-2007 11:44 AM
2 templates_c folders? -rss import error thinguy Questions and Comments 0 12-24-2006 11:57 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development