Dear all,
I am not sure what happen, whenever I saved my setting in admin (any sections), there would be a warning message :
Cannot modify header information - headers already sent by (output started at /cms/include/inc_lib/general.inc.php:1004) in /public_html/cms/include/inc_tmpl/admin.pagelayout.tmpl.php on line 184
the above is one of the example after I saved template,
Another program is the login problem, i also encounter cannot modify header problem, and after i login, there is an error message:
Cannot modify header information - headers already sent by (output started at /public_html/cms/include/inc_lib/general.inc.php:1004) in /public_html/cms/login.php on line 128
then i have to type phpwcms.php, then i can got the normal status of already login status.
I encounter the cannot modify header so often, can you guys teach me how to solve that? thanks a million!!!!!
a problem i always encounter
-
Pappnase
hello
wich version did you use?!
look at this thread.
http://www.phpwcms.de/forum/viewtopic.p ... hlight=128
wich version did you use?!
look at this thread.
http://www.phpwcms.de/forum/viewtopic.p ... hlight=128
- Oliver Georgi
- Site Admin
- Posts: 9936
- Joined: Fri 3. Oct 2003, 22:22
- Location: Dessau-Roßlau
- Contact:
- Oliver Georgi
- Site Admin
- Posts: 9936
- Joined: Fri 3. Oct 2003, 22:22
- Location: Dessau-Roßlau
- Contact:
reupload and reinstall ....
http://www.studmed.dk Portal for doctors and medical students in Denmark
- lady_witchcraft
- Posts: 94
- Joined: Sun 14. Nov 2004, 19:19
- Location: Austria
- Contact:
modify header information
got the same problem, but now i found the solution in my config.inc.php
, maybe it`s the same prob as mine because of installing the phpwcms in a subfolder of the webserver: instead of default value of "root" ($ptemp) in your config.inc.php take your subfolder-name (in my case simply phpwcms).
//$phpwcms["root"] = $ptemp;
$phpwcms["root"] = "phpwcms";
now i can edit the index page and the css and other documents without getting the error:
Warning: fopen(/is/htdocs/user/www.kultschmiede.org/phpwcms/include/in ... ge.inc.php): failed to open stream: No such file or directory in /is/htdocs/user/www.kultschmiede.org/phpwcms/include/in ... al.inc.php on line 777
Warning: Cannot modify header information - headers already sent by (output started at /is/htdocs/user/www.kultschmiede.org/phpwcms/include/in ... nc.php:777) in /is/htdocs/user/www.kultschmiede.org/phpwcms/include/in ... ucture.php on line 214
and oliver, sorry for bothering you with my problem via e-mail
, i'm a new user of phpwcms and didn't knew that there is a forum for questions - sorry and congratulations by the way to you and your work!!! 
//$phpwcms["root"] = $ptemp;
$phpwcms["root"] = "phpwcms";
now i can edit the index page and the css and other documents without getting the error:
Warning: fopen(/is/htdocs/user/www.kultschmiede.org/phpwcms/include/in ... ge.inc.php): failed to open stream: No such file or directory in /is/htdocs/user/www.kultschmiede.org/phpwcms/include/in ... al.inc.php on line 777
Warning: Cannot modify header information - headers already sent by (output started at /is/htdocs/user/www.kultschmiede.org/phpwcms/include/in ... nc.php:777) in /is/htdocs/user/www.kultschmiede.org/phpwcms/include/in ... ucture.php on line 214
and oliver, sorry for bothering you with my problem via e-mail
... it's not bad luck, it's a bug ...