Forums / Upgrading from 1.3.x to 1.3.9 / index.php not loading in my 1.39

index.php not loading in my 1.39

Locked

Views: 1,888

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
15 May 2010, 12:48 AM
#1
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

index.php not loading in my 1.39

Rookie question here.

I just created a sub-domain using latest version. Merely typing in the other domains loaded the store. But in the latest one I have to type index.php.

I havent done anything different on the server. And I dont have any htaccess entries in the other stores that list index.php.

Am I missing something? Or does the latest version require an entry in the htaccess file?

ZC v1.5.7 "I was so much older then...I'm younger than that now" Cut the umbilical cord with webhosts after 20 years. FREEDOM!

15 May 2010, 1:23 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: index.php not loading in my 1.39

I just created a sub-domain using latest version. Merely typing in the other domains loaded the store. But in the latest one I have to type index.php.
What does that mean??

Zen-Venom Get Bitten

15 May 2010, 1:30 AM
#3
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: index.php not loading in my 1.39

OK

www.mystore.com works
sub1.mystore.com works
sub2.mystore.com will not load store w v1.39

I have to type sub2.mystore.com/index.php

ZC v1.5.7 "I was so much older then...I'm younger than that now" Cut the umbilical cord with webhosts after 20 years. FREEDOM!

15 May 2010, 2:37 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: index.php not loading in my 1.39

It means that your subdomain must have some sort of special configuration that's not treating index.php as the default document. That might be a result of an .htaccess thing you've done, or might be something broken in your hosting company's subdomain settings.

Remember, Zen Cart does NOT come with a .htaccess for the root of your store. So, if you have a /sub2/.htaccess file then that's something you added, and may contain something that's breaking normal treatment of index.php. Try renaming THAT particular .htaccess file. (All the .htaccess files supplied with Zen Cart have no relevance to the issue you're reporting.)

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

15 May 2010, 2:20 PM
#5
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: index.php not loading in my 1.39

pixelpadre:

Rookie question here.

I just created a sub-domain using latest version. Merely typing in the other domains loaded the store. But in the latest one I have to type index.php.

I havent done anything different on the server. And I dont have any htaccess entries in the other stores that list index.php.

Am I missing something? Or does the latest version require an entry in the htaccess file?

Check to see if the root directory of the subdomain contains a file called 'index.html'. This file may or may not contain data. If this file exists rename/remove/delete it because it is probably taking precedence over the index.php file. (The file is created by some configuration softwares)

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

15 May 2010, 6:37 PM
#6
g1smd avatar

g1smd

Zen Follower

Join Date:
Mar 2010
Location:
UK
Posts:
449
Plugin Contributions:
0

Re: index.php not loading in my 1.39

If the above doesn't help, then try adding```
DirectoryIndex index.php

Online since 1995.

15 May 2010, 7:10 PM
#7
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: index.php not loading in my 1.39

RodG:

Check to see if the root directory of the subdomain contains a file called 'index.html'. This file may or may not contain data. If this file exists rename/remove/delete it because it is probably taking precedence over the index.php file. (The file is created by some configuration softwares)

Cheers
Rod

Duh.

thanks

Lock this. its over.

ZC v1.5.7 "I was so much older then...I'm younger than that now" Cut the umbilical cord with webhosts after 20 years. FREEDOM!