[pmwiki-users] sessionauth problem - switching servers
cbasturea at gmail.com
Mon May 22 11:50:26 CDT 2006
Thank you so much, Ben!!! It's working! :)
Ben Wilson wrote:
> You always go to the offending line and put (array) in front of the
> offending variable. The (array) markup casts that variable as an array
> regardless of its type. So, if you had a single string, then it would
> create an array with that string being its only element.
> I find I have to do this quite often to ensure loops loop, and I tend
> to think of it as good error handling.
> In the alternative, it may be that the array is not being created
> properly because of a problem with the server.
> However, if you add the (array) before all so offending variables,
> then at least you could see if you have a living, beating PmWiki at
> the end. It may cause some future pain for upgrading, but at least
> you'd be operational.
> On 5/22/06, Constantin Basturea <cbasturea at gmail.com> wrote:
>> It looks like my host switched from PHP4 to PHP 5.1.4. and that's what's
>> causing the problems (detailed below). Any ideas how to fix it?
>> I tried to upload a php.ini in the wiki's home directory, with the
>> following content:
>> zend.ze1_compatibility_mode = 1
>> ... but it's not working :(
More information about the pmwiki-users