Jump to content
Sign in to follow this  
bpike

Error Page on Redirect

Recommended Posts

bpike

I get a 'page not found error' on my page once items have been added to the cart. When I add a product to the cart here, shop.pure-jojoba.com, it then goes to the cart.php page and reviews what has been added to the cart. However, when the page redirects to the cart details I get the error 'page not found' even though the page displays. Something is conflicting in the redirect. Not sure how to alleviate this or what the error is occuring. Any ideas? thanks, Brian

Share this post


Link to post
Share on other sites
catrina

Try deactivating any other plugins you have one by one to see if any of them is causing a conflict.


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
bpike

What I am doing is using a shopping cart that is in it's own directory using static pages. In those pages is a call to the blog header. All of the look and feel populates on these pages. I seemed to correct one of the pages. There was code in there that was also being populated by the call to the header so it was being doubled up. This page is fixed. shop.pure-jojoba.com No errors and page title populates. So I took the same CSS and applied it to this page shop.pure-jojoba.com/cart.php and am still getting the body class="error404" with the title 'Page Not Found'. Not sure what I am missing. Thoughts?

Share this post


Link to post
Share on other sites
bpike

It seems like it has something to do with this line in the header.php file. <body <?php body_class(); ?>> I would not know what to edit to tell it which page template to use when it calls the header for the cart.php page.

Share this post


Link to post
Share on other sites
bpike

I took the source code from one of the blog pages and used the necessary (<head>) info only in my static page. Is there a way to create a static page using this code in the header of my static page? <?php require('../wp-blog-header.php'); ?> <?php /* get all options: */ # error_reporting(-1); include (TEMPLATEPATH . '/functions/bfa_get_options.php'); global $bfa_ata; get_header(); ?> In my directory (shop) there is an index.php page and the above code works. However any other page EX: cart.php it gives me a body class=error404. Somewhere in the code it populates the body class based on the page name but since this is a static page not listed in (pages) it errors. thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×