Zen Cart Logo
Forums / Installing on a Linux/Unix Server / zen cart appears as directory listing

zen cart appears as directory listing

Locked

Views: 4,487

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
17 May 2006, 19:12
#1
rivars avatar

rivars

New Zenner

Join Date:
May 2006
Location:
Little Rock, Arkansas
Posts:
8
Plugin Contributions:
0

zen cart appears as directory listing

I am installing on a NetWare 6.5 server running apache2, when I try to run zencart/zc_install all I get is a directory listing, and ? for icons. when I click on install.php I get a blank screen. I know php is enabled, because I can display a test file from root of htdocs. What am I missing.

18 May 2006, 20:59
#2
fluffytigger avatar

fluffytigger

Zen Follower

Join Date:
Dec 2005
Location:
My Own Fluffy Place, Pangea
Posts:
377
Plugin Contributions:
0

Re: zen cart appears as directory listing

Index file settings? Apache has a list of files it look for as the default file to run when you hit a directory, index.htm, index.html index.php index.cfm ... and so on...

18 May 2006, 23:32
#3
detroitonline avatar

detroitonline

New Zenner

Join Date:
May 2006
Posts:
8
Plugin Contributions:
0

Re: zen cart appears as directory listing

FluffyTigger:

Index file settings? Apache has a list of files it look for as the default file to run when you hit a directory, index.htm, index.html index.php index.cfm ... and so on...

This is correct, but if you don't have default.htm set as an acceptable index file, when you click on it from the directory listing you will load the file. If he's clicking on install.php then it should load without issue.

Check to see if you can load the install.php file by putting it in the URL when you go there so it would be "http://www.mysite.com/zencart/zc_install/install.php"

Also, put a print statement at the very top of your install.php. If you're getting a blank page then the page is loading but it's not parsing the PHP inside it.

19 May 2006, 11:46
#5
rivars avatar

rivars

New Zenner

Join Date:
May 2006
Location:
Little Rock, Arkansas
Posts:
8
Plugin Contributions:
0

Re: zen cart appears as directory listing

all of the things mentioned are active in my apache, directory indexing, index.php. I can launch the test file novell includes to make sure it is talking php. and that file displays correctly. I even checked permissions and set the while directory to 777. I am still confused, in a cloud of haze.

19 May 2006, 13:38
#6
detroitonline avatar

detroitonline

New Zenner

Join Date:
May 2006
Posts:
8
Plugin Contributions:
0

Re: zen cart appears as directory listing

Did you put a print statement at the top of index.php or install.php to see if it prints "Hello" or whatever you want to test with?

Do other PHP pages work on the site?

20 May 2006, 08:16
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: zen cart appears as directory listing

  1. going to zencart/index.php works properly by redirecting to zencart/zc_install/index.php since it didn't find the database and/or config file settings

Thus, your processing of PHP files seems fine.

  1. What is your apache ErrorLog saying when you go to the zc_install pages?

  2. Are you allowed to use .htaccess files on your server? If not, try renaming zc_install/.htaccess temporarily as a test.

22 May 2006, 16:31
#9
rivars avatar

rivars

New Zenner

Join Date:
May 2006
Location:
Little Rock, Arkansas
Posts:
8
Plugin Contributions:
0

Re: zen cart appears as directory listing

did all that still getting a blank page. apache logs show

192.168.0.121 - - [22/May/2006:11:26:26 -0500] "GET /zc_install/ HTTP/1.1" 200 -
192.168.0.121 - - [22/May/2006:11:26:26 -0500] "GET /zc_install HTTP/1.1" 301 373

I am stumped...renamed .htaccess...and marked all directories as 777.

any other ideas.

23 May 2006, 02:09
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: zen cart appears as directory listing

what was the PHP script you used to test functionality of PHP?

It looks like you've taken the zencart folder offline. Can you point to the new URL?

23 May 2006, 10:26
#11
fluffytigger avatar

fluffytigger

Zen Follower

Join Date:
Dec 2005
Location:
My Own Fluffy Place, Pangea
Posts:
377
Plugin Contributions:
0

Re: zen cart appears as directory listing

DirectoryIndex at_domains_index.html index.html index.html.var index.shtml index.cfm index.php index.htm

Is this in your httpd.conf? is the index.php in there? Are you Really Really sure it's there?

I reached your /welcome folder and that one's working fine with redirecting to the index.html.

Think you could paste your httpd.conf for us?

23 May 2006, 12:07
#12
rivars avatar

rivars

New Zenner

Join Date:
May 2006
Location:
Little Rock, Arkansas
Posts:
8
Plugin Contributions:
0

Re: zen cart appears as directory listing

yes..screwed up the config so bad..I fdisked and am reinstalling the os..then try to install zen again..will keep you posted.