Zen Cart Logo
Forums / General Questions / Trying to send gift certificate, hit "send" get 404 page not found

Trying to send gift certificate, hit "send" get 404 page not found

Views: 14,073

Results 1 to 16 of 16
1 Mar 2012, 12:39 AM
#1
webkat avatar

webkat

Zen Follower

Join Date:
Jan 2012
Location:
New England
Posts:
238
Plugin Contributions:
0

Trying to send gift certificate, hit "send" get 404 page not found

I'm not sure why, but while it worked last night when I was testing it, but today when I go to send myself a test gift certificate with my (whopping $5) gift certificate balance, I enter the person's name, email address, amount, and message, then hit the send button...

...aaaaaand get a 404 Page Not Found page, with my site map and stuff on it. What did I screw up?

1 Mar 2012, 5:25 AM
#2
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: Trying to send gift certificate, hit "send" get 404 page not found

Click reply and fill in the posting tips you will see above the text entry box to give us more info, have you checked your
websites /cache folder for debug errors

Webzings Design
Semi retired from Web Design

1 Mar 2012, 5:16 PM
#3
webkat avatar

webkat

Zen Follower

Join Date:
Jan 2012
Location:
New England
Posts:
238
Plugin Contributions:
0

Re: Trying to send gift certificate, hit "send" get 404 page not found

Have you already posted about this issue? If so, DO NOT POST a duplicate. Instead, reply to your existing post, with MORE information.
What version of Zen Cart are you using?
Has your site been upgraded? When? From what version(s)?
If you've upgraded, HOW did you upgrade? (official upgrade procedure or an automated script from your hosting company?)
What addons have you installed? When? I have the USPS shipping addon, the Amazon Checkout addon, the editable sideboxes, the testimonials... I think that's it. They were added several days ago at the most recent, and the gift certificates were working find after all of that.
HOW did you install it? (upload via FTP and run zc_install, or a one-click install from your hosting company? (one-click installs are NOT recommended))
In what ways is your site customized or different from a brand new uncustomized install?
If you're encountering display/layout problems, post your site URL* so it can be seen in action.
If you're encountering problems that could be related to your server or hosting company, include the name of your hosting company (not their URL). -- Hostmonster.com but I doubt it's related to them as it was working fine the day before.
HAVE YOU LOOKED IN THE FAQ AREA for answers to your question? (ie: a search for your error message or what you want to edit/change, etc) Yes.
Have you searched the FORUM for your error message or for answers to the question you're asking? Yes.
WHEN did the problem "start"? How does that compare with other events of your hosting company, changes you've made to your site files/addons, or your admin settings, etc? The problem started yesterday. I did change this domain to be the primary domain on my account, but all that affected was my email forwarders. I did edit the shopping cart template and made some CSS changes, but I don't remember editing anything related to the gift certificate pages... though if I knew which one was the problem I could go look...
If this is your first store, have you tested all aspects of transactions before going live? This is my first store and it isn't truly "live" yet, though I have had some friends look at it, and one friend who has tried my product posted a testimonial. I have been in the process of testing all of the transaction possibilities--that's what I was doing when I discovered this problem.

The url is http://opalessenceshop.com if you want to look at it.

Yes, I've cleared cache and cookies--didn't help.

1 Mar 2012, 7:40 PM
#4
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: Trying to send gift certificate, hit "send" get 404 page not found

I don't mean your browsers cache, zencart has its own cache folder on your site

which would be at opalessenceshop.com/cache

You need to check that directory either via cpanel(or whatever your hosting control panel is) or your ftp client as you can't (for obvious security reasons) check it with a browser, this is where zencart will store errors that it encounters. If there are error in there please post the most recent. and look through them and see if any mentio gift vouchers etc

The other thing to check is in cpanel (this is outside of zencart nothing to do with it) check your weblogs for the time you made an attempt to use the gift voucher and there should be a log of what files were called and responses, sometimes weird security settings/ownership of files can cause issues, (part of that in some instances is also to do with how the site was installed)

Webzings Design
Semi retired from Web Design

1 Mar 2012, 11:28 PM
#5
webkat avatar

webkat

Zen Follower

Join Date:
Jan 2012
Location:
New England
Posts:
238
Plugin Contributions:
0

Re: Trying to send gift certificate, hit "send" get 404 page not found

