phpgroupware-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-users] Re: Sitemgr errors at top of screen


From: totschnig . michael
Subject: [Phpgroupware-users] Re: Sitemgr errors at top of screen
Date: Wed, 05 Mar 2003 21:02:56 -0500
User-agent: Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.4 (Economic Science, i686-pc-linux)

"Brian Johnson" <address@hidden> a écrit:

> I've got sitemgr working but am getting errors across the top of the screen 
> of the
> created web page:
>
> Warning: Wrong datatype for second argument in call to in_array in
> /backup/piii_651/home/htdocs/phpgroupware/sitemgr/sitemgr-site/inc/class.bo.inc.php
> on line 35
>
> Warning: Wrong datatype for second argument in call to in_array in
> /backup/piii_651/home/htdocs/phpgroupware/sitemgr/sitemgr-site/inc/class.bo.inc.php
> on line 43
>
> Warning: Wrong datatype for second argument in call to in_array in
> /backup/piii_651/home/htdocs/phpgroupware/sitemgr/sitemgr-site/inc/class.bo.inc.php
> on line 35
>
> Warning: Wrong datatype for second argument in call to in_array in
> /backup/piii_651/home/htdocs/phpgroupware/sitemgr/sitemgr-site/inc/class.bo.inc.php
> on line 43
>
>
> Any have ideas how I can get rid of them?

This means that you have a category that has no entry in the
phpgw_sitemgr_categories_lang table. This is strange. Did you edit the
database by hand? Did you change the value of site_languages in
Sitemgr Configuration?
In any case there is a workaround: You could slightly change the
function getlangarrayforcategory in class.Categories_SO.inc.php, by
adding the line
$retval = array();
as first line of the function. But if you are just starting a website
with sitemgr, it might be interesting to restart installation to see
if you can thus clean up the problem. (Also, if you are interested in
some more advanced features, you could try sitemgr from CVS HEAD.)

> PS - it would be useful for the docs to note that the relative position of the
> sitemgr-site dir is relative to the sitemgr-link dir

This is not completely right. The sitemgr-link dir must be put into
the root of your phpgroupware install. Sitemgr-site you, can put it
anywhere where it is accesbile with an URL, i.e. you can also leave it
where it is, and either call it with
http://your.domain/path/to/phpgroupware/sitemgr/sitemgr-site
or define an apache alias for this directory.

Michael





reply via email to

[Prev in Thread] Current Thread [Next in Thread]