Page 1 of 1

Moving Open Real Estate

PostPosted: 09 Jan 2013, 21:06
by one77
What should I do to move Open Real Estate from one server or host to another?

Re: Moving Open Real Estate

PostPosted: 10 Jan 2013, 06:49
by Xpycm
it's simple!

1) Copy all files from your old hosting to the new one via ftp|cpanel
2) Backup (on an old hosting) and restore (on a new hosting) database
3) Clear the cache - viewtopic.php?f=17&t=297
4) Configure MySQL data connection in protected/config/db.php file.
5) Set permissions for folders - viewtopic.php?f=17&t=298

Re: Moving Open Real Estate

PostPosted: 10 Jan 2013, 12:04
by one77
I installed Oper Real Estate on http://re.mybg.info and I tried to move it to http://re2.mybg.info. In this case I don't need to make any changes or configurations in db.php . The problem is that only home page works on http://re2.mybg.info . The other pages are "Not Found". I'm missing something.

Re: Moving Open Real Estate

PostPosted: 10 Jan 2013, 14:04
by Xpycm
Try add "RewriteBase /" into .htaccess file

Re: Moving Open Real Estate

PostPosted: 10 Jan 2013, 17:56
by one77
Thanks a lot! *THUMBS UP*

Re: Moving Open Real Estate

PostPosted: 15 May 2014, 11:03
by Vojtechjan
Hi!
Got a little problem on my hand,
I installed script on a serwer - ex serwer1234.hosting.com/script
I have domain ex - thescript.com

Yet when I register and stuff I got emails pointing to the hosting instead of the domain
Where can I change it?

Re: Moving Open Real Estate

PostPosted: 16 May 2014, 08:22
by fisher
Check admin panel settings. If it doesn't work, ask hosters.

Re: Moving Open Real Estate

PostPosted: 20 May 2014, 16:36
by Vojtechjan
fisher wrote:Check admin panel settings. If it doesn't work, ask hosters.

where in the admin panel settings?

Re: Moving Open Real Estate

PostPosted: 22 May 2014, 13:56
by Vojtechjan
I do repeat my question. Where do I find the configuation file that is responsible for creating such things like {fullhost} and activation link tags in email and such things like thaht/

Cause i do want it to be shown as mydomain.com not serwer.myhosting.com in mailing and things like this.

Re: Moving Open Real Estate

PostPosted: 22 May 2014, 23:49
by Koduc
Vojtechjan wrote:I do repeat my question. Where do I find the configuation file that is responsible for creating such things like {fullhost} and activation link tags in email and such things like thaht/

Cause i do want it to be shown as mydomain.com not serwer.myhosting.com in mailing and things like this.

Open file: /protected/modules/notifier/components/Notifier.php
find following lines:
Code: Select all
            $body str_replace('{host}'Yii::app()->request->hostInfo$body);
            
$body str_replace('{fullhost}'Yii::app()->getBaseUrl(true), $body); 

and replace it with
Code: Select all
            $body str_replace('{host}''YOU HOST NAME'$body);
            
$body str_replace('{fullhost}''YOU HOST NAME'$body);