I'm not really all too familiar with PHP.

How would a script be preloaded before the config.php script is run? Where should I look for this rogue script?

Derek

----Original Message Follows----
From: "Tomas Kuliavas" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: [SM-USERS] error on login page
Date: Mon, 11 Oct 2004 09:21:20 +0300 (EEST)


> I was able to make the problem go away by adding unset($theme) before the
> line that was failing in config.php.
>
> I don't know why this was an issue but my guess is that somehow $theme
> was somehow defined before and that indexing using a string didn't make
> sense according to that definition.


You have some preloaded php script that sets $theme variable as string. In
SquirrelMail $theme is an array. php 5.x does not allow mixing string and
array types.

try opening only config.php and you get same error. According to
config.php.txt that you have shown, there is no other $theme setting.

Recheck your config if you don't want more surprises from preloaded scripts.

--
Tomas


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
--
squirrelmail-users mailing list
Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [EMAIL PROTECTED]
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


_________________________________________________________________
Get ready for school! Find articles, homework help and more in the Back to School Guide! http://special.msn.com/network/04backtoschool.armx




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
--
squirrelmail-users mailing list
Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [EMAIL PROTECTED]
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to