The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
Moving Domain - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Miscellaneous (https://userspice.com/forums/forumdisplay.php?fid=28)
+--- Forum: Off-topic Discussions (https://userspice.com/forums/forumdisplay.php?fid=10)
+--- Thread: Moving Domain (/showthread.php?tid=906)



Moving Domain - waynebr - 01-08-2018

Hi - First thanks for Userspice i'm finding it very useful. I have userspice set up on a domain and want to be able to copy it for use on a separate domain as a backup. I have copied across the database and all the files but it dosn't work. What do I need to change to transfer to a new domain?


Moving Domain - Brandin - 01-08-2018

You probably need to make sure the DB credentials in init.php are correct. What kind of error are you getting?


Moving Domain - waynebr - 01-08-2018

It don't get an error, I get the log in page but without the recaptcha, then if i login it takes me to the index page but i'm not logged in


Moving Domain - Brandin - 01-08-2018

You need to update your domains with Recapatcha or disable it.


Moving Domain - waynebr - 01-08-2018

HI Recaptcha is enabled for both domains, I can install a fresh version Userspice and it works fine. I can then login, however what I want to be able to do is restore a backup on my alternative domain in case of failure, I'm guessing that something needs to be changed in the database but not sure what.


Moving Domain - Brandin - 01-08-2018

The only thing in the DB that would need to change is the Verify URL in the emails table, there is nothing else that restricts where it can be copied to. I copy files from a production server to a development server regularly and have no issues.


Moving Domain - waynebr - 01-08-2018

Thanks I will try again later in the week, when I have more time.