PDA

View Full Version : Refine Search for a new Listing Type Does not Generate when creating a List Type



Pete Young
January 8, 2019, 10:20 AM
https://forum.flynax.com/showthread.php?5132-How-do-I-enable-Refine-Search-for-a-new-Listing-Type

Thanks to Wei for helping, but when you create a new list type in 4.7.0 it does not generate the Refine Search option in Content Boxes, the normal search options, advanced, quick and my listings are generated in search.

I have checked flynax demos, general, auto, and escort scripts and all flynax scripts are producing this error.

Is there a simple patch fix for this please ?

Rudi
January 9, 2019, 02:34 AM
Hello Pete,

Yes, this bug really exists

Thanks for reporting it

Go to ftp > admin > controllers > listing_types.inc.php > replace all occurrences of $_POST['page'] with $_POST['add_page']

Pete Young
January 9, 2019, 03:11 AM
Thanks Rudi, appreciate your quick help.

Pete

Pete Young
January 9, 2019, 05:28 AM
Hello Pete,

Yes, this bug really exists

Thanks for reporting it

Go to ftp > admin > controllers > listing_types.inc.php > replace all occurrences of $_POST['page'] with $_POST['add_page']

Done this, it still does not work ?

makes me mad there were 6 changes so when trying to go back to edit back how it was there are 14 now ? no idea what ones I changed, lost for words for it.

is there I can find out which line numbers these were please so I can unfix what was not broken that's broken ?

Wei Hong
January 9, 2019, 06:08 AM
Done this, it still does not work ?

makes me mad there were 6 changes so when trying to go back to edit back how it was there are 14 now ? no idea what ones I changed, lost for words for it.

is there I can find out which line numbers these were please so I can unfix what was not broken that's broken ?

I think there was 8 $_POST['add_page'] before you made the change, and now it added up to 14? I would restore the file from all backup/installation pack from flynaxdotcom.

Pete Young
January 9, 2019, 06:12 AM
From memory it indicated 6 edits, I will try and locate the file and restore it, just wasted time annoys me. thanks champ

Your tip to download from fly was a great one, thank you, I have been able to open the php in a word doc and attach line numbers to find the culprits, will await the official fix to the fix to be posted.

Pete Young
January 10, 2019, 06:57 AM
Any Update on this I have done as suggested as above and I have double triple checked this and I still have the error, is there another part to this fix that has been missed out ?

Rudi
January 10, 2019, 07:39 AM
I've checked and this fix works well on my end

maybe you did something wrong
make sure that "Individual Post an Ad page" is enabled for your listing type

Pete Young
January 10, 2019, 08:08 AM
ok will check this , Ok update yes that was the missing link, thank you Rudi all is working well now.

Joe Can
August 14, 2020, 12:23 PM
Can anyone confirm if the newest release has corrected this issue?

RSF 4.7.1 says the issue has not been corrected.

Thanks for your help.

Rudi
August 17, 2020, 07:12 AM
Hello,

It was fixed in 4.7.1