OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Relod languages from files to database Real Estate (0 viewing) 
RealEstateManager component support
Go to bottom Favoured: 0
TOPIC: Relod languages from files to database Real Estate
#10832
admin (Admin)
Admin
Posts: 4856
graph
User Offline Click here to see the profile of this user
Relod languages from files to database Real Estate 2 Years, 8 Months ago Karma: 61  
If at time languages add to Real estate manager - happened some error
Or in your site you see some undefined constants - you need reload languages to your site.

1. save to some where folder
{site}/components/com_realestatemanager/lang

2 remove from before folder all language file and go to Real estate manager admin part - to language manager
all language files in {site}/components/com_realestatemanager/lang/ - will recover with data from DataBase - with all constants what you edit

3 Update language files as you think was need it update, fix error or upload new language files
go to {site}/administrator/components/com_realestatemanager/realestatemanager.php

and after row
Code:

require_once ($mosConfig_absolute_path . "/components/com_realestatemanager/realestatemanager.main.categories.class.php");


add row:
Code:

remove_langs();exit;


and go to some real estate menu in admin area. - your languages now removed

4. remove below code
Code:

remove_langs();exit;


5. go to Real estate manager admin part - to language manager.
All languages to databases will reload from files

Thanks,
OrdaSoft team
 
Logged Logged  
 
Last Edit: 2014/01/27 15:15 By admin.
  The administrator has disabled public write access.
#11236
Midhat (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Relod languages from files to database Real Estate 2 Years, 7 Months ago Karma: 0  
Hi,
I need to make some corrections in the language file and I need to delete it from the database.
I can't find line
Code:

require_once ($mosConfig_absolute_path . "/components/com_realestatemanager/realestatemanager.main.categories.class.php");

in {site}/administrator/components/com_realestatemanager/realestatemanager.php

I found
Code:

include_once($mosConfig_absolute_path . '/components/com_realestatemanager/realestatemanager.main.categories.class.php');


and lines

Code:

require_once ($mosConfig_absolute_path . "/components/com_realestatemanager/realestatemanager.class.rent.php");

require_once ($mosConfig_absolute_path . "/components/com_realestatemanager/realestatemanager.html.php"); // for 1.6

require_once ($mosConfig_absolute_path . "/components/com_realestatemanager/realestatemanager.class.php"); // for 1.6

require_once ($mosConfig_absolute_path . "/components/com_realestatemanager/realestatemanager.class.rent_request.php");

require_once ($mosConfig_absolute_path . "/components/com_realestatemanager/realestatemanager.class.buying_request.php");

require_once ($mosConfig_absolute_path . "/components/com_realestatemanager/realestatemanager.class.rent.php");

require_once ($mosConfig_absolute_path . "/components/com_realestatemanager/realestatemanager.class.review.php");

require_once ($mosConfig_absolute_path . "/administrator/components/com_realestatemanager/realestatemanager.class.others.php");



Where should I put the line:
Code:

remove_langs();exit;


Thanks,
Midhat
 
Logged Logged  
 
Last Edit: 2014/02/20 17:59 By Midhat.
  The administrator has disabled public write access.
#11244
admin (Admin)
Admin
Posts: 4856
graph
User Offline Click here to see the profile of this user
Re:Relod languages from files to database Real Estate 2 Years, 7 Months ago Karma: 61  
Hello,

Please insert after all "require"

Thanks,
OrdaSoft team
 
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?