Correct Directory?
Posted: 18 April 2008 04:03 AM   [ Ignore ]  
Grad Student
Rank
Total Posts:  60
Joined  10-20-2006

Well I’m back.. and call upon your patience once again.

My client is using Network Solutions as their host, with a UNIX package.
I have uploaded EE into their existing webiste folder, with EE images placed into their existing images folder.

The problem is two-fold it seems.
1. When I visit the install page at www.alantefinancial.com , the page doesn’t render, rather it asks me how I would like to open the php file.

2. I can’t seem to change the file attributes on the EE files after I’ve uploaded them via FTP. They are all set at a seemingly default of 777. After attempting to change to 666 I get a 501 error in the FTP screen and the file reverts back to 777.

The client contacted Network Solutions and they say that the file attributes should change because its a Unix system. Great help there.

Perhaps you could come up with some ideas to help me out?

Thanks for your time,
Michael

Profile
 
 
Posted: 18 April 2008 05:19 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12434
Joined  04-29-2002

Michael, there is one thing that is troubling me. index.asp is NOT the standard on UNIX boxes.

What I would do is to create the following file - call it phpinfo.php

In in place the following code:

<?php phpinfo(); ?>

FTP in that file and call it from your browser. Does it bring up information about PHP? Or do you get an error message?

Also make a file called showpath.asp. Put in it:

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

Save the file, FTP it and see what happens. Does *that* work?

 Signature 

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

Profile
MSG
 
 
Posted: 18 April 2008 06:31 AM   [ Ignore ]   [ # 2 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15522
Joined  05-15-2004

Micheal, did you change anyhting? Did Sue’s advice prove helpful? Because www.alantefinancial.com is working fine for me. It’s not EE though, and it appears to be running .asp which, as Sue correctly said, generally does not run on UNIX servers.

EDIT: Ah, I suppse you mean alantefinancial.com/install.php. You’re right, it does not render. Probably an issue with your host, not parsing PHP.

 Signature 

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

Profile
MSG
 
 
Posted: 18 April 2008 06:35 AM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15522
Joined  05-15-2004

Disregard.

 Signature 

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

Profile
MSG
 
 
Posted: 18 April 2008 07:47 AM   [ Ignore ]   [ # 4 ]  
Grad Student
Rank
Total Posts:  60
Joined  10-20-2006

I ran the tests that you suggested Sue.

It looks like the PHP isn’t parsing.

www.alantefinancial.com/phpinfo.php

As for asp, I got an error

http://www.alantefinancial.com/showpath.asp

Give me the most difficult site to code in CSS and I’m your man, but I’m afraid I’m lost when it comes to PHP and ASP.
What do you recommend I do?

Again, thanks again for your time and patience.

Michael

Profile
 
 
Posted: 18 April 2008 08:48 AM   [ Ignore ]   [ # 5 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15522
Joined  05-15-2004

Michael, can you talk to you (client’s) host? You absolutely need the ability to run PHP, and they should tell you how to achieve that on their server. Try to follow their instructions and get phpinfo.php to run.

 Signature 

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

Profile
MSG
 
 
Posted: 18 April 2008 08:06 PM   [ Ignore ]   [ # 6 ]  
Grad Student
Rank
Total Posts:  60
Joined  10-20-2006

Ingmar, I called Networks Solutions and they helped figure out what was going on. Apparently the client has two packages, the current website is running on Windows but they have an empty Unix package waiting for me to fill.

I was told that after I build the new site on the Unix package, they will simply transfer the domain name from the Windows package to the UNIX. Simple indeed.

So now my next question.. sorry… is filepathing. I will be building on a server and database using an obscure temporary domain name of numbers and letters. Correct me if I’m wrong but even though the domain name will be changed to www.alantefinancial.com when the new site is ready, it wouldn’t auto-correct the file paths that I have built on the obscure domain name.

How would I make adjustments (as simple as possible) when I’m ready to switch the domain name over so that all EE files and databases connect?

Profile
 
 
Posted: 19 April 2008 01:50 AM   [ Ignore ]   [ # 7 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15522
Joined  05-15-2004
MichaelWatt - 18 April 2008 08:06 PM

I was told that after I build the new site on the Unix package, they will simply transfer the domain name from the Windows package to the UNIX. Simple indeed.

OK, so that’s taken care of.

Correct me if I’m wrong but even though the domain name will be changed to www.alantefinancial.com when the new site is ready, it wouldn’t auto-correct the file paths that I have built on the obscure domain name.

That is correct, but it’s not that much of an issue. If you use relative links in your templates, or make use of EE-provided variables like {path} and {site_url}, all you need to change is a few settings in the CP or the config.php. Usually, this consists of the path information found in the following areas: General Configuration, Weblog Management, File Upload Preferences, Global Weblog Preferences, Membership Preferences, Captcha Preferences, Emoticon Preferences.  If you save templates as text files, update the “Basepath to Template File Directory” in “Templates-Global Template Preferences”.

Making sense?

 Signature 

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

Profile
MSG
 
 
Posted: 20 April 2008 05:36 AM   [ Ignore ]   [ # 8 ]  
Grad Student
Rank
Total Posts:  60
Joined  10-20-2006

I think I got it. I’ll make use of the EE variables.
Thanks for your help Ingmar!

Profile
 
 
Posted: 20 April 2008 07:05 AM   [ Ignore ]   [ # 9 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23547
Joined  05-20-2002

Glad you got it figured out.  I’ll go ahead and leave this open for now, just in case you run into any issues with the setup.

 Signature 

AKA rob1

Help Request TipsPro Network

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

Closing.

 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: 65102 Total Logged-in Users: 58
Total Topics: 82263 Total Anonymous Users: 31
Total Replies: 442104 Total Guests: 267
Total Posts: 524367    
Members ( View Memberlist )