8 replies [Last post]
thecanuck's picture
Offline
Joined: 02/15/2009
Juice: 9
Was this information Helpful?

When I try to change the payment configuration and hit 'Save configuration' button I get a page not found error when running off the live web server which has another older version of Drupal running in a base directory. The new Drupal is running in its own directory.

On my localhost setup everything works and I get no errors. Files and database are the same on both setups.

I'm running the new beta4 and had the problem on beta3 and beta2 as well. For now I have to modify the settings on local host and copy over the database to my web sever. Kind of a pain.

Problem occurs with admin/store/settings/payment/edit/methods and /admin/store/settings/payment/edit/gateways on both 'Save configuration' and 'Reset to defaults' button presses.

I tried looking through the logs, etc. but don't know where to look to see what page is not being found. BTW data doesn't get saved to the database on button press.

Andrew

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: 'Page Not Found' admin/store/settings/payment/edit/methods

Curious... can you tell me what payment method / payment gateway modules you have installed? Perhaps something is messing up that form? I haven't run into trouble on the Livetest, but it could be some module I'm not using there is giving you difficulties.

the_canuck's picture
Offline
Joined: 10/08/2008
Juice: 54
Re: 'Page Not Found' admin/store/settings/payment/edit/methods

I have Payment Method Pack and Paypal modules enabled only.

My Drupal install is burried fairly deep into my directory structure on the webserver and wonder if that is causing the problem. On my local host it's only in a sub directory.

I'll move drupal down to just a sub directory and see if the problem goes away and post my results later today.

Andrew

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3424
Re: Re: 'Page Not Found' admin/store/settings/payment/edit/metho

What does your web server access log say - what page was being requested?

<tr>.
the_canuck's picture
Offline
Joined: 10/08/2008
Juice: 54
Okay, more info: On the

Okay, more info:

On the Drupal error its actually a 406 error but since I had not defined a 406.shtml file it was serving a file not found 404 error in my old drupal install. That was confusing me a bit. When I looked at the logs in the old drupal install it said it was looking for the 406 error page.

I moved the Drupal install to a top level sub directory and it still doesn't work. I still get the 406 error.

Andrew

the_canuck's picture
Offline
Joined: 10/08/2008
Juice: 54
Re: 'Page Not Found' admin/store/settings/payment/edit/methods

So reading a bit more on 406 errors I came across a temp. solution.

If I add to the .htaccess file:

SecFilterEngine Off
SecFilterScanPOST Off

Everything works and the data gets saved.

Now anyone know a real solution as I understand I don't want to turn of the filter.

Andrew

ultrajet's picture
Offline
Joined: 04/21/2009
Juice: 14
Where exactly in .htaccess?

Hi, I'm also having a problem, but it is in Store Settings. where in .htaccess do I exactly place the code?

ultrajet's picture
Offline
Joined: 04/21/2009
Juice: 14
strange

I deleted the .htaccess but I can't still access the store settings as if it wasn't there. I tried uploading it again, but strange thing that it still worked the same

Danny_Joris's picture
Offline
Joined: 05/09/2009
Juice: 199
Hi, I have what looks like a

Hi,

I have what looks like a similar issue posted here: http://drupal.org/node/684698 . Unfortunately I haven't found a solution yet. I'm receiving 406.shtml errors, I added the first snippet (the others posted here break return errors.) but it didn't fix my problem. My admin pages load twice as fast, though. Which is nice Smiling

Does anyone have any suggestions?
Cheers,
Danny