cant edit "Backend default startup text" in Admin

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
sajugo
Posts: 6
Joined: Thu 8. Apr 2004, 07:13
Contact:

cant edit "Backend default startup text" in Admin

Post by sajugo »

when i want to edit Backend default startup text.
error happened when i wanted to save it, as follow:

Code: Select all

Warning: fopen(/home/pr/public_html/phpwcms/phpwcms_template/inc_default/startup.html): failed to open stream: Permission denied in /home/pr/public_html/phpwcms/include/inc_lib/general.inc.php on line 766

Warning: Cannot modify header information - headers already sent by (output started at /home/pr/public_html/phpwcms/include/inc_lib/general.inc.php:766) in /home/pr/public_html/phpwcms/include/inc_act/act_startuptext.php on line 37
i have change the permission for

Code: Select all

general.inc.php
. but it doesn work out. suggestion please..
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

would you post the file?
maybe you have missed a ; at the end of a line or something
sajugo
Posts: 6
Joined: Thu 8. Apr 2004, 07:13
Contact:

Post by sajugo »

this is the file:

Code: Select all

<?php
/*************************************************************************************
   Copyright notice
   
   (c) 2002-2003 Oliver Georgi (oliver@phpwcms.de) // All rights reserved.
 
   This script is part of PHPWCMS. The PHPWCMS web content management system is
   free software; you can redistribute it and/or modify it under the terms of
   the GNU General Public License as published by the Free Software Foundation;
   either version 2 of the License, or (at your option) any later version.
  
   The GNU General Public License can be found at http://www.gnu.org/copyleft/gpl.html
   A copy is found in the textfile GPL.txt and important notices to the license 
   from the author is found in LICENSE.txt distributed with these scripts.
  
   This script is distributed in the hope that it will be useful, but WITHOUT ANY 
   WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
   PARTICULAR PURPOSE.  See the GNU General Public License for more details.
 
   This copyright notice MUST APPEAR in all copies of the script!
*************************************************************************************/

?>
<p><span class="title">welcome…</span><br />
  <br />
  This will become the default startup page of phpwcms…<br />
  <br />
  <br />
  <br />
  Post bugs, critics and feature requests at <a href="http://www.phpwcms.de/forum" target="_blank">phpwcms
  support forum</a> please.<br />
  <br />
  <br />
  contact:<br />
  <br />
  Oliver Georgi<br />
  Hegerplatz 7<br />
  06846 Dessau<br />
<a href="mailto:info@phpwcms.de">info@phpwcms.de</a></p>
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

please try to chmod the file "/home/pr/public_html/phpwcms/include/inc_act/act_startuptext.php" to 777.
Post Reply