5 replies [Last post]
random_media's picture
Offline
Joined: 01/09/2010
Juice: 34

I've done quite a bit of searching on this topic and have found somewhat relevant information on issues that seem similar to the issue I'm having.. but like I said, they seemed similar.

Anyways: User submits order, everything goes well - user receives invoice email, administrator receives email, etc etc. Now user wants another copy of the invoice email so I go to Store Administration > Orders > View orders > [pick ANY order and view it] > Click "Invoice" tab > Click "Mail invoice" sub-tab >

Now the page comes up just fine, email is already there : I click the "Mail invoice" button and I get "Page not found", and the email does NOT get sent.

I find this very odd as everything else seems to work just fine. I've poked around in the settings and have NO IDEA what's causing this, and I don't even know where to start..

All help is appreciated! Smiling

Andy's picture
Offline
Administrator
Joined: 08/07/2007
Juice: 1153
Re: Another "Page not found" issue..?

Is the site sending emails correctly? Have you tested the user contact email address or something like that. That form submit should be "form action="/admin/store/orders/965/invoice/mail" which is the same as the "Mail invoice" tab. Try viewing the source of the mail invoice tab and see if the form action on your site matches with above.
--Andy

random_media's picture
Offline
Joined: 01/09/2010
Juice: 34
Thanks for your reply. Yes

Thanks for your reply.

Yes the site is sending emails correctly, and the the form code's action is identical to the url .. could be an issue with htaccess?

random_media's picture
Offline
Joined: 01/09/2010
Juice: 34
Re: Thanks for your reply. Yes

A small update: any page I seem to go to FROM the "invoice/mail" page throws me to "Page not found". This ONLY happens with THIS page in particular. I checked the logs and posted two of the log entries. One of which showing trying to send mail from the page, and the other one showing what happens when I click on the link to go back to homepage.

The IP address and the site location have been slightly modified for security reasons.

Type page not found
Date Thursday, January 28, 2010 - 14:23
User mediaAdmin
Location Referrer">http://www.ourwebsite.com/admin/store/orders/149/invoice/mail
Referrer
Message">http://www.ourwebsite.com/admin/store/orders/149/invoice/mail
Message
406.shtml
Severity warning
Hostname 53.42.75.13
Type page not found
Date Thursday, January 28, 2010 - 14:25
User mediaAdmin
Location Referrer">http://www.ourwebsite.com/
Referrer
Message">http://www.ourwebsite.com/admin/store/orders/149/invoice/mail
Message
406.shtml
Severity warning
Hostname 53.42.75.13

I'm in desperate need of help on this issue. Thanks

random_media's picture
Offline
Joined: 01/09/2010
Juice: 34
Re: Re: Thanks for your reply. Yes

willing to pay a professional to have this issue solved.. (don't know if Im breaking forum rules here or not but I'm desperate and need this fixed ASAP)

Andy's picture
Offline
Administrator
Joined: 08/07/2007
Juice: 1153
Your hosting provider

The 406.shtml error looked odd to me, so I did a little research. Based on the following:
http://drupal.org/node/684698
http://www.ubercart.org/forum/bug_reports/9104/page_not_found_adminstore...
http://drupal.org/node/318656

My best guess is that your hosting provider might have the Apache mod_security module enabled which is causing the 406 error. The links above don't describe your exact problem, but they seem to be of the same ilk, and were all resolved by the hosting company.

If it is possible, please post the relevant Apache error.log records. Maybe they will have more to go on. One way to find out if it is a hosting issue is to copy the file structure and database to a development server on a different provider (even just your home PC running the wamp stack; http://www.wampserver.com/en/ ) and see if you get the same issue. I know it's a hassle, but please do this and us know the result. At the same time, I would start talking to your hosting provider about the issue; if they have mod_security or the like running, and if so what rules they have in place that might affect mail services.
--Andy