Recent Topics

1 Jul 04, 2006 10:51    

Hi everyone,

I recently installed the v-1-8 material on my server and performed an upgrade. I performed the upgrade from B2Evo 0.9.2 as specified in the upgrade directions: Backup database and settings, remove *all* 0.9.2 files, upload new files, install/index.php, enter data, choose to upgrade.
The upgrade went flawlessly, but after I chose to go to the login for the admin, the trouble began. Each and every page I visit displays this error message:

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ww9286/html/blog/inc/_connect_db.inc.php:46) in /home/www/ww9286/html/blog/inc/MODEL/sessions/_session.class.php on line 196

Depending on whether I visit the admin or the main page, more messages of this kind follow, with different files and line numbers all referencing the same point of trouble. Aside from displaying this error, it prevents me from logging into the administrator backend. The login form itself works, but the next page doesn't come up properly.

The files I'm using are the ones currently in the v-1-8 branch for the anonymous CVS user. I synchronized on July 4, 2006, 6:30 CEST (GMT+2).

Hope this helps you guys!

Thanks,
Marco

2 Jul 04, 2006 11:17

in /conf/_advanced.php change debug to 2, and see if their is any database errors or problems occuring.

3 Jul 04, 2006 11:34

balupton wrote:

in /conf/_advanced.php change debug to 2, and see if their is any database errors or problems occuring.

I get one error message:
Could not "SET NAMES latin1"!

This error is repeated later under the Locale: heading:

default_locale from conf: en-EU
default_locale from DB: de-DE
default_locale from HTTP_ACCEPT: de-DE
Could not "SET NAMES latin1"!
evo_charset (_main.inc.php): iso-8859-1
io_charset (_main.inc.php): iso-8859-1
Activating blog locale: de-DE

Make any sense?

Marco

4 Jul 04, 2006 12:06

Not to me, wait for a developer to post something else.

And where did you get your version of b2evolution from?

Edit:
In the meantime try commenting out this line (home/www/ww9286/html/blog/inc/_connect_db.inc.php:46)

5 Jul 04, 2006 12:28

balupton wrote:

Not to me, wait for a developer to post something else.

Thanks, will do! I've done some research, and it appears that for different locales, B2Evo tries to set different MySQL text types. My hosting provider doesn't seem to allow the setting of latin1 to be used with that particular MySQL installation. But we'll wait for one of the dev guys to shed some more light on this.

balupton wrote:

And where did you get your version of b2evolution from?

Straight from the repository using the anonymous account, specifying the v-1-8 branch.

balupton wrote:

In the meantime try commenting out this line (home/www/ww9286/html/blog/inc/_connect_db.inc.php:46)

Normally a good idea. Trouble is: This file has only 24 lines. :'(

Marco

6 Jul 04, 2006 12:35

Normally a good idea. Trouble is: This file has only 24 lines. Crying or Very sad

Yeh, so does mine.... So thats wierd...

Straight from the repository using the anonymous account, specifying the v-1-8 branch.

From sourceforge? If so, can you do a post on how u got it [url=http://forums.b2evolution.net//viewtopic.php?t=6810]here[/url]. I don't like cvs programs, i prefer just using the file in my sig for getting cvs builds ;) But that's not the v-1-8 branch :( which i need to get a copy of.

7 Jul 04, 2006 15:49

balupton wrote:

Straight from the repository using the anonymous account, specifying the v-1-8 branch.

From sourceforge? If so, can you do a post on how u got it [url=http://forums.b2evolution.net//viewtopic.php?t=6810]here[/url]. I don't like cvs programs, i prefer just using the file in my sig for getting cvs builds ;) But that's not the v-1-8 branch :( which i need to get a copy of.

See the other topic for my reply. I just looked what my TortoiseCvs put in the output window, it uses the normal CVS command line syntax.

Works fine for me, except for the error message this topic was originally about. ;)

Marco

8 Jul 04, 2006 15:52

MarcoZ wrote:

Straight from the repository using the anonymous account, specifying the v-1-8 branch.

...

Normally a good idea. Trouble is: This file has only 24 lines. :'(

Marco

Nope. Normally using something from CVS is using something that the developers have not released and make no promise as to reliability or compatibility with any future releases. Having said that, I've used a CVS version and have suffered dearly for it. You are free to make the same mistake I did, just be aware that it is a mistake to run the CVS version on a live site.

9 Jul 04, 2006 18:34

There's whitespace at the end of the file ;)

¥


Form is loading...