Help Please!! Problem with Generic RSS import now

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
rcrrich
Regular
Posts: 7
Joined: Sun Jun 29, 2008 4:16 pm

Help Please!! Problem with Generic RSS import now

Post by rcrrich »

Hi,
I get this when trying to import any of the feeds I use to import before my crash. I upgraded to the latest version now and I can't import any rss feeds the way I use to it want it seems php 5.0 or greater?? IF that is the case why even install at all on anything but php 5.
I need to get my blog back up fast or I need to think of a new blog. I really like this one but if it doesn't work with anything but 5.0 php I can't just stop all my other scripts that don't need 5.0 right now.

ANy suggestions please

Starting import procedure...
69565 Bytes
Requirements failed: PHP >= 5.0
Import failed:
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Help Please!! Problem with Generic RSS import now

Post by garvinhicking »

Hi!

You miust have enable the "WPXRSS" option? This requires PHP5. Without this option you can import an RSS feed (but no WPXRSS one) with PHP4.

As for PHP5: This is the onlyofficially supported PHP version by the PHP team. PHP4 support has officially ended, so you should really think about going toPHP5. It has serious performance benefits.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
rcrrich
Regular
Posts: 7
Joined: Sun Jun 29, 2008 4:16 pm

Re: Help Please!! Problem with Generic RSS import now

Post by rcrrich »

garvinhicking wrote:Hi!

You miust have enable the "WPXRSS" option? This requires PHP5. Without this option you can import an RSS feed (but no WPXRSS one) with PHP4.

As for PHP5: This is the onlyofficially supported PHP version by the PHP team. PHP4 support has officially ended, so you should really think about going toPHP5. It has serious performance benefits.

Regards,
Garvin
No I don't have that enabled also php5 is in the system but don't know how to give the path to serendipity.

WordPress eXtended RSS import, requires PHP5 and might take up much memory Yes No (I HAVE no checked off.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Help Please!! Problem with Generic RSS import now

Post by garvinhicking »

Hi!
No I don't have that enabled also php5 is in the system but don't know how to give the path to serendipity.
What do you mean, that you don'T know how to give the path to serendipity? Usually only PHP5 OR PHP4 is enabled, you seldomly activate PHP4/5 for specific directories?!
WordPress eXtended RSS import, requires PHP5 and might take up much memory Yes No (I HAVE no checked off.
Ah, then you've caught a bug indeed. The check for seeing if the option was enabled sadly always reported a TRUE. This can be circumvented easily, though.

If you open the file include/admin/importers/generic.inc.php and go to line 320 you can see this code:

Code: Select all

        if ($this->data['wpxrss']) {
            return $this->import_wpxrss();
        }
if you change this to this:

Code: Select all

        if (serendipity_db_bool($this->data['wpxrss'])) {
            return $this->import_wpxrss();
        }
the check will work properly. I'm sorry for this inconvenience. :-(

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply