Forums / Templates, Stylesheets, Page Layout / Zencart Errorpage even when not anywhere in Zencart?

Zencart Errorpage even when not anywhere in Zencart?

Locked

Views: 1,573

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
19 Feb 2009, 2:09 AM
#1
renaissanceart avatar

renaissanceart

New Zenner

Join Date:
Oct 2007
Posts:
65
Plugin Contributions:
0

Zencart Errorpage even when not anywhere in Zencart?

Hey guys,

I'm a little freaked out / going crazy.

We have our zencart shop site.

https://www.site.com

with zencart working all good
then we have a couple of side websites (html mostly) for example

https://www.site.com/site2/

now, im trying to set up a formmail in site2 and when the form tries to parse through the PHP i get the zencart 404 popup.

Same thing happens if i go to say https://www.site.com/site2/nonexistingpage.html

I don't know how to fix this, and do not understand why zencart is intervening in a completely independent website ?

Help :cry:

ps: I'm using SEO URL's and thought that may have played with it, but even with a blank .htaccess in site2 its still doing it.

Cheers

19 Feb 2009, 2:23 AM
#2
kobra avatar

kobra

Black Belt

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

Re: Zencart Errorpage even when not anywhere in Zencart?

Do you have a specific 404 page in these other sites??

Might be the reason - - if in folders not exactly independent

Zen-Venom Get Bitten

19 Feb 2009, 3:16 AM
#3
renaissanceart avatar

renaissanceart

New Zenner

Join Date:
Oct 2007
Posts:
65
Plugin Contributions:
0

Re: Zencart Errorpage even when not anywhere in Zencart?

kobra:

Do you have a specific 404 page in these other sites??

Might be the reason - - if in folders not exactly independent

No i dont have specific pages, but i would expect to see the default explorer / mozilla 404 page. That's my point!

19 Feb 2009, 3:19 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: Zencart Errorpage even when not anywhere in Zencart?

You have probably configured your site to use Zen Cart's page-not-found as your custom 404 page content.

.
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.

19 Feb 2009, 3:53 AM
#5
renaissanceart avatar

renaissanceart

New Zenner

Join Date:
Oct 2007
Posts:
65
Plugin Contributions:
0

Re: Zencart Errorpage even when not anywhere in Zencart?

Hey guys, thanks for the replies.

Not sure about the zen 404,

but with the Search URL's, if i remove this portion of code

# All other pages
# Don't rewrite real files or directories
RewriteCond %{REQUEST_FILENAME} !-f [NC] 
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*).html$ index\.php?main_page=$1&%{QUERY_STRING} [L]

from root .htaccess it defaults the non ZC sub directories to standard.

Now to figure out what implications it will have if i remove it! :bigups:

19 Feb 2009, 4:01 AM
#6
kobra avatar

kobra

Black Belt

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

Re: Zencart Errorpage even when not anywhere in Zencart?

You might need that for your seo url's???

Try a htaccess in the other dir's with rewrite engine off

Zen-Venom Get Bitten

19 Feb 2009, 5:19 AM
#7
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Zencart Errorpage even when not anywhere in Zencart?

in your sub folder whatsoever, put in htacces:

RewriteEngine Off

Now, remember that a 404 page default by FF is not very helpful, it doesnt tell the users where to go next. Which is the reason why ppl always build a custom 404 page with sitemap, instructions etc in it

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

19 Feb 2009, 7:52 AM
#8
kobra avatar

kobra

Black Belt

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

Re: Zencart Errorpage even when not anywhere in Zencart?

yellow1912:

Which is the reason why ppl always build a custom 404 page with sitemap, instructions etc in it
Really??? I build them for humor!! Guess I should be more sensitive:blush:

Zen-Venom Get Bitten

19 Feb 2009, 9:04 AM
#9
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Zencart Errorpage even when not anywhere in Zencart?

I guess because you do not really care if that may offend some customers, or maybe because of the nature of the business you are in, where humor is good.

I have been working with sites where such behaviors may turn people away from the sites and greatly damage the business :)

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me