Error #400: Bad Request

luigbar

New Member
What can I do with Error #400: Bad Request? in the Mac APP

Error - Server problem when reading list. [: ] in the browser

Please HELP.


BB
 

stanbusk

Administrator
Staff member
At what exact moment do you get that error? I mean, what are you doing in MaxBulk Mailer to get it?
 

luigbar

New Member
I also received email from the web server:

[MLM] mySQL Connect Error in RequestExistsInDB()

Service unavailable!
 

stanbusk

Administrator
Staff member
Try to run the MLM diagnostics: MLM_PATH/lm.php?cmd=diagnose&pwd=YOUR_MLM_PASSWORD
What do you get? (hide your credentials from the log before posting)
 

luigbar

New Member
MLM 3.1.7 diagnose ran on 2015-10-29 at 03:32:08

request_uri = http://orvieto.umbria.it/MLM/lm/lm.php? ... XXXXXXXXXX
path_to_script = http://orvieto.umbria.it/MLM/lm/lm.php
working_directory = /home/nzdswuhf/public_html/MLM/lm

mailqueue permissions = 0755
sqlqueue permissions = 0755
uploads permissions = 0777
imports permissions = 0755
templates permissions = 0755

#1 mysqli_connect( http://orvieto.umbria.it, nzdswuhf_XXXXXXX, XXXXXXXXXX, nzdswuhf_MLM )
-> Connection error :) )
-> Check your server address and credentials in lm_settings.php
 

stanbusk

Administrator
Staff member
It looks like your mySQL server address is wrong. You have entered a web page address.
 

luigbar

New Member
#1 mysqli_connect( mysql.XXX.com, nzdswuhf_XXX, XXX, XXX )
-> Connection OK!

#2 mysql_select_db( nzdswuhf_MLM )
-> Database selection OK!

#3 mysqli_query( $mysql_link, $query )
-> Error running query :) )
-> Check the server settings in lm_settings.php
#4 mysqli_query( $mysql_link, $query )
-> Error running query :) )
-> Check the server settings in lm_settings.php
#5 mysqli_query( $mysql_link, $query )
-> Error running query :) )
-> Check the server settings in lm_settings.php
#6 1 list(s), 0 recipient(s), 0 deliveries
-> No error found.

Lists (List Name | Total Recipients | Modification Date):


STILL: Errore #400: Bad Request (http://website/MLM/lm/lm.php?cmd=lists&pwd=•••••••&lang=it)
 

stanbusk

Administrator
Staff member
In MaxBulk Mailer preferences, second panel, check if your MLM URL is valid. IT has to start with 'http://' and ends with 'lm.php'.
 

stanbusk

Administrator
Staff member
Ok, you will have to contact your web hosting company and tell them you get an error 400 'Bad request' when accessing 'http://website/MLM/lm/lm.php?cmd=lists&pwd=•••••••&lang=it' with MaxBulk Mailer. They can look at the web server log file and see what is the exact problem.
 

luigbar

New Member
They says that the problem is the "bad request" from the software, not the website.

"Le confermo che la problematica deriva da una richiesta "malformata" proveniente dal software da lei in uso per visitare il link "http://orvieto.umbria.it/MLM/lm/lm.php?cmd=lists&pwd=XXXXXXX&lang=it"."
 

stanbusk

Administrator
Staff member
Yes, maybe, however the idea here is not to blame someone but to know the reason why an error occurs and to get the problem fixed. When a server responds with a bad request error, there is a reason, what reason is it? Why the request is bad? What part or header in the request causes the server to consider the request as bad? It is the information you need from your server. Servers have logs the support guy can look at believe me, no magic here :)
 
Top