Page 1 of 1

Help Please!! Problem with Generic RSS import now

Posted: Sun Jun 29, 2008 4:30 pm
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:

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

Posted: Sun Jun 29, 2008 4:48 pm
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

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

Posted: Sun Jun 29, 2008 6:40 pm
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.

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

Posted: Mon Jun 30, 2008 11:43 am
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