Post Reply 
Problems with RSS after Upgrade
20-Aug-2011, 12:34 AM
Post: #1
Problems with RSS after Upgrade
After the upgrade from 1.5 to 1.6 today the RSS has Problems.

http://www.bewertungen-und-test.duo-cred...ts/rss.php

Warning: Cannot modify header information - headers already sent by (output started at /homepages/20/d354575681/htdocs/duo-credit/www-bewertung/comments/includes/db/connect.php:1) in /homepages/20/d354575681/htdocs/duo-credit/www-bewertung/comments/rss.php on line 48


I tried to fix it, but my php is not so good Huh

PHP Code:
define ('IN_COMMENTICS''1');

/* Database Connection */
require "includes/db/connect.php"//connect to database

//get settings
require "includes/classes/settings.php";
$settings = new Settings;

//load functions file
require "includes/functions/page.php";

//load language file
require "includes/language/" $settings->language_frontend "/rss.php";

if (!
$settings->rss_enabled) {
die(
CMTX_RSS_FEATURE_DISABLED);
}

if (
cmtx_is_administrator()) {} else {
    if (
cmtx_in_maintenance()) { //check if under maintenance
        
die();
    }
}

header("Content-Type:text/xml; charset=utf-8"); 

I hope someone can Help me.
Find all posts by this user
Quote this message in a reply
20-Aug-2011, 10:42 AM
Post: #2
RE: Problems with RSS after Upgrade
Hi,

It seems that when you were editing comments/includes/db/connect.php you may have caused a blank space or an extra line at the beginning or end of the file. Open the file and remove any extra spaces or lines before the first <?php and after the closing ?>

Have you completed the interview?
Find all posts by this user
Quote this message in a reply
20-Aug-2011, 02:08 PM
Post: #3
RE: Problems with RSS after Upgrade
Thank you very much for your help.

I removed all extra spaces in connect.php.

Now it works.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Upgrade failed - table viewers minetick 2 186 20-Oct-2012 06:01 PM
Last Post: minetick

Forum Jump:


User(s) browsing this thread: 1 Guest(s)