file editing causes multiple problems
Posted: Sat Mar 01, 2008 1:40 pm
I'm running version 1.2.3 on linux and xammp 1.5.4a.
I did a clean install and then copied some templates and css settings from an old cms install so far so good. The site run smoothly when i realized that the data i put in the admin text areas don't appear as utf-8 in phpmyadmin, i new how to solve this, i uncommented the line in include.php and saved it. What a disaster! I tried to log on admin and on the login screen i see these errors:
Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/stonetechnew/config.php:1) in /opt/lampp/htdocs/stonetechnew/admin/login.php on line 35
Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/stonetechnew/config.php:1) in /opt/lampp/htdocs/stonetechnew/admin/login.php on line 36
Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/stonetechnew/config.php:1) in /opt/lampp/htdocs/stonetechnew/admin/login.php on line 185
Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/stonetechnew/config.php:1) in /opt/lampp/htdocs/stonetechnew/admin/login.php on line 186
I logged in and some more errors:
Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/stonetechnew/config.php:1) in /opt/lampp/htdocs/stonetechnew/admin/lang.php on line 58
Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/stonetechnew/config.php:1) in /opt/lampp/htdocs/stonetechnew/lib/page.functions.php on line 160
Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/stonetechnew/config.php:1) in /opt/lampp/htdocs/stonetechnew/lib/page.functions.php on line 161
Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/stonetechnew/config.php:1) in /opt/lampp/htdocs/stonetechnew/lib/classes/class.admintheme.inc.php on line 161
Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/stonetechnew/config.php:1) in /opt/lampp/htdocs/stonetechnew/lib/classes/class.admintheme.inc.php on line 164
Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/stonetechnew/config.php:1) in /opt/lampp/htdocs/stonetechnew/lib/classes/class.admintheme.inc.php on line 167
Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/stonetechnew/config.php:1) in /opt/lampp/htdocs/stonetechnew/lib/classes/class.admintheme.inc.php on line 168
Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/stonetechnew/config.php:1) in /opt/lampp/htdocs/stonetechnew/lib/classes/class.admintheme.inc.php on line 171
Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/stonetechnew/config.php:1) in /opt/lampp/htdocs/stonetechnew/lib/classes/class.admintheme.inc.php on line 176
I cleared the cache but that didn't help. Fortunately i had a backup of the whole site (database and files) and i reverted the changes. Everything was as before, errors disappeared! Now i tried editing the file (include.php) again just opened it and saved it again (no actual changes in any lines) and the problem appears again! Go back in the backup reverted it again, edit another file (config.php) same problems again! Anyone has an idea on whats happening i haven't had any issues with previous versions (1.03, 1.04) editing files, but this is crazy! Any help appreciated, thanks.
I did a clean install and then copied some templates and css settings from an old cms install so far so good. The site run smoothly when i realized that the data i put in the admin text areas don't appear as utf-8 in phpmyadmin, i new how to solve this, i uncommented the line in include.php and saved it. What a disaster! I tried to log on admin and on the login screen i see these errors:
Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/stonetechnew/config.php:1) in /opt/lampp/htdocs/stonetechnew/admin/login.php on line 35
Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/stonetechnew/config.php:1) in /opt/lampp/htdocs/stonetechnew/admin/login.php on line 36
Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/stonetechnew/config.php:1) in /opt/lampp/htdocs/stonetechnew/admin/login.php on line 185
Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/stonetechnew/config.php:1) in /opt/lampp/htdocs/stonetechnew/admin/login.php on line 186
I logged in and some more errors:
Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/stonetechnew/config.php:1) in /opt/lampp/htdocs/stonetechnew/admin/lang.php on line 58
Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/stonetechnew/config.php:1) in /opt/lampp/htdocs/stonetechnew/lib/page.functions.php on line 160
Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/stonetechnew/config.php:1) in /opt/lampp/htdocs/stonetechnew/lib/page.functions.php on line 161
Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/stonetechnew/config.php:1) in /opt/lampp/htdocs/stonetechnew/lib/classes/class.admintheme.inc.php on line 161
Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/stonetechnew/config.php:1) in /opt/lampp/htdocs/stonetechnew/lib/classes/class.admintheme.inc.php on line 164
Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/stonetechnew/config.php:1) in /opt/lampp/htdocs/stonetechnew/lib/classes/class.admintheme.inc.php on line 167
Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/stonetechnew/config.php:1) in /opt/lampp/htdocs/stonetechnew/lib/classes/class.admintheme.inc.php on line 168
Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/stonetechnew/config.php:1) in /opt/lampp/htdocs/stonetechnew/lib/classes/class.admintheme.inc.php on line 171
Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/stonetechnew/config.php:1) in /opt/lampp/htdocs/stonetechnew/lib/classes/class.admintheme.inc.php on line 176
I cleared the cache but that didn't help. Fortunately i had a backup of the whole site (database and files) and i reverted the changes. Everything was as before, errors disappeared! Now i tried editing the file (include.php) again just opened it and saved it again (no actual changes in any lines) and the problem appears again! Go back in the backup reverted it again, edit another file (config.php) same problems again! Anyone has an idea on whats happening i haven't had any issues with previous versions (1.03, 1.04) editing files, but this is crazy! Any help appreciated, thanks.