Notifications
Clear all

[SOLVED] Problem editing chapter as admin

4 Posts
2 Users
0 Reactions
1,736 Views
(@jacci)
Posts: 503
Honorable Member
Topic starter
 

info in siggy below

i was logged in as admin (level 1) , trying to update a link in a story  by another author
http://www.pretendercentre.com/missingpieces/viewstory.php?sid=3185

as it points to old site and i can open the chapter to edit and make the changes to the link, but when i hit the add story, i get this error:


Warning: fopen(stories/223/3185.txt) [function.fopen]: failed to open stream: Permission denied in /home/pretende/public_html/missingpieces/stories.php on line 447

and the changes do not hold

just tried to edit another chap from random author as admin and get the same thing (just with diff .txt number quoted)

I can't recall having this issue before the 3.2 upgrade.

thanks jacci


why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/     
php: 5.2.5  msql: 5.0.45-community
efic version: 3.4.3           latest patches: yes
bridges: none              mods: challenges, displayword, beta-search

 
Posted : 17/03/2007 9:13 am
(@tammy)
Posts: 2577
Member Moderator
 

It's not the script.  You're getting an error that you can't open the chapter's file.  I bet you couldn't even edit your own chapters if you tried.  Check that the stories folder and all folders beneath it are CHMOD'd to 666.  Check that your host hasn't suddenly turned safe mode on.


 
Posted : 17/03/2007 12:12 pm
(@jacci)
Posts: 503
Honorable Member
Topic starter
 

Ah thanks Tammy, it was the chmod.

Must have been a result of the move. I distinctly remember setting the stories folder to 777 (that is the level in the install instructions, so should i change it to 666?). The folders all have a chmod of 777 but it looks like the damn text files were still on 644 despite me checking the include all subfolders. grrrr the dumb ftp.

Sorry for bothering you with that and thanks for the fix.
jacci


why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/     
php: 5.2.5  msql: 5.0.45-community
efic version: 3.4.3           latest patches: yes
bridges: none              mods: challenges, displayword, beta-search

 
Posted : 17/03/2007 6:59 pm
(@tammy)
Posts: 2577
Member Moderator
 

No 777 is right.  I was thinking 666 for the files.


 
Posted : 18/03/2007 1:52 am
Share: