View Full Version : [IMPORTANT] New Subversion Repository Location
jstanden
06-11-2008, 04:48 AM
Full information is on the blog:
http://www.cerb4.com/blog/2008/06/10/important-new-subversion-repository-location/
Carl Abert
06-11-2008, 08:39 PM
Jeff - after changing the SVN repository & updating to 625, the following error is encountered when opening CDH:
Parse error: syntax error, unexpected T_IS_IDENTICAL in D:\Cerberus HelpDesk\xampp\htdocs\cerb4\framework.config.php on line 28
At this point, we're 'broken' - thank goodness we are are not yet 'live'!
Looking at the file, it does not look quite right & since it advises not not make changes unless you know what you're doing - "HELP":):
/************************************************** **************************
* [JAS]: Don't change the following unless you know what you're doing!
************************************************** *************************/
define('APP_DEFAULT_CONTROLLER','core.controller.p age');
define('APP_DB_PREFIX','cerb');
define('APP_PATH',realpath(dirname(__FILE__)));
=======
<?php
define('APP_DB_DRIVER','');
define('APP_DB_HOST','');
define('APP_DB_DATABASE','');
define('APP_DB_USER','');
define('APP_DB_PASS','');
//define('DEVBLOCKS_LANGUAGE','en');
//define('DEVBLOCKS_DEBUG',true);
// Memcached (high-performance shared memory cache)
// optional, memcached 1.2.x + extension must be enabled
// list multiple servers comma-delimited: host1:port,host2:port
//define('DEVBLOCKS_CACHE_PREFIX',''); // ONLY A-Z, a-z, 0-9 and underscore
//define('DEVBLOCKS_MEMCACHED_SERVERS','127.0.0.1:11 211');
// [TODO] This needs to be coming out of GUI config (system default + worker default)
@date_default_timezone_set(date_default_timezone_g et());
define('APP_PARSER_ALLOW_IMPORTS', true);
/************************************************** **************************
* [JAS]: Don't change the following unless you know what you're doing!
************************************************** *************************/
define('APP_DEFAULT_CONTROLLER','core.controller.p age');
define('APP_DB_PREFIX','cerb');
define('APP_PATH',realpath(dirname(__FILE__)));
>>>>>>> .r625
define('DEVBLOCKS_PATH',APP_PATH . '/libs/devblocks/');
define('DEVBLOCKS_REWRITE', file_exists(dirname(__FILE__).'/.htaccess'));
define('DEMO_MODE',false);
define('AUTHORIZED_IPS_DEFAULTS', '');
require_once(DEVBLOCKS_PATH . 'framework.defaults.php');
Hildy
06-11-2008, 09:43 PM
I swear, one of those posts had this information, but I don't see it there now...
The framework.config.php had some changes recently (it almost never changes, for this reason), so you'll need to a) save your old one somewhere (so you have the db connection info), b) svn revert framerwork.config.php, and c) add your db connection info to the reverted file.
rfarnell
06-11-2008, 11:52 PM
You’ll probably get a conflict on the framework.config.php file after updating. If you aren’t familiar with fixing conflicts, the easiest way to clean this up is to copy your framework.config.php file to framework.config.backup.php and then ‘svn revert framework.config.php‘. Then copy your DB_* entries from the top of the backup file into the reverted copy. If you edit the conflict by hand, be sure to ‘svn resolved framework.config.php‘. You can make sure you cleaned everything up with ‘svn status‘.
These steps worked perfectly for me.
Rob
jstanden
06-12-2008, 03:25 AM
Hey Carl!
The steps posted by Rob above should help you out. The framework.config.php file is simple enough that you can just copy the couple database lines from the top of your original file to a fresh copy of it.
Make sure you treat this like a normal upgrade too:
http://wiki.cerb4.com/wiki/Upgrading_to_Newer_Versions_of_Cerberus_Helpdesk_4 .0
Thanks!
Carl Abert
06-12-2008, 12:30 PM
Yes indeed, the fix works just fine. The feedback is to ensure folks know that this needs to be done (at least) or if possible modify the upgrade to make this a non-issue. Thanks for the quick replies!
Carl
mvdgeijn
06-24-2008, 12:17 PM
I'm trying to upgrade to the latest stable version, but I get an error when switching repositories:
# svn switch http://svn.webgroupmedia.com/cerb4/branches/stable
svn: Failed to add directory 'plugins': object of the same name already exists
Does anybody know how to fix it? I'm not a svn expert.
Hildy
06-24-2008, 04:55 PM
I *have* seen this once; the solution was to delete everything it was complaining about not being able to add and let svn recreate it.
Do make a backup copy of your directory before you do this.
Do not delete storage/mail/ or storage/attachments or framework.config.php.
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.