This url should be removed from AIKI I post the code and rg1024 post fixed version. Url should be pulled in php based on place where index.php is located.
On Fri, 10 Feb 2012 02:57:37 -0000 rejon <[email protected]> wrote: > So this just temporarily overrides the setting in the database? How > can we set the setting in the database with some one time code > function in AIKI_ROOT/config.php? > > This is great to have so we don't have to jump into the sql dump each > time we move a site! > > Jon > > On Fri, Feb 10, 2012 at 3:38 AM, rg1024 <[email protected]> > wrote: > > Jon, it is working. > > > > a) Change the file AIKI_ROOT/config.php (not the > > AIKI_ROOT/configs/config.php) Put in line 135 (just after, > > $config=array() ; the line $config['url']= "http://foo.bar"; > > > > b) if problems persists see if in aiki_configs, there is a record > > with config_name=url SELECT * FROM `aiki_configs` WHERE > > config_name='url'. Delete record. > > > > c) if problems persists, see if you are using the adequate markup in > > widget [root] or a absolute path > > > > Meantime, i change this bug to incomplete. > > > > > > > > ** Changed in: aikiframework > > Status: Confirmed => Incomplete > > > > -- > > You received this bug notification because you are a member of > > Fabricatorz Developers, which is subscribed to aikiframework 0.9.0. > > https://bugs.launchpad.net/bugs/927527 > > > > Title: > > there is not an easy way to change aiki_config options from > > config.php > > > > To manage notifications about this bug go to: > > https://bugs.launchpad.net/aikiframework/+bug/927527/+subscriptions > > -- Jakub Jankiewicz twitter: @jcubic www: http://jcubic.pl -- You received this bug notification because you are a member of Aiki Framework Admins, which is subscribed to aikiframework. https://bugs.launchpad.net/bugs/927527 Title: there is not an easy way to change aiki_config options from config.php Status in Aiki Framework: Incomplete Bug description: It is totally silly and laborious that the path to moving an aiki site involved dumping the database and then hand editing the aiki_config table that is serialized data, or doing this from mysql client. We need a simple way like in wordpress to do: set_config('url', 'http://somesite.com/'); and be able to run this from a config.php file once, so we can update a site rather than the alternative. Could we get this done for this 0.9.0 release? I can't stand doing this anymore and some way to set all the aiki_config options from the config.php would be supervaluable override. Wordpress can do this, and we should be able to do it to! rg1024, what do you think? Is there a good simple way to get this done now and then be compatible with your config class work coming up? To manage notifications about this bug go to: https://bugs.launchpad.net/aikiframework/+bug/927527/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~aikiframework.admins Post to : [email protected] Unsubscribe : https://launchpad.net/~aikiframework.admins More help : https://help.launchpad.net/ListHelp

