a problem i always encounter

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
eggidea
Posts: 23
Joined: Fri 11. Jun 2004, 09:26

a problem i always encounter

Post by eggidea »

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!!!!!
Pappnase

Post by Pappnase »

hello

wich version did you use?!
look at this thread.

http://www.phpwcms.de/forum/viewtopic.p ... hlight=128
eggidea
Posts: 23
Joined: Fri 11. Jun 2004, 09:26

Post by eggidea »

hello i am using phpwcms_1.1-RC4_2004-06-08 version, and still finding solution, thank you
User avatar
Oliver Georgi
Site Admin
Posts: 9936
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

There is no line 1004. Check - maybe there are some additional linebreaks behind the ending "?>"

Your FTP client might doing this.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
eggidea
Posts: 23
Joined: Fri 11. Jun 2004, 09:26

Post by eggidea »

Oliver Georgi wrote:There is no line 1004. Check - maybe there are some additional linebreaks behind the ending "?>"

Your FTP client might doing this.

Oliver
i deleted those space , still got same problem :(
User avatar
Oliver Georgi
Site Admin
Posts: 9936
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

I don't know what's wrong there.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

reupload and reinstall ....
http://www.studmed.dk Portal for doctors and medical students in Denmark
User avatar
lady_witchcraft
Posts: 94
Joined: Sun 14. Nov 2004, 19:19
Location: Austria
Contact:

modify header information

Post by lady_witchcraft »

got the same problem, but now i found the solution in my config.inc.php :D , 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 :roll: , 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!!! :D
... it's not bad luck, it's a bug ...
Post Reply