Page 1 of 1
Problems With RSS feeds
Posted: Sun Oct 14, 2007 6:21 pm
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
Re: Problems With RSS feeds
Posted: Mon Oct 15, 2007 11:03 am
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
Same problem
Posted: Tue Oct 16, 2007 6:00 am
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...
Posted: Tue Oct 16, 2007 6:57 am
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.
Posted: Tue Oct 16, 2007 10:09 am
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
Posted: Tue Oct 16, 2007 3:26 pm
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='' )
Posted: Tue Oct 16, 2007 4:15 pm
by garvinhicking
Hi!
This does not come from Serendipity. Someone must have altered this. Please find out who did that.
Regards,
Garvin
Posted: Tue Oct 16, 2007 5:26 pm
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.
Posted: Tue Oct 16, 2007 6:03 pm
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
Posted: Tue Oct 16, 2007 7:50 pm
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
Posted: Thu Oct 18, 2007 1:05 pm
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