MTA Team Blokker_1999 Posted March 24, 2011 MTA Team Share Posted March 24, 2011 We have migrated to a new server, if you spot anything wrong, please let us know. Link to comment
Discord Moderators Zango Posted March 24, 2011 Discord Moderators Share Posted March 24, 2011 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 Link to comment
MX_Master Posted March 24, 2011 Share Posted March 24, 2011 o yea, i think PHP ini options error_reportingdisplay_errorsdisplay_startup_errors must be set to Off or these errors must be fixed by hands Link to comment
MTA Team Blokker_1999 Posted March 24, 2011 Author MTA Team Share Posted March 24, 2011 display_errors was indeed still turned on Link to comment
MX_Master Posted March 24, 2011 Share Posted March 24, 2011 * 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 Link to comment
DazzaJay Posted March 25, 2011 Share Posted March 25, 2011 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) Link to comment
Towncivilian Posted March 25, 2011 Share Posted March 25, 2011 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?). Link to comment
DazzaJay Posted March 25, 2011 Share Posted March 25, 2011 Thanks for merging the post Towncivilian. did a preview just then and I don't see any errors. Link to comment
MX_Master Posted March 25, 2011 Share Posted March 25, 2011 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 Link to comment
Towncivilian Posted March 25, 2011 Share Posted March 25, 2011 asdf Yep, you're right. More Geshi errors when post is previewed or submitted. Link to comment
SugarD-x Posted March 25, 2011 Share Posted March 25, 2011 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. Link to comment
MTA Team Blokker_1999 Posted March 25, 2011 Author MTA Team Share Posted March 25, 2011 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. Link to comment
SugarD-x Posted March 25, 2011 Share Posted March 25, 2011 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. Link to comment
MTA Team Blokker_1999 Posted March 26, 2011 Author MTA Team Share Posted March 26, 2011 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. Link to comment
MTA Team Blokker_1999 Posted March 28, 2011 Author MTA Team Share Posted March 28, 2011 openid logins on the wiki with google accounts are not working at the moment. We are looking into the problem. Link to comment
MX_Master Posted March 29, 2011 Share Posted March 29, 2011 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) Link to comment
MTA Team Blokker_1999 Posted March 29, 2011 Author MTA Team Share Posted March 29, 2011 saw now at the upper side of forumUpgraded 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. Link to comment
MX_Master Posted March 29, 2011 Share Posted March 29, 2011 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. Link to comment
MTA Team Blokker_1999 Posted March 29, 2011 Author MTA Team Share Posted March 29, 2011 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. Link to comment
SugarD-x Posted March 29, 2011 Share Posted March 29, 2011 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. Link to comment
MTA Team Blokker_1999 Posted March 30, 2011 Author MTA Team Share Posted March 30, 2011 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. Link to comment
SugarD-x Posted March 30, 2011 Share Posted March 30, 2011 lol well that sounds like a mess. What were you guys running it on before? A Windows or *Nix server? Link to comment
MTA Team Blokker_1999 Posted March 30, 2011 Author MTA Team Share Posted March 30, 2011 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. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now