Re: Using Short URL's

[email protected] (mikespub)
Newsgroups gmane.comp.cms.xaraya.knowledge-base
Organization not much
Message-ID <[email protected]>
In article <mailman.1050988861.12478.xaraya_knowledge-base-n5IRV0TL0hwRxVAL8JNkPw@public.gmane.org>, [email protected] wrote:
>22 `opek 2003 c., 5:40:01 you wrote:
>
>JC> There are two separate steps to using the short URL support.  You must
> first
>JC> enable it within the site by configuring your Base Configuration.
>
>I've tried to do step 1 but after page is reload box 'Enable Short URL
>Support:' still unselected. In the field 'xar_value' (table
>'xar_config_vars') for 'Site.Core.EnableShortURLsSupport' = 'N;'. When
>I tried to change it manually to 'Y;' I've got the following error
>(URL=/index.php?module=base&type=admin&func=modifyconfig):

Actually, the values in xar_config_vars are serialized, and N; means
the NULL value, not some short-hand for No or something like that :-)

So the value should be b:1; (binary) or i:1; (integer) or s:1:"1"; (string)
or anything else that evaluates to "true".

The checkbox will then be selected (and short URLs work), but if
you update the base config again later, the value will be NULL again
- definitely a bug.

Mike.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.