2 messages in com.mysql.lists.eventum-userschanging the document root breaks eve...
FromSent OnAttachments
todd...@securix.com.au31 May 2004 16:45 
Joao Prado Maia01 Jun 2004 08:08 
Subject:changing the document root breaks eventum admin module. How do you migrate instances to a new server?
From:todd...@securix.com.au (todd@securix.com.au)
Date:05/31/2004 04:45:56 PM
List:com.mysql.lists.eventum-users

Howdy folks,

I was asked to relocate our eventum server to another server and domain and apply SSL (as it's going to be externally accessable). I backed up the DB and restored it to the new machine (worked fine) and I did the same for the htdocs dir (apache).

Everything works except for the internal (admin site).

I have changed the docRoot from /htdocs to /htdocs/eventum I have edited the config.inc.php - to the new appropriate values @define("APP_PATH", 'c:/Apache/htdocs/eventum/'); @define("APP_HOSTNAME", "proventus.securix.com.au"); @define("APP_SITE_NAME", APP_NAME); #@define("APP_RELATIVE_URL", "/eventum/"); @define("APP_RELATIVE_URL", ""); @define("APP_BASE_URL", "https://" . APP_HOSTNAME . APP_RELATIVE_URL);

I can hit the external site fine (all pages work correctly) but the admin site refuses to work.

The url for the admin module is given as

https://10.1.20.11/manage/manage/projects.php (IP address resolves fine) - it's just the extra manage Removing the extra /manage and it that page works. Any of the links on that page don't work either (they all have /manage/manage) and they specify http and not https.

I did not reinstall eventum, as it doesn't always seem to work for me (php.ini problems usually - php.ini.reccomended doesn't work but adding gd lib to php.ini.dist does).

Do I have to actually perform the install so that the admin site works - I am guessing that the problematic config is contained within the setup.conf.php (which is encoded so it can't be read)? Or is there some other means of migrating an instance?

thanks Todd

Todd Morgan