Page 1 of 1
[Zen Cart] 404 Page Not Found
Posted: Tue Oct 08, 2013 11:15 am
by Henry1975
I had the magic seo url working on my site. Then I moved it to another server.
I have reinstalled it but still no good.
The htaccess file is generated.
The fancy data folder populates
When I click on the links I get page not found.
What can I check on to figure out what I'm doing wrong.
Using
Magic SEO URLs for ZenCart 4.1.02
ZenCart v1.5.1
PHP Version: 5.3.10
Apache/2.0
Zend Engine v2.3.0 with the ionCube PHP Loader
v4.0.12 and Zend Guard Loader v3.3
mod_rewrite is loaded (confirmed with hosting co)
htaccess has file handling enabled (confirmed with hosting co)
The linux vps I'm running on has another domain that utilizes the older magic seo and that works fine.
Re: [Zen Cart] 404 Page Not Found
Posted: Tue Oct 08, 2013 11:32 am
by inveo
Please re-generate the .htaccess file and please post RewriteBase line from this file and your store URL.
Re: [Zen Cart] 404 Page Not Found
Posted: Tue Oct 08, 2013 11:45 am
by Henry1975
RewriteBase /
My store is live. I removed the code from the application_top.php once I realized I was having an issue.
I can turn it on if the rewritebase line above doesn't indicate anything.
Re: [Zen Cart] 404 Page Not Found
Posted: Tue Oct 08, 2013 12:20 pm
by Henry1975
Re: [Zen Cart] 404 Page Not Found
Posted: Tue Oct 08, 2013 12:31 pm
by inveo
Your .htaccess file is fine. It looks like as a mod_rewrite issue (not loaded into Apache or overriding is not enabled).
Re: [Zen Cart] 404 Page Not Found
Posted: Tue Oct 08, 2013 1:29 pm
by Henry1975
My hosting company says that the mod_rewrite and allowoverrides are on by default (globally).
I have another site utilizing magic seo url on this server and it works fine.
Is there something else I should be checking this version of zen cart that could be causing the issue?
Re: [Zen Cart] 404 Page Not Found
Posted: Tue Oct 08, 2013 1:31 pm
by Henry1975
the other site i have is a zen 1.39 site and it uses an older version of magic seo
Re: [Zen Cart] 404 Page Not Found
Posted: Tue Oct 08, 2013 1:35 pm
by Henry1975
this is a copy of the .htaccess file located in the includes folder. Not sure if this could be causing the issue as it is the default. htaccess
Code: Select all
#
# @copyright Copyright 2003-2010 Zen Cart Development Team
# @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
# @version $Id: .htaccess 18695 2011-05-04 05:24:19Z drbyte $
#
# This is used with Apache WebServers
#
# The following blocks direct HTTP requests to all filetypes in this directory recursively, except certain approved exceptions
# It also prevents the ability of any scripts to run. No type of script, be it PHP, PERL or whatever, can normally be executed if ExecCGI is disabled.
# Will also prevent people from seeing what is in the dir. and any sub-directories
#
# For this to work, you must include either 'All' or at least: 'Limit' and 'Indexes' parameters to the AllowOverride configuration in your apache/conf/httpd.conf file.
# Additionally, if you want the added protection offered by the OPTIONS directive below, you'll need to add 'Options' to the AllowOverride list, if 'All' is not specified.
# Example:
#<Directory "/usr/local/apache/htdocs">
# AllowOverride Limit Options Indexes
#</Directory>
###############################
# deny *everything*
<FilesMatch ".*">
Order Allow,Deny
Deny from all
</FilesMatch>
# but now allow just *certain* necessary files:
<FilesMatch ".*\.(js|JS|css|CSS|jpg|JPG|gif|GIF|png|PNG|swf|SWF|xsl|XSL)$">
Order Allow,Deny
Allow from all
</FilesMatch>
IndexIgnore */*
## NOTE: If you want even greater security to prevent hackers from running scripts in this folder, uncomment the following line (if your hosting company will allow you to use OPTIONS):
# OPTIONS -Indexes -ExecCGI
Re: [Zen Cart] 404 Page Not Found
Posted: Tue Oct 08, 2013 3:52 pm
by inveo
What is in includes directory does not matter. Please PM me your FTP credentials and I will take a look what is going wrong there.
Re: [Zen Cart] 404 Page Not Found
Posted: Wed Oct 09, 2013 7:16 am
by inveo
There is not working IfModule directive (it is the first server I've ever seen where it is not working). We've fixed by commenting out:
and
lines.
(it does not affect any feature).