Recommended Posts

geshi seems to fail a bit -

if you create a post with lua tags and preview it, it will show these errors on top:

Loading language[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4505: Cannot modify header information - headers already sent by (output started at /includes/geshi.php:505)

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4507: Cannot modify header information - headers already sent by (output started at /includes/geshi.php:505)

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4508: Cannot modify header information - headers already sent by (output started at /includes/geshi.php:505)

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4509: Cannot modify header information - headers already sent by (output started at /includes/geshi.php:505)

earlier it also stripped my post when I did it

Share this post


Link to post

o yea, i think PHP ini options

  • error_reporting
    display_errors
    display_startup_errors

must be set to Off or these errors must be fixed by hands

Share this post


Link to post

* i think phpbb forum can override this by enabling option from some script

* you still can fix these errors manually

* if php working as module or something like that you must to restart web server after changing PHP.ini

+ what about adding [ lua ] bb code button to @reply/create thread@ form?

? why "Loading language" text placed before error messages? what this text mean? This text also was in upper part of page sometimes on old server.

"Log in with OpenID" this wiki login page give me some error messages instead of normal page

Share this post


Link to post

Looked around, guessed here in Development was the best spot.

Either way, trying to log into Mantis and its throwing an error.

Figured you guys should know. also, I'm using Firefox 3.6.3 (not sure if that has anything to do with it)

SYSTEM WARNING: mysql_connect() [function.mysql-connect]: Access denied for user 'mta_wsandra'@'localhost' (using password: YES) 
SYSTEM WARNING: Cannot modify header information - headers already sent by (output started at /var/www/bugs/core/error_api.php:166) 

APPLICATION ERROR #18 
Page redirection error, ensure that there are no spaces outside the PHP block (<?php ?>) in config_inc.php or custom_*.php files. 


Oh, and as i went to Post Preview, the forums are doing it also.

Loading languageLoading language[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4505: Cannot modify header information - headers already sent by (output started at /includes/geshi.php:505) 
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4507: Cannot modify header information - headers already sent by (output started at /includes/geshi.php:505) 
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4508: Cannot modify header information - headers already sent by (output started at /includes/geshi.php:505) 
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4509: Cannot modify header information - headers already sent by (output started at /includes/geshi.php:505) 

Share this post


Link to post

I merged your post into this topic.

I also get the same error when attempting to log in to Mantis. However, as noted above, the post preview issue has been resolved (or at least hidden?).

Share this post


Link to post

Thanks for merging the post Towncivilian.

did a preview just then and I don't see any errors.

Share this post


Link to post

i saw just this mantis error while login

SYSTEM WARNING: mysql_connect() [function.mysql-connect]: Access denied for user 'mta_wsandra'@'localhost' (using password: YES) 

and erros messages before forum page start again while posting this message with code(:

Loading languageLoading language 
Warning: Cannot modify header information - headers already sent by (output started at /var/www/forum/includes/geshi.php:505) in /var/www/forum/includes/functions.php on line 4505 
  
Warning: Cannot modify header information - headers already sent by (output started at /var/www/forum/includes/geshi.php:505) in /var/www/forum/includes/functions.php on line 4507 
  
Warning: Cannot modify header information - headers already sent by (output started at /var/www/forum/includes/geshi.php:505) in /var/www/forum/includes/functions.php on line 4508 
  
Warning: Cannot modify header information - headers already sent by (output started at /var/www/forum/includes/geshi.php:505) in /var/www/forum/includes/functions.php on line 4509  

Share this post


Link to post

If they moved the MySQL database to a new MySQL server, just add the account the Mantis uses to connect with and ta-da! It works again.

Share this post


Link to post
If they moved the MySQL database to a new MySQL server, just add the account the Mantis uses to connect with and ta-da! It works again.

Or change mantis to the right user. Apperantly it used to have a diff user then the other system in the same db. Has to do with one of our small modifications to mantis.

And i'll kill that geshi bastard once and for all.

Share this post


Link to post

Well I'm assuming you copied over the same database to the new server. That means you would just need to recreate the user that has access to that database. You wouldn't need to modify the existing user unless the name change was on purpose.

Share this post


Link to post
You wouldn't need to modify the existing user unless the name change was on purpose.
It was on purpose, all dbs now have it's own username and password instead of one common combination. But in their infinite wisdom ppl who add hacks to our site always write their own version of the db details instead of using the config file. That is why only the login page failed.

Share this post


Link to post

openid logins on the wiki with google accounts are not working at the moment. We are looking into the problem.

Share this post


Link to post

saw now at the upper side of forum

[phpBB Debug] PHP Notice: in file /index.php on line 86: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead 
[phpBB Debug] PHP Notice: in file /index.php on line 86: getdate() [function.getdate]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead 
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4505: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706) 
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4507: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706) 
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4508: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706) 
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4509: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706) 

Share this post


Link to post
saw now at the upper side of forum
Upgraded php to make the wiki openid login work again (still a work in progress). And php 5.3 has some nice depricated functions it seems.

Share this post


Link to post

mm.. bug tracker is also contain lots of

SYSTEM WARNING: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead 

and

SYSTEM WARNING: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead 

Main page and "files" page contains not all HTML code. I think it was cut.

Share this post


Link to post

yes, some fine work from php about the timezone thing.

main page got f*cked due to the mirror list emptying by accident. Restored a backup and everything is fine again.

That's what happens when you try something new.

Share this post


Link to post

I had similar problems with the PR site when I installed a new OS and moved everything over to upgraded systems. I'd recommend updating Mantis, PHPBB, and MediaWiki to their latest versions before upgrading PHP and MySQL.

Share this post


Link to post

mediawiki an phpbb are up to date, no idea about mantis at the moment. It's just that php got upgraded to 5.3.5, latest version in the ports collection and 5.3 apperantly has some nice changes.

OpenID fails on FreeBSD for a lot of people apperantly, but I did get it working completly now. It did require a small hack that in rare cases (when the openid never returns a service) could send you in an infinite reloading loop. Need to look into that further, but the most important thing is that it works.

Share this post


Link to post

lol well that sounds like a mess. What were you guys running it on before? A Windows or *Nix server?

Share this post


Link to post

We moved from openbsd + lighttpd to freebsd + nginx. The initial install used php 5.2 but it was recommended to upgrade to the 5.3 branch by someone else who had the openid problems. But this created some new errors. The switch to nginx is a decision I made. nginx has some small advantages over lighttpd.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.