Re: Setting Privelege for Guestbook

[email protected] (mikespub) Thu, 02 Oct 2003 07:48:50 GMT
Newsgroups gmane.comp.cms.xaraya.knowledge-base
Organization not much
Message-ID <[email protected]>
In article <blgi7h$vqq$1-111RdWWlOxkOkXtL6OYfHgC/[email protected]>, [email protected] (Banzai) wrote:
>Banzai wrote:
>
>> The wizard link points to:
>>
>http://www.suteraweb.com/html/index.php?module=articles&type=admin&func=privile
>ges&extpid=0&extname=AddGuestbook&extrealm=All&extmodule=articles&extcomponent=
>Article&extlevel=0
>
>Found the problem... the wizard link should be pointing to 
>http://www.suteraweb.com/malaysiaheart/index.php?module=articles& .... 
>
>not 
>http://www.suteraweb.com/html/index.php?module.....
>
>the html in the URL is the problem. How do I change it ?
>
>Banzai
>
>
Ah - I think you found another bug :-)

You probably moved your site from /html to /malaysiaheart after 
first installing it ? Because the URL to the privileges wizard is stored in
the database when the privilege instance is first defined (at initialisation
of the module), and it's not updated if you move your site later...

Have a look at the xar_security_instances table, for any URL that
still points the /html, and replace them directly in the database.

Mike.