View Single Post
Old 04-17-2017, 03:49 PM   #606 (permalink)
4matic
EcoModding Lurker
 
Join Date: Jan 2013
Location: Vancouver, BC
Posts: 2

HybridPony - '99 Ford Mustang V6
90 day: 29.25 mpg (US)
Thanks: 0
Thanked 1 Time in 1 Post
So I did a bit more work on the Garage Search issue, and it looks like it can be fixed with an edit to only one line of the html code for the page.

Where the original line 654 for the submit search button is:
<form method="POST" action="emgaragesearch.php">

This should be revised to:
<form action="emgarage.php">

I used the following for testing the code from off-site:
<form action="xttp://ecomodder.com/forum/emgarage.php">
(the x in the xttp should be an h.....I can't post url's yet)

When I used the reference "emgaragesearch.php" in testing it causes the re-direct to the forum root page. Changing this to "emgarage.php" avoids the exception.

When I used the method="POST" which should suppress the display of the query in the URL bar - it also seems to be preventing the query from being received by the database server, which then returns the first (1000) records as it would by default when not receiving any constraints.

Removing the method="POST" avoids the suppression and returns the correct subset of records.

I've tested this on Chrome / Explorer / Firefox and it looks OK.
  Reply With Quote
The Following User Says Thank You to 4matic For This Useful Post:
freebeard (04-18-2017)