IIS server cannot write config.php permissions set to 777
Posted: 22 April 2008 04:17 PM   [ Ignore ]  
Grad Student
Rank
Total Posts:  39
Joined  07-16-2005

Hi, I’m installing EE for a client at http://kidsfaith.org/member using an IIS server. I ran the wizard.php to check compatibility (http://kidsfaith.org/member/wizard.php) and all required fields passed.

I checked the forums and only found one instance of this error here: http://expressionengine.com/forums/viewthread/32820/

The solution here was to go in to IIS and set the user name. Since this is a remote server, is there another solution I can use? I checked permissions on the file itself, set to 777.  I manually inserted the information in the config file and uploaded it as well as the path.php file based on the information on both files in the WIKI. But EE still isn’t working properly and goes to the install.

(I’ve removed the install.php file for now)

Any help is welcome. I’m not use to IIS servers. (Ack, sputter! Use Unix…)

Profile
 
 
Posted: 22 April 2008 05:10 PM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12434
Joined  04-29-2002

Mrs. Flinger, there are two issues with IIS servers.

One is that you have to Force Query Strings and you’ll need to check with the posting account on how to set the config.php to be the equivalent of Unix’s 666 setting.

EEKB: Main Page Content Appears on Every Page

Does that help?

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 22 April 2008 09:26 PM   [ Ignore ]   [ # 2 ]  
Grad Student
Rank
Total Posts:  39
Joined  07-16-2005

Thank you, Sue. I’m off to check that out now… (And how did I miss that KB article? I thought I looked! Tsk Tsk.)

Profile
 
 
Posted: 23 April 2008 12:38 PM   [ Ignore ]   [ # 3 ]  
Grad Student
Rank
Total Posts:  39
Joined  07-16-2005

I’ve done both of those suggestions and now I constantly get that the path isn’t set correctly. I have it set as ./edit because I changed it from system to edit. I’ve done every possible path I can think of to get to the edit folder and I always get that same error.

I’m noticing I get a 510 error when I try to change permissions on the server. This might be something I have to contact the sys admin about?

Profile
 
 
Posted: 23 April 2008 12:51 PM   [ Ignore ]   [ # 4 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12434
Joined  04-29-2002

Are you meaning this setting in your path.php file?

$system_path = "./system/";

In my IIS install, that is what it is set to.

You’ll need to manually edit that file.

As far as writing to the config.php file, I usually modify that by hand on IIS servers too.

But yes, you should talk with the server admin.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 23 April 2008 12:55 PM   [ Ignore ]   [ # 5 ]  
Grad Student
Rank
Total Posts:  39
Joined  07-16-2005

Thanks, Sue. I’ve manually edited both the config.php and the path.php file and put them on the server. I still get a blank page so I changed the index.php - $qtype = 2; With no luck.

Is it because I have EE sitting in a subdirectory? I’ve seriously never had trouble with EE before on Unix servers. Baffled.

Profile
 
 
Posted: 23 April 2008 01:03 PM   [ Ignore ]   [ # 6 ]  
Grad Student
Rank
Total Posts:  39
Joined  07-16-2005

Would you be able to look at my index.php, path.php and config.php files to let me know if they’re correct? I can’t see an error but apparently there is one. Maybe fresh eyes will help?

Profile
 
 
Posted: 23 April 2008 01:57 PM   [ Ignore ]   [ # 7 ]  
Grad Student
Rank
Total Posts:  39
Joined  07-16-2005

An update: I have the path set correctly now. Hi, windows servers? \ not / duh.

Anyway, now I’m getting an unexpected T_STRING on line four of path.php

Here’s the line:
$site_url =“http://kidsfaith.org/member/”;

I don’t see any freaky quotes or missing collons or anything. I’ve been staring at this too long, though. Is it obvious?

Profile
 
 
Posted: 23 April 2008 02:25 PM   [ Ignore ]   [ # 8 ]  
Grad Student
Rank
Total Posts:  39
Joined  07-16-2005

Hi, Ugh, Sorry.

I’m not sure if this is related to the first issue or not, but I keep getting parse errors in my path.php file. I’ve copied the core one from WIKI:

<?php
$system_path
= "./system/"; //(I changed this to my folder)
$template_group = "";
$template = "";
$site_url = "";
$site_index = "";
?>


But I get a “path not set” with this file. So I do this:

<?php
$system_path
= ".\system\";
$template_group = "";
$template = "";
$site_url = "";
$site_index = "";
?>

And I get a Parse error: parse error, unexpected ‘“’

Help?

Profile
 
 
Posted: 23 April 2008 05:03 PM   [ Ignore ]   [ # 9 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12434
Joined  04-29-2002

Who is the host?

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 23 April 2008 05:08 PM   [ Ignore ]   [ # 10 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12434
Joined  04-29-2002

Try making a showpath.asp file and upload it to your system directory.

<%@LANGUAGE=VBSCRIPT%>
<%=
Server.MapPath(".")%>

See what the path says there.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 24 April 2008 10:52 AM   [ Ignore ]   [ # 11 ]  
Grad Student
Rank
Total Posts:  39
Joined  07-16-2005

c:\hosting\webhost4life\member\mcjimbo\member\edit

Is there any way I can have you look at the files? I have a deadline friday and I’ve been installing this for three days. Thank you. (My client is getting frustrated with me, understandably)

Profile
 
 
Posted: 24 April 2008 10:57 AM   [ Ignore ]   [ # 12 ]  
Grad Student
Rank
Total Posts:  39
Joined  07-16-2005

The directory EE is installed in is: c:\hosting\webhost4life\member\mcjimbo\member

The directory the system folder is: c:\hosting\webhost4life\member\mcjimbo\member\edit

my path.php had $system_path = “.\edit\”; and I got “path not set correctly”.

Profile
 
 
Posted: 24 April 2008 12:21 PM   [ Ignore ]   [ # 13 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12434
Joined  04-29-2002

I’ve used webhost4life—they have a control panel if I remember correctly.

If you can send me an email with the following:

FTP login information
Your welcome letter for the account.
A link to this thread. Click on my profile link and send the mail that way.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 24 April 2008 09:45 PM   [ Ignore ]   [ # 14 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12434
Joined  04-29-2002

Mrs. Flinger, you’re all set now. Please check your email.

It had to do with the file permissions on ISS. I had to reset them on a new directory.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 04 June 2008 02:58 AM   [ Ignore ]   [ # 15 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15522
Joined  05-15-2004

Housekeeping.

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 65101 Total Logged-in Users: 66
Total Topics: 82260 Total Anonymous Users: 32
Total Replies: 442095 Total Guests: 235
Total Posts: 524355    
Members ( View Memberlist )