Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Getting 404 error with 1.55 in a sub-Directory. URL rewriting.

Getting 404 error with 1.55 in a sub-Directory. URL rewriting.

Views: 991

Results 1 to 5 of 5
21 Mar 2016, 5:35 PM
#1
fjbern1943 avatar

fjbern1943

Zen Follower

Join Date:
Apr 2015
Location:
United States
Posts:
144
Plugin Contributions:
0

Getting 404 error with 1.55 in a sub-Directory. URL rewriting.

I have an existing 1.54 store in the domain root. I am trying to install 1.55 As a test store. When I go to mydomain.com/storetest/zc_install I get a 404 Error and the 404 error page on the root store comes up.

You can see this at http://religious-shop.com/storetest

Any hints what could be the difficulty? If you need any additional information let me know.

21 Mar 2016, 5:39 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Getting 404 error with 1.55 in a sub-Directory. URL rewriting.

Your URL-rewrite rules in the .htaccess of your parent store are intercepting the URLs for your subdirectory.

21 Mar 2016, 5:49 PM
#3
fjbern1943 avatar

fjbern1943

Zen Follower

Join Date:
Apr 2015
Location:
United States
Posts:
144
Plugin Contributions:
0

Re: Getting 404 error with 1.55 in a sub-Directory. URL rewriting.

Thank You DrByte. Added the sub Directory in the URL-rewrite rules .htaccess file and that did the trick.

Thanks again.

21 Mar 2016, 6:50 PM
#4
fjbern1943 avatar

fjbern1943

Zen Follower

Join Date:
Apr 2015
Location:
United States
Posts:
144
Plugin Contributions:
0

Re: Getting 404 error with 1.55 in a sub-Directory. URL rewriting.

DrByte:

Your URL-rewrite rules in the .htaccess of your parent store are intercepting the URLs for your subdirectory.

Now I have another problem. The admin works fine but when I try to go to the store I get a 500 server error. "The religious-shop.com page isn’t working religious-shop.com is currently unable to handle this request.
500"

The error log file is:

[21-Mar-2016 13:25:17 America/Chicago] PHP Fatal error: Call to undefined function zen_get_index_filters_directory() in /hsphere/local/home/religiousshop/religious-shop.com/storetest/includes/modules/pages/index/header_php.php on line 49

Line 49 is: require(zen_get_index_filters_directory($typefilter . '_filter.php'));

Can you help again?

21 Mar 2016, 7:50 PM
#5
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,100
Plugin Contributions:
56

Re: Getting 404 error with 1.55 in a sub-Directory. URL rewriting.

You're missing the ZC155 change to /includes/functions/functions_lookups.php.