Error Message for Links

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
davidsuk
Posts: 8
Joined: Sun 12. Sep 2004, 23:05

Error Message for Links

Post by davidsuk »

Hi folks,

I have a news section on my site where some of the articles should redirect to a different site: for example, a story at BBC news or something. I have been doing this by entering the URL in the article's "redirect" field. It is no longer working though! When I click on the link, instead of going (in our example) to the BBC, it displays an error message:

"Warning: Cannot modify header information - headers already sent by (output started at /usr/local/psa/home/vhosts/treatthepeople.com/httpdocs/phpwmcs/phpwcms_template/inc_script/frontend_init/sample.php:4) in /usr/local/psa/home/vhosts/treatthepeople.com/httpdocs/phpwmcs/include/inc_front/content.article.inc.php on line 59"

Any Ideas? To take a look go to http://www.treatthepeople.com and then go to the news section (http://www.treatthepeople.com/phpwmcs/index.php?news)

- David
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

please check yor permissions
Folder phpwcms_tmp 777
Folder phpwcms_tmp/thumb_list 777
Folder phpwcms_tmp/thumb_preview 777
Folder phpwcms_ftp 777
Folder phpwcms_template 666
Folder phpwcms_filestorage/1...10 777
Folder content/images 777
Folder content/gt 777
Folder content/pages 777

File setup/setup.conf.inc.php 666
File phpwcms_template/inc_css/frontend.css 666
File include/inc_conf/conf.indexpage.inc.php 666
File phpwcms_template/inc_default/startup.html 666
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
Pappnase

Post by Pappnase »

hello

please delete the sample.php scripts wich you will find in the frontend_init and frondend_render folder!
davidsuk
Posts: 8
Joined: Sun 12. Sep 2004, 23:05

Post by davidsuk »

Thank you both. I am sure that my permissions are set fine, but deleting those two files did the trick. If you are up for it, I would really appreciate an explanation of what the problem was and why that fixed it, but the main thing is that it works right now.

Thanks again,

David
Post Reply