Problems With RSS feeds

Having trouble installing serendipity?
Post Reply
chad777
Posts: 1
Joined: Sun Oct 14, 2007 6:18 pm
Contact:

Problems With RSS feeds

Post by chad777 »

Hello my feeds and XML pages show this message and I can't fix it. Any suggestions?

XML Parsing Error: junk after document element
Location: http://chadstroh.com/cblog/index.php?/feeds/index.rss2
Line Number 2, Column 1:<b>Fatal error</b>: Cannot redeclare cp_porttosqlite2() in <b>

Here is the feed site: http://chadstroh.com/cblog/index.php?/feeds/index.rss2
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Problems With RSS feeds

Post by garvinhicking »

Hi!

You seem to be including a PHP script that uses a "cp-porttosqlite2()" command. This does not come from Serendipity itself, you must be using some custom PHP that does this.

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/
ameriaux
Posts: 1
Joined: Tue Oct 16, 2007 5:42 am

Same problem

Post by ameriaux »

I have the same exact problem since I've updated to the last version. The complete error is:

<b>Fatal error</b>: Cannot redeclare cp_porttosqlite2() (previously declared in D:\Inetpub\Virtual\ameriaux\WWWROOT\CGI-BIN\cblog\serendipity_config.inc.php:15) in <b>D:\Inetpub\Virtual\ameriaux\WWWROOT\CGI-BIN\cblog\serendipity_config.inc.php</b> on line <b>82</b><br />

The only thing I have installed is serendipity no other PHP. So I do think it is a Serendipity error...
DVDFan4
Regular
Posts: 8
Joined: Tue Oct 16, 2007 6:55 am

Post by DVDFan4 »

I have the same problem as well since updating to v1.2. The RSS feed plugin is broken with this error occurring whenever I click on any of the Feed links.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Please check your serendipity_config.inc.php files, how do they look?

Is there any mention of a "cp_porttosqlite2" function? If so, you are not running an unmodified serendipity installation! Your server might be hacked?

I do not know where this cp_porttosqlite2 comes from, but it DOES NOT come from Serendipity!!!!

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/
DVDFan4
Regular
Posts: 8
Joined: Tue Oct 16, 2007 6:55 am

Post by DVDFan4 »

This is the comment inside the serendipity_config.inc.php file.

// CP PATCH START
// The main reason this function to be implemented is the sqlite alter table issue when the backend database is sqlite v > 3.2
// above the 3.2 version the ALTER TABLE SQL command is unsupported
function cp_portToSQLite2( $schema, $arefColumns, $postCallback='' )
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

This does not come from Serendipity. Someone must have altered this. Please find out who did that.

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/
DVDFan4
Regular
Posts: 8
Joined: Tue Oct 16, 2007 6:55 am

Post by DVDFan4 »

I've asked my hosting provider if they modified the files in any way. I use their control panel application to install the software. Once I hear back, I will post here.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Which control panel application do they use? I have not gotten any feedback of control panel softwre that bundles serendipity and modifies the core files...

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/
chickens
Regular
Posts: 192
Joined: Wed Dec 06, 2006 12:15 am
Location: Vegas
Contact:

Post by chickens »

I just chatted with one of the support techs at aplus.net -- the common factor here it seems. The issue has been escalated to a server admin who is looking into the issue.
henryg: Hello! How may I help you?
Visitor97909: I am one of the community members of serendipity (s9y.org) and some of your hosting clients are having issues with the RSS feeds giving SQLite errors. I am wondering if you guys modified the core files in any way (this is your advanced blogging system)
henryg: hi
Visitor97909: the error on one of your clients pages (I believe) http://chadstroh.com/cblog/index.php?/feeds/index.rss2
henryg: as far as i know we did not do any changes in the Advance blog recently
henryg: but to use RSS you nee outbound connection to be open
Visitor97909: can you please explain what you mean -- I am a server admin so any details would be fine
henryg: May i have your registration number, please
Visitor97909: I am not a client
Visitor97909: I am a member of the support team for serendipity
henryg: using the RSS you are connecting to another server, right ?
Visitor97909: no
Visitor97909: to display the RSS feed
henryg: you connect to remote machine to read RSS from there ?
Visitor97909: it should just display the RSS feed, but it is now giving the redeclare cp_porttosqlite2() error
Visitor97909: cp_porttosqlite2() is not part of our system
henryg: let me find your account
Visitor97909: It is not my account, it is an account of someone who came to our forum looking to help. I am trying to help him resolve the issues; several people have been reporting the same issue as of late
henryg: ok, i can not see any recent changes on this account
henryg: and i believe they did this, but anyway i will escalate this to the Admin
henryg: you might be right, the issue may be on our end
Visitor97909: I've seen the same error come up on our forums about 5 times in the last week or so
Visitor97909: It kind of looks like you guys modified some of the core files and when someone upgrades to the latest version via our upgrade method the RSS feed errors out
henryg: the issue is escalated to the Admin, we will inform the cust as soon as the issue is resolved
Visitor97909: is there a way to add me as a point of contact if they need any further info from the blogging side of thigs?
henryg: sorry i can not do that since you are not the acocunt owner
Visitor97909: I fully understand
Visitor97909: Thank you.
henryg: you are welcome
assent
Regular
Posts: 9
Joined: Thu Oct 18, 2007 12:20 pm

Post by assent »

Hello,

the issue was reported to the developer group and an update for the software will be provided Today, Oct. 18th. Users should check in their control panel (https://cp.aplus.net) under the serendipity (advanced blog) tool icon.

Regards,
Assen
----------------------------------------------------
Assen Tchorbadjiev
Aplus.Net Internet Services
assent [at] aplus.net
2C35 8891 6DCB 2D4C BAA0 13E9 35F9 7F6A 41E0 8A1E <pgp.mit.edu>
Post Reply