There was nothing interesting in the cache, and here is the last bit from the access logs (the error logs showed nothing related to my site at all)

108.20.159.79 - - [01/Mar/2012:16:22:26 -0700] "GET /index.php?main_page=gv_send&zenid=lf9lcng5bcpg6tsvqcl671v6j3 HTTP/1.1" 200 6595 "http://opalessenceshop.com/index.php?main_page=product_info&products_id=3&zenid=lf9lcng5bcpg6tsvqcl671v6j3" "Mozilla/5.0 (Windows NT 6.0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11"
108.20.159.79 - - [01/Mar/2012:16:22:28 -0700] "GET /includes/templates/custom/buttons/english/button_send.png HTTP/1.1" 304 173 "http://opalessenceshop.com/index.php?main_page=gv_send&zenid=lf9lcng5bcpg6tsvqcl671v6j3" "Mozilla/5.0 (Windows NT 6.0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11"
108.20.159.79 - - [01/Mar/2012:16:22:28 -0700] "GET /includes/templates/custom/buttons/english/button_back.png HTTP/1.1" 304 174 "http://opalessenceshop.com/index.php?main_page=gv_send&zenid=lf9lcng5bcpg6tsvqcl671v6j3" "Mozilla/5.0 (Windows NT 6.0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11"
108.20.159.79 - - [01/Mar/2012:16:22:36 -0700] "POST /index.php?main_page=gv_send&action=send HTTP/1.1" 302 748 "http://opalessenceshop.com/index.php?main_page=gv_send&zenid=lf9lcng5bcpg6tsvqcl671v6j3" "Mozilla/5.0 (Windows NT 6.0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11"
108.20.159.79 - - [01/Mar/2012:16:22:36 -0700] "GET /index.php?main_page=page_not_found&zenid=i27ejat36rel03p7k481fm2j81 HTTP/1.1" 404 5760 "http://opalessenceshop.com/index.php?main_page=gv_send&zenid=lf9lcng5bcpg6tsvqcl671v6j3" "Mozilla/5.0 (Windows NT 6.0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11"
2 Mar 2012, 3:46 AM
#6
webkat avatar

webkat

Zen Follower

Join Date:
Jan 2012
Location:
New England
Posts:
238
Plugin Contributions:
0

Re: Trying to send gift certificate, hit "send" get 404 page not found

What files are involved in the send gift certificate process? I could always upload the originals from the zip file and see if that fixes it...

2 Mar 2012, 4:12 PM
#7
webkat avatar

webkat

Zen Follower

Join Date:
Jan 2012
Location:
New England
Posts:
238
Plugin Contributions:
0

Re: Trying to send gift certificate, hit "send" get 404 page not found

I got this message via email but it looks like it's been erased: "Have you checked your websites?"

I am not sure quite what that means, but what I've done is re-upload the main page template, all the files that start with gv_, the email extras file, and several other files that mention gift certificates from a fresh zip of Zen Cart 1.5.0... it didn't help. I still get a 404 when sending a gift certificate.

30 Apr 2012, 11:06 PM
#8
wulf359 avatar

wulf359

New Zenner

Join Date:
Feb 2008
Posts:
44
Plugin Contributions:
0

Re: Trying to send gift certificate, hit "send" get 404 page not found

I've been encountering this problem on a website as well, we can't for the life of us figure out what the problem is and everything else works fine on the site relating to gift cards, it's just customers with a balance can't send a gift certificate to another customer without getting a 404 error

1 May 2012, 2:25 AM
#9
webkat avatar

webkat

Zen Follower

Join Date:
Jan 2012
Location:
New England
Posts:
238
Plugin Contributions:
0

Re: Trying to send gift certificate, hit "send" get 404 page not found

Are you running your store from your host's main public_html (or equivalent) folder or from a subfolder? My problem turned out to be that I was running it from a subfolder using .htaccess and ModRewrite. When I moved it to the root it all worked. Of course, I had to move my 23 other domains to a new hosting account to do that...

24 Oct 2012, 1:23 PM
#10
metoo avatar

metoo

New Zenner

Join Date:
Aug 2007
Posts:
38
Plugin Contributions:
0

Re: Trying to send gift certificate, hit "send" get 404 page not found

