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


-- 
Jon Phillips 王✳爻气 http://fabricatorz.com ✳ skype: kidproto ✳ irc: rejon
+1.415.830.3884 (global) ✳ +86-187-1003-9974 (beijing)

-- 
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

Reply via email to