austinvernsonger / Untitled-Content-Management-System

Untitled Content Management System
0 stars 0 forks source link

Error in trying to create a new page #13

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Click on "New Page" link
2. Enter a new page name and click on "Create page" button

What is the expected output? What do you see instead?
Expected output: Ability to create a new page.
Instead: I get this error:

Warning: fopen(../index.php) function.fopen: failed to open stream:
Permission denied in /root/cms/new-page.php on line 178

Warning: fwrite(): supplied argument is not a valid stream resources in
/root/cms/new-page.php on line 179

Warning: fclose(): supplied argument is not a valid stream resource in
/root/cms/new-page.php on line 180
not found!

What version of the product are you using? On what operating system?
1.13
Client: Windows XP, Firefox 2.0.0.14 browser
Server: Linux, with PHP 5

Please provide any additional information below.
I am sure this is a permissions problem. I just don't know where. The file
new-page.php and the /cms folder has read/write (666) permissions. Even
changing this to 777 did not correct the problem. 

Original issue reported on code.google.com by mjg...@gmail.com on 29 Apr 2008 at 2:57

GoogleCodeExporter commented 8 years ago
mig234, the CMS (PHP) also needs write permissions in the root folder, in order 
to
save the live copy of your page there. It's ../index.php (i.e. root/index.php, 
when
called from root/cms/) that's causing the error.

Also check that root/cms/includes has 755 or 777 set.

- Ben

Original comment by designfr...@gmail.com on 6 Jun 2008 at 9:31