Roundcube Community Forum

Release Support => Pending Issues => Topic started by: PeterW on August 26, 2012, 02:23:01 PM

Title: PHP Notice in svggradient.php
Post by: PeterW on August 26, 2012, 02:23:01 PM
Hi,

I get some PHP notices when accessing the webmail using version 0.8.1:

Undefined offset: 1 in roundcube/skins/larry/svggradient.php on line 26
Title: Re: PHP Notice in svggradient.php
Post by: ineo on August 30, 2012, 02:51:28 PM
I experience the same, haven't found a solution yet.
Title: Re: PHP Notice in svggradient.php
Post by: ineo on September 03, 2012, 01:33:54 PM

This error only seems to triggered by users that use Internet Explorer 9

Any idea how to solve this?

Grtz, iNeo
Title: Re: PHP Notice in svggradient.php
Post by: PeterW on September 04, 2012, 12:10:18 PM
No idea,

but it is only a notice and no error. It seems to have no negative impact on using Roundcube. I just reported it because it fills up my server log :D
Title: Re: PHP Notice in svggradient.php
Post by: SKaero on September 04, 2012, 02:13:10 PM
The svggradient.php only exists due to IE 9 lack of support for css gradients so thats why the error is only happening in IE 9.
Title: Re: PHP Notice in svggradient.php
Post by: PeterW on September 10, 2012, 09:15:41 AM
Is there an easy fix for this PHP message?
Title: Re: PHP Notice in svggradient.php
Post by: alec on September 10, 2012, 09:18:50 AM
https://github.com/roundcube/roundcubemail/commit/2c0d038396024c85ada00c10324a56ab7557f8d0
Title: Re: PHP Notice in svggradient.php
Post by: PeterW on September 10, 2012, 10:31:17 AM
That's more like a workaround than a fix ;)
Title: Re: PHP Notice in svggradient.php
Post by: ineo on September 10, 2012, 10:48:49 AM

I agree, but it is working  8)
Title: Re: PHP Notice in svggradient.php
Post by: PeterW on September 10, 2012, 10:52:54 AM
Sure it's working :D
Perhaps it will be "fixed" one day. Until then I applied this workaround to the file on my server.