OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
RealEstateManager component support
Go to bottom Favoured: 0
TOPIC: Cant' delete features
#10862
enterprisesoft (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Cant' delete features 2 Years, 8 Months ago Karma: 0  
Hello,

there is a problem when I try to delete features in 'Features Manager'. I get this message:

1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 SQL=SELECT image_link FROM cci_rem_feature WHERE id=

And when I try to uncheck any feature I get the next messages in server log:

PHP Notice: Undefined index: edok_link in <my_app_path>/administrator/components/com_realestatemanager/realestatemanager.php on line 2024, referer: <my_app_path>/administrator/index.php
[error] [client ::1] PHP Notice: Undefined index: edoc_file in <my_app_path>/administrator/components/com_realestatemanager/realestatemanager.php on line 2034, referer: <my_app_path>/administrator/index.php
[error] [client ::1] PHP Notice: Undefined index: del_photos in <my_app_path>/administrator/components/com_realestatemanager/realestatemanager.php on line 2212, referer: <my_app_path>/administrator/index.php
[error] [client ::1] PHP Notice: Undefined index: del_rent_sal in <my_app_path>/administrator/components/com_realestatemanager/realestatemanager.php on line 2234, referer: <my_app_path>/administrator/index.php


What can I do?

Thanks.
 
Logged Logged  
 
Last Edit: 2014/01/29 23:30 By enterprisesoft.
  The administrator has disabled public write access.
#10865
admin (Admin)
Admin
Posts: 4856
graph
User Offline Click here to see the profile of this user
Re:Cant' delete features 2 Years, 8 Months ago Karma: 61  
Hello,

Please at file:
{site}/administrator/components/com_realestatemanager/realestatemanager.php

find row:
Code:

    $database->setQuery("SELECT image_link FROM #__rem_feature WHERE id=$idd");


and replace to row
Code:

    $database->setQuery("SELECT image_link FROM #__rem_feature WHERE id=$fid");



Thanks,
Ordasoft team
 
Logged Logged  
  The administrator has disabled public write access.
#10887
enterprisesoft (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:Cant' delete features 2 Years, 8 Months ago Karma: 0  
Hello,

First issue was solved.

However, the second one still remains. I cant't uncheck features. The ticks keep after saving.

Thanks for the fix.
 
Logged Logged  
  The administrator has disabled public write access.
#10910
admin (Admin)
Admin
Posts: 4856
graph
User Offline Click here to see the profile of this user
Re:Cant' delete features 2 Years, 7 Months ago Karma: 61  
Hello,

For me all work good
you use new version or do some upgrade ?

Thanks,
ordasoft team
 
Logged Logged  
  The administrator has disabled public write access.
#10927
enterprisesoft (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:Cant' delete features 2 Years, 7 Months ago Karma: 0  
Hello,

that was weird. I wasn't able to update (uncheck) house features before and just after applying the patch. But now, I can do.

Anyway, thank you.
 
Logged Logged  
  The administrator has disabled public write access.
Go to top
What are you looking for?
Anti-spam question: How many eyes has a typical person?