Re: Using Short URL's

Artem <[email protected]>
Newsgroups gmane.comp.cms.xaraya.knowledge-base
Message-ID <[email protected]>
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):
=================
Caught exception
(USER Exception) ErrorCollection:
ErrorCollection exception
Exception identifier: PHP_ERROR
d:\www\xaraya\900\includes\xarConfig.php(110):
unserialize() [<a
href='http://www.php.net/function.unserialize'>function.unserialize</a>]: Error at offset 0 of 2 bytes

     at xarexception__phperrorhandler(xarException.php:411)
8, unserialize() [<a
href='http://www.php.net/function.unserialize'>function.unserialize</a>]: Error at offset 0 of 2 bytes, d:\www\xaraya\900\includes\xarConfig.php, 110, Array
     at unserialize(:)
Y;
     at xarconfiggetvar(xarConfig.php:110)
Site.Core.EnableShortURLsSupport
     at xarcoreinit(xarCore.php:208)
63
     at xarmain(index.php:31)
============
Any ideas?

JC> Once that is set, then modules that support Short URL's must be told to do
JC> so.  For instance, articles module needs to be told separately to use short
JC> URL's.  You can do this from the individual module's configuration.
-- 
Best regards,
 Artem                          mailto:[email protected]
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.