Installation set up...
 
Notifications
Clear all

Installation set up issues

16 Posts
5 Users
0 Reactions
3,244 Views
(@guest1951)
Posts: 0
 

b]URL to your eFiction: www.subtle-salvation.com/v5
Version of eFiction: 3.3
Have you bridged eFiction, if so with what?: n.a
Version of PHP: 5.2.3
Version of MySQL: 5.0.27
State the nature of your problem: Warning: mkdir() [function.mkdir]: Permission denied in /home/ajcohen/public_html/v5/install/install.php on line 195
Do you have a test account for us?

I've tried installing efiction 3.3 at least four times now, and each time I get a different error.  This is the second time this one happens, however.  It pops up during the web-installation process, when I try to fill out the Submission Settings page.  The only thing I change on that page is that stories should be automatically validated.  That's it.  Yet, I keep getting this error.  Help?  I'd really like to use efiction for my site, but this is starting to be far more trouble than it's worth.


 
Posted : 25/06/2007 4:57 pm
(@chelle)
Posts: 122
Estimable Member
 

Checked out your site and it's showing.  Did you managed to get Efic installed with no errors?  From initial looks that looks to be the case.


 
Posted : 25/06/2007 6:45 pm
(@guest1951)
Posts: 0
 

It installed, yes, but when I was going through setup, that's when I got the errors.  And, now that I think about it, it shouldn't be a problem since I have to delete the install folder anyway.  I'm just worried it's going to mess something up in the future.

But hey, it's working so far...


 
Posted : 25/06/2007 6:58 pm
(@jrabbit)
Posts: 64
Trusted Member
 

The error occurred when the install script tried to create the "stories" folder. The operating system user account that PHP it is running under does not have permission to create folders due to the security settings your host has put in place.

One option you have is to choose the option from your admin pages to store stories in the database instead of on the filesystem - this is the more secure option but it does mean you won't be able to enable image uploads for your authors.

Alternatively, create the "stories" folder yourself and change the permissions / ownership on it so that the user running PHP has access to create subfolders and files in it.


 
Posted : 25/06/2007 9:19 pm
(@guest1951)
Posts: 0
 

Oh, thank you!  That helps tremendously.  What should the permissions be set to for php to actually access that folder?  And is it okay that I just created a stories folder and gave it a more specific path?  I want the ability to back the site up, so having the stories in txt form easily downloadable is a feature I liked about efiction.

But thank you!  Just knowing what the problem is is fantastic!


 
Posted : 26/06/2007 3:36 pm
(@tammy)
Posts: 2577
Member Moderator
 

It needs to be CHMOD'd to 666. Make sure the path is correct in your site settings too. 


 
Posted : 27/06/2007 4:23 pm
(@guest1951)
Posts: 0
 

Okay, I chmod'ed the right folder to 666, and I double checked the path in settings and everything's fine -- but the text doesn't show when I try to look at the story.

However, when I save it to MySQL instead of to files -- I'd prefer files, because I want to be able to backup the texts to my harddrive -- the text doesn't display.  It's there, it's visible when I go to edit the file, but it doesn't display.  Any ideas?


 
Posted : 27/06/2007 6:48 pm
(@tammy)
Posts: 2577
Member Moderator
 

Are you going to store the stories as files or as SQL?  You cannot go back and forth.  Any stories you submitted prior fixing the stories folder will not have any text because they will not have been saved previous to you fixing the problem.  Did you submit a new story?  Did that story have text that appeared.  Please take the site out of maintenance or create a level 4 admin account for us to look at things with.


 
Posted : 27/06/2007 7:49 pm
(@guest1951)
Posts: 0
 

Sorry, I though I'd turned maintenance off.  I did completely resubmit the story, with the same problem -- when I preview it, the text is there, but when I attempt to go and read the story going through the site, there's no text.


 
Posted : 27/06/2007 8:05 pm
(@tammy)
Posts: 2577
Member Moderator
 

Sounds like your path information is probably wrong for the stories folder.  You got this figured out?  I just submitted a test story and it's showing up correctly to me.


 
Posted : 27/06/2007 8:09 pm
(@guest1951)
Posts: 0
 

I made it work by CHMODing the folder to 777; it doesn't work when I try with 666.  I don't think that's supposed to be correct, though.

Thank you, btw, for all your help πŸ™‚


 
Posted : 27/06/2007 8:12 pm
(@jacci)
Posts: 503
Honorable Member
 

The 777 is the correct chmod for the stories folder. Some hosts will let it run on 755, but for the most part, it needs to be 777


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:40 am
(@guest1951)
Posts: 0
 

Isn't that risky, though?  I don't feel comfortable leaving my site open for anyone to hack into, particularly when this is going to be a single-author archive.


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

I dont really understand the script issues here, but i would assume though that there woudl be some safeguards built into the scipt against that.

If you aren't happy with the 777, then the only other option is to store your stories in the database instead, avoiding the stories folder completely.


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 12:41 pm
(@chelle)
Posts: 122
Estimable Member
 

You could also see if it will work with the folder set to 755 as some hosts had it so folders were at 755 for security.  My host did a while back citing those reasons.  My instances of efic run just fine with it.  If it doesn't work, then you know that your options are 777 or saving to the DB.


 
Posted : 28/06/2007 4:26 pm
Page 1 / 2
Share: