4 Warning messages

Bug #563405 reported by Marcos Garcia
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Jisko
Fix Released
Low
Marcos Garcia

Bug Description

Hi,

After unsuccessful with Jisko v2.0, i Installed v 3.0 beta1 r435 today.
I'm getting 4 Warning messages:

1) PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/gxxi/public_html/includes/openid/Services/Yadis/XRDS.php on line 295

2) PHP Warning: Invalid argument supplied for foreach() in /home/gxxi/public_html/includes/themes.php on line 23

3) PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /home/gxxi/public_html/includes/jisko.php on line 206

4) PHP Warning: Cookie names cannot contain any of the following '=,; \t\r\n\013\014' in /home/gxxi/public_html/pages/login.php on line 170

Because of these Errors, i'm getting Headers already sent error and Pages are not loading while Login etc.

Pls let me know the fix of this.

Thanks
Pats

Changed in jisko:
milestone: none → 3.0beta1
assignee: nobody → Marcos Garcia (marcosgdf)
importance: Undecided → Low
status: New → In Progress
Revision history for this message
Marcos Garcia (marcosgdf) wrote :

Fixed error 3 & 2 in revision 439

The error 4 it's because you can't have 'equal' sign in NAME
The error 1 it's because of the DopeOpenID class, so I can't fix it BTW

Also, to fix error 2, you have to add in your config.php a new line containing:

$globals['menubar_links'] = array();

Thanks!

Changed in jisko:
status: In Progress → Fix Released
Revision history for this message
Pats (pats) wrote :

Hi Marcos,

ok 2 & 3 are fixed in r439.

How to fix error 4?
line 170 of login.php is setcookie($jk->name, $SID, time()+(86400*60));
Where is the equal sign in name?

Due to Error 1, user cannot login, so how can i disable this DopeOpenID class for the time-being?

Thanks!
Pats

Revision history for this message
Pats (pats) wrote :

Hi Marcos,

Now only Error 4 remains, pls look into it.

I fixed the Error 1 of DopeOpenID class. You can make the correction in SVN for the benefit of your users...
in Line 295 of /includes/openid/Services/Yadis/XRDS.php Remove the '&'
so the line $s =& new Services_Yadis_Service();
becomes $s = new Services_Yadis_Service();

Thanks :)
Pats

Revision history for this message
Marcos Garcia (marcosgdf) wrote : Re: [Bug 563405] Re: 4 Warning messages

Or you can hide errors in core.php by changing line 23 to:

error_reporting(E_ERROR);

Try to modify your database, and then modify category='name' from the table
settings and remove characters different than a-Z letters.

Regards, Marcos.

On Thu, Apr 15, 2010 at 1:00 AM, Pats <email address hidden> wrote:

> Hi Marcos,
>
> ok 2 & 3 are fixed in r439.
>
> How to fix error 4?
> line 170 of login.php is setcookie($jk->name, $SID, time()+(86400*60));
> Where is the equal sign in name?
>
> Due to Error 1, user cannot login, so how can i disable this DopeOpenID
> class for the time-being?
>
> Thanks!
> Pats
>
> --
> 4 Warning messages
> https://bugs.launchpad.net/bugs/563405
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
marcos garcía // <email address hidden>

Revision history for this message
Pats (pats) wrote :

ok Error 1 also solved, the Name provided during Installation had , so it coughed there.
Removed it from Database - Settings.

But now i'm stuck where Jisko 2.0 was stuck - https://answers.launchpad.net/jisko/+question/103619

Help!!!

Revision history for this message
Marcos Garcia (marcosgdf) wrote :

Done! Thanks a lot :)

http://svn.jisko.org/revision.php?repname=group.jisko&path=/&rev=440&peg=440

On Thu, Apr 15, 2010 at 1:16 AM, Pats <email address hidden> wrote:

> Hi Marcos,
>
> Now only Error 4 remains, pls look into it.
>
> I fixed the Error 1 of DopeOpenID class. You can make the correction in SVN
> for the benefit of your users...
> in Line 295 of /includes/openid/Services/Yadis/XRDS.php Remove the '&'
> so the line $s =& new Services_Yadis_Service();
> becomes $s = new Services_Yadis_Service();
>
> Thanks :)
> Pats
>
> --
> 4 Warning messages
> https://bugs.launchpad.net/bugs/563405
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
marcos garcía // <email address hidden>

Revision history for this message
Marcos Garcia (marcosgdf) wrote :

Yes, you're right. I've tried to login in your server and I couldn't too..
Let me check...

On Thu, Apr 15, 2010 at 1:35 AM, Pats <email address hidden> wrote:

> ase

--
marcos garcía // <email address hidden>

Revision history for this message
Marcos Garcia (marcosgdf) wrote :

I couldn't access your server through FTP...

Can you please resend your ftp credentials to <email address hidden>?

Thanks!

On Thu, Apr 15, 2010 at 1:49 AM, Marcos García <email address hidden> wrote:

> Yes, you're right. I've tried to login in your server and I couldn't too..
> Let me check...
>
> On Thu, Apr 15, 2010 at 1:35 AM, Pats <email address hidden> wrote:
>
>> ase
>
>
>
>
> --
> marcos garcía // <email address hidden>
>

--
marcos garcía // <email address hidden>

Revision history for this message
Pats (pats) wrote :

Hi Marcos,

FTP details sent to your email. Pls check.

Thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.