I am having the same problem with the gift certificate getting a 404 when sent to someone. There is nothing in the error logs or cache that is helpful. I am using Zen cart 1.5.0, which has not been upgraded recently. When it was, the official upgrade procedure was used. No addons are installed. It has some very basic customizations (basically replaced images with new images and same names) but that's all. Nothing that should affect the way it works. We are using Hostmonster hosting and everything else is working just fine... Once the submit button is pressed to send the gift certificate to someone it goes to: https://url.com/store/index.php?main_page=page_not_found instead of a confirmation page. Could it be a path problem? It's not in the root directory and can't be (due to the layout of the site). From what I've read it may be a path problem somewhere but am not that versed with php to find the problem, or perhaps I don't have a mail setting correct? How do I fix a path problem for that page - the rest of the site works great so I don't want to move the whole site just to mess up something else that is working fine. Can anyone help me please?

1 Jan 2013, 4:53 PM
#11
spartan avatar

spartan

New Zenner

Join Date:
Jun 2008
Posts:
32
Plugin Contributions:
0

Re: Trying to send gift certificate, hit "send" get 404 page not found

Has anybody found the solution for this?
I have the same problem.

When you hit the Send button, it goes to a 404 not found.
IF I take the link and put it into a browser (https://www.spartanleathers.com/index.php?main_page=gv_send&action=send) it obviously fails on validation on the fields, but that tells me it is failing later in the process.

What address should it be going to?
Im wondering if a .htaccess mod could be causing it?
Possibly related to the CEON SEO add-on?
Anybody have any info?

19 Feb 2013, 3:30 AM
#12
britt avatar

britt

New Zenner

Join Date:
Aug 2010
Posts:
8
Plugin Contributions:
0

Re: Trying to send gift certificate, hit "send" get 404 page not found

I'm having the same problem!!! Someone please help us!

19 Feb 2013, 4:51 AM
#13
drbyte avatar

drbyte

Sensei

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

Re: Trying to send gift certificate, hit "send" get 404 page not found

britt:

I'm having the same problem!!! Someone please help us!
Um, over at http://www.zen-cart.com/showthread.php?203453-Send-Gift-Certificate-login-time_out&p=1187254#post1187254 you posted that your problem was a "time out" message, but this thread is talking about a "404 page not found" message.
Which is it?

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

4 Mar 2013, 11:02 AM
#14
e_football avatar

e_football

New Zenner

Join Date:
Feb 2010
Posts:
22
Plugin Contributions:
0

Re: Trying to send gift certificate, hit "send" get 404 page not found

I am having the same issue. I also can't send emails from the website, is it the same problem?

Emails are sent for new orders, signing up etc, but I can't send an email to a customer through tools send email.

5 Mar 2013, 3:52 AM
#15
drbyte avatar

drbyte

Sensei

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

Re: Trying to send gift certificate, hit "send" get 404 page not found

e-football:

I am having the same issue. I also can't send emails from the website, is it the same problem?

Emails are sent for new orders, signing up etc, but I can't send an email to a customer through tools send email.

  1. The title of this discussion is "Trying to send gift certificate, hit 'send' get 404 page not found".
  2. You said "I am having the same issue. I also can't send emails from the website"
  3. You said "I can't send an email ... through tools send email".

I'm not clear on which specific "same" issue you're encountering.

Backing up a bit: A 404-PAGE-NOT-FOUND error means exactly that: Page Not Found. ie: whatever page address is in your browser's URL Address bar doesn't match a valid file on your server.
So THAT is the first thing to check:
a) what's the URL in your browser when your 404 error shows up?
b) does the file referred to in the URL actually exist on your server? Use your FTP program to check.
c) Is the URL actually correct? does it actually point to your site? How does that URL compare with your admin home page URL? What's different?
d) In your server's Apache errorlog file (in your hosting account), what's the detailed error message next to the 404 error logged there?

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

5 Mar 2013, 9:10 AM
#16
e_football avatar

e_football

New Zenner

Join Date:
Feb 2010
Posts:
22
Plugin Contributions:
0

Re: Trying to send gift certificate, hit "send" get 404 page not found

Sorry if I wasn't clear. I get the 404 error when sending gift vouchers like the title of this thread.

I also have other email issues which I thought may be connected to the 404 error.

I use v 1.5. On previous version gift vouchers could be sent.

I will answer your queries as soon as I get a chance to go through them.