Jump to content

[SOLVED]404 Bad Request Error can someone help me pleasee


Recommended Posts

can someone help me i have a problem i have installed my script everything is working ok i can add products but when i put in a price for a product and click save i get this error bellow,how can i hepl fix this ?

 

Bad Request

Your browser sent a request that this server could not understand.

 

 

 

 

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Link to comment
Share on other sites

What exactly do you mean with I have installed my script? Did you do a fresh installation of PS, or did you do an import of products or so?

Did you add a price to an existing product, or just add a totally new product?

 

Please elaborate a little.

What PS version do you use??

Link to comment
Share on other sites

the problem is i can add new product and i can save without a price..when i put a price to the product i get that error .

 

What exactly do you mean with I have installed my script? Did you do a fresh installation of PS, or did you do an import of products or so?

Did you add a price to an existing product, or just add a totally new product?

 

Please elaborate a little.

What PS version do you use??

Link to comment
Share on other sites

Did you turn debug mode on? May give more clues...

 

for PrestaShop version < 1.5.3

In the file config/config.inc.php:

find:

@ini_set('display_errors', 'off');

And change into:

@ini_set('display_errors', 'on');

 

 

 

Or, In PS 1.5.3:

in config/defines.inc.php

find the line

define('_PS_MODE_DEV_', false);

And change to:

define('_PS_MODE_DEV_', true);

 

 

 

Link to comment
Share on other sites

Update for those who are interested:

 

Last 24 hours we tried some obvious and less obvious ideas:

 

- We first tried the permissions of the database user. No problem there.

- We saw some 'optional parameters' fopen error on the configuration information page. (Host unwilling to fix, didn't really connected to error)

- We added some memory_limit -> 64M. No progress.

 

After sort of desperation, I did some more delving info forge error list, came up to this link: (I should have started here, I know... :[ )

http://forge.prestashop.com/browse/PSCFV-7428

 

Seems similar to this problem. Apparently a mod_security problem, fixable by your host.

 

We try to contact the host and see if they can see what goed wrong, while triggering the error and see what they come up with.

 

Pending result...

 

Cheers,

Pascal

Link to comment
Share on other sites

Pascal is the best person i met in this forum thats solved my problem your the best Pascal THANK YOU SO MUCH

 

OK, Contacted Umut's provider (3ix.com) and told them the story. They turned mod_security = ON and voila, it worked as a charm.

 

SOLVED :-)

 

Umut, please mark Q as solved (see my footer on how)

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 months later...

Hi Sibli,

Did you try the solution I mentioned earlier (mod_security off on the host's server)? If not yet, ask your host to turn the mod_security off. Tell them you run an E-commerce site and that it interferes with it.

 

 

Let me know,

pascal.

 

N.B. If that doesn't help, other problem may be memory. Please Copy your advanced parameters->configuration Information.

Link to comment
Share on other sites

hi pascal thanks

 

its configuration information

Server informasi

 

Server informasi: Linux #1 SMP Tue May 21 16:10:52 EDT 2013 x86_64

Versi perangkat lunak server: Apache

Versi PHP: 5.3.24

Memory limit: 128M

Max execution time: 300

 

i'll contact host server as your advice to turn off mod security

thanks

Edited by siblibusro (see edit history)
Link to comment
Share on other sites

  • 2 years later...

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
×
×
  • Create New...