Hello,
I have recently installed eFiction on my website.
Nice script with a many feature,but i got this error while was installing
Warning: chmod() [function.chmod]: No such file or directory in /usr/home/domain/domains/domain.com/public_html/poetry1/install/install.php on line 196
The action was successful.
Annyway installation completed successfuly.
Then when i have trie dto create first story i got these errors
Warning: Invalid argument supplied for foreach() in /usr/home/domain/domains/domain.com/public_html/poetry1/browse/class.php on line 50
Warning: fopen(stories/1/1.txt) [function.fopen]: failed to open stream: No such file or directory in /usr/home/domain/domains/domain.com/public_html/poetry1/stories.php on line 510
Although story was indeed created i am still worried whether of if above three errors must be fixed ?
Best Regards,
EU
Looks like a CHMOD problem, maybe? I don't really know. Did you CHMOD everything right? There should have been instructions in the readme.
https://efiction.org/forums/index.php?topic=5014.0
https://efiction.org/forums/index.php?topic=5068.0
https://efiction.org/forums/index.php?topic=556.0
Otherwise i'd guess that /poetry1/install/install.php was in the wrong place in your folder. Did you move any files anywhere else besides the config file?
I can't really help you more than that. You're supposed to give a link to your site, and what version of eFiction you have, if it's up to date and if you modded it in any way if you are looking for help.
There is a read This Before Posting topic here:
https://efiction.org/forums/index.php?topic=4118.0
Whoever said nothing is impossible never tried slamming a revolving door.
url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word
Did you create your stories folder and CHMOD it to 666? Seems like you didn't have the stories folder created, it tried to create it for you and couldn't. So you need to do so.
Jan_AQ thanks but those links didnt helped,my reply is below.
I can PM you my website URL and the version is 3.3
Tammy i did but still getting below errors.
I have manualy created stories folder and chmoded it to 666
Some of errors were fixed,but when i have tried to submit new story i got this,although again,the story was actualy added
Warning: mkdir() [function.mkdir]: Permission denied in /usr/home/domain/domains/domain.com/public_html/poetry1/stories.php on line 205
Warning: chmod() [function.chmod]: Permission denied in /usr/home/domain/domains/domain.com/public_html/poetry1/stories.php on line 206
Warning: fopen(stories/1/2.txt) [function.fopen]: failed to open stream: Permission denied in /usr/home/domain/domains/domain.com/public_html/poetry1/stories.php on line 208
Warning: chmod() [function.chmod]: Permission denied in /usr/home/domain/domains/domain.com/public_html/poetry1/stories.php on line 214
Then when i gone to Submissions and clicked validate i got these errors
Warning: fopen(stories/1/2.txt) [function.fopen]: failed to open stream: Permission denied in /usr/home/domain/domains/domain.com/public_html/poetry1/admin/validate.php on line 59
Warning: filesize() [function.filesize]: stat failed for stories/1/2.txt in /usr/home/domain/domains/domain.com/public_html/poetry1/admin/validate.php on line 60
Warning: fread(): supplied argument is not a valid stream resource in /usr/home/domain/domains/domain.com/public_html/poetry1/admin/validate.php on line 60
Warning: fclose(): supplied argument is not a valid stream resource in /usr/home/domain/domains/domain.com/public_html/poetry1/admin/validate.php on line 62
The stories folder needs to be CHMODed to 777 for it to work properly. Try setting the CHMOD to that and see if it fixes the remaining errors.
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
It seems that it has fixed errors but isnt it a security concern to chmod stories to 777 ?
You can try setting it to 755, or asking your host to allow it to run under a 755 setting, or store your stories in the database instead. They are your only options as far as i know . Otherwise it has to be 777
The only security issues with efiction i am aware of were holes in other parts of the script, which have all been plugged since then. None of the security issues were to do with the 777 setting on stories I don't think.
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
Thanks,i will try