A few errors
 
Notifications
Clear all

A few errors

8 Posts
4 Users
0 Reactions
1,762 Views
(@guest1960)
Posts: 0
 

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


 
Posted : 26/06/2007 7:47 pm
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

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

 
Posted : 26/06/2007 8:52 pm
(@tammy)
Posts: 2577
Member Moderator
 

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.


 
Posted : 27/06/2007 5:29 pm
(@guest1960)
Posts: 0
 

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


 
Posted : 27/06/2007 9:02 pm
(@jacci)
Posts: 503
Honorable Member
 

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

 
Posted : 28/06/2007 1:21 am
(@guest1960)
Posts: 0
 

It seems that it has fixed errors but isnt it a security concern to chmod stories to 777 ?


 
Posted : 29/06/2007 12:23 pm
(@jacci)
Posts: 503
Honorable Member
 

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

 
Posted : 29/06/2007 12:26 pm
(@guest1960)
Posts: 0
 

Thanks,i will try


 
Posted : 29/06/2007 3:26 pm
Share: