OS Property support center

SOLVED !!! Advanced Search does not work

  • brianpat pat
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 7 months ago - 9 years 7 months ago #69430 by brianpat pat
SOLVED !!! Advanced Search does not work was created by brianpat pat
Hi,

I am getting the following errors while searching for advanced search:

Fatal error: Call to a member function set() on a non-object in /home/xxxx/xxxxx/home/components/com_osproperty/classes/listing.php on line 1612

regards
Last edit: 9 years 7 months ago by Mr. Dam.

Please Log in or Create an account to join the conversation.

  • Mr. Dam
  • Away
  • Administrator
  • Administrator
More
9 years 7 months ago #69432 by Mr. Dam
Replied by Mr. Dam on topic Advanced Search does not work
Hi,
Please submit ticket and send your site information with super admin account. I will check the issue for you
Thanks
Dam

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago - 9 years 7 months ago #70095 by Dragan
Replied by Dragan on topic Advanced Search does not work
Hi,

I'tm getting the same error.
When I click on the advanced search I'm getting the results. That's ok but when I click on the maps I'm getting the following error
Code:
[Fri Oct 09 09:39:41.395050 2015] [:error] [pid 2420] PHP Fatal error: Call to a member function set() on a non-object in /var/www/html/components/com_osproperty/classes/listing.php on line 1611
The line 1611 is acctually this line of code
Code:
$session->set('advurl',$url);
What was the solution for the gentleman above please?

Thanks
Last edit: 9 years 7 months ago by Dragan.

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #70096 by Dragan
Replied by Dragan on topic Advanced Search does not work
Ok, I sorted it out myself.
The old set session command was used. New command is $_SESSION["sessionname"] = $variable;
Just do that
Code:
// $session->set('advurl',$url); $_SESSION["advurl"] = $url;
and it works marvelously.

Please Log in or Create an account to join the conversation.

  • Mr. Dam
  • Away
  • Administrator
  • Administrator
More
9 years 7 months ago #70098 by Mr. Dam
Replied by Mr. Dam on topic Advanced Search does not work
Hi Dragan,
This issue will be solved in next OS Property version 2.9.2 (released on next week)
Thanks
Dam

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #70100 by Dragan
Replied by Dragan on topic Advanced Search does not work
No prob ;)
Yes, there are quite few session set wrong commands across the script so if you want to avoid excessive support this is the solution.
Code:
components\com_osproperty\classes\agent.php components\com_osproperty\classes\ajax.php components\com_osproperty\classes\company.php components\com_osproperty\classes\compare.php components\com_osproperty\classes\listing.php

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan