[ZendTo] Re: Upgraded from 3.9 - Login "broken"?

Jules Jules at Zend.To
Mon Nov 28 08:51:37 GMT 2011


What version of PHP are you running? As I assume you're running Linux, 
what distribution and version are you using?

If you read the PHP documentation here:
     http://php.net/manual/en/function.setcookie.php
it clearly states that it takes 7 parameters and not 6.

Jules.

On 25/11/2011 15:47, Joshua F. Withrow wrote:
>
> Found something...
>
> Tail /var/log/httpd/ssl_error_log
>
> [Fri Nov 25 08:39:48 2011] [error] [client 192.168.100.74] PHP 
> Warning:  setcookie() expects at most 6 parameters, 7 given in 
> /opt/zendto/lib/NSSDropbox.php on line 237, referer: 
> https://files.matech.net/
>
> [Fri Nov 25 08:42:46 2011] [error] [client 192.168.100.74] PHP 
> Warning:  setcookie() expects at most 6 parameters, 7 given in 
> /opt/zendto/lib/NSSDropbox.php on line 237, referer: 
> https://files.matech.net/
>
> [Fri Nov 25 08:43:14 2011] [error] [client 192.168.100.74] PHP 
> Warning:  setcookie() expects at most 6 parameters, 7 given in 
> /opt/zendto/lib/NSSDropbox.php on line 237, referer: 
> https://files.matech.net/
>
> [Fri Nov 25 08:48:10 2011] [error] [client 192.168.100.74] PHP 
> Warning:  setcookie() expects at most 6 parameters, 7 given in 
> /opt/zendto/lib/NSSDropbox.php on line 237, referer: 
> https://files.matech.net/
>
> [Fri Nov 25 08:59:50 2011] [error] [client 192.168.100.74] PHP 
> Warning:  setcookie() expects at most 6 parameters, 7 given in 
> /opt/zendto/lib/NSSDropbox.php on line 237, referer: 
> https://files.matech.net/
>
> [Fri Nov 25 09:05:18 2011] [error] [client 192.168.100.74] PHP 
> Warning:  setcookie() expects at most 6 parameters, 7 given in 
> /opt/zendto/lib/NSSDropbox.php on line 237, referer: 
> https://files.matech.net/
>
> Would this have anything to do with my problem?
>
> *Josh Withrow*
>
> *Manager of Information Technology***
>
> ((410) 548-1627 x315 È(302) 233-2366 7(410) 548-1628
>
> 510 Naylor Mill Road, Salisbury, Maryland 21801
>
> www.MATECHSolutions.com <http://www.matechsolutions.com/>
>
> *From:*zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] *On 
> Behalf Of *Joshua F. Withrow
> *Sent:* Friday, November 25, 2011 10:10 AM
> *To:* 'ZendTo Users'
> *Subject:* [ZendTo] Re: Upgraded from 3.9 - Login "broken"?
>
> I have set my local time forward 1 hour, back 1 hour, and then the 
> server timezone forward one hour, and back one hour, and in all 
> combinations and have not figured this out.  I have been trying to 
> find a "cookie activity logging/monitoring" app or plugin for firefox 
> but nothing has shown me anything useful yet.
>
> *Josh Withrow*
>
> *Manager of Information Technology***
>
> ((410) 548-1627 x315 È(302) 233-2366 7(410) 548-1628
>
> 510 Naylor Mill Road, Salisbury, Maryland 21801
>
> www.MATECHSolutions.com <http://www.matechsolutions.com/>
>
> Description: Description: Description: Description: 
> cid:image001.png at 01CC792C.4D314BE0
>
> *From:*zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] *On 
> Behalf Of *Joshua F. Withrow
> *Sent:* Thursday, November 24, 2011 5:56 PM
> *To:* zendto at zend.to
> *Subject:* [ZendTo] Re: Upgraded from 3.9 - Login "broken"?
>
> I did indeed check that and it's correct... Now unless it's due to 
> daylight savings time. But the time is still reporting correctly. 
> That's why I am confused.
>
> /Connected by DROID on Verizon Wireless/
>
>
>
> -----Original message-----
>
> *From: *Jules <Jules at zend.to>*
> To: *ZendTo Users <zendto at zend.to>*
> Sent: *Thu, Nov 24, 2011 09:51:23 GMT+00:00*
> Subject: *[ZendTo] Re: Upgraded from 3.9 - Login "broken"?
>
> Have you set the timezone correctly on your server? That's the most
> common cause of this issue, the session tokens expire before they were
> created if you are in the wrong bit of the world and haven't set the
> timezone correctly. I believe I documented how to change it at
> http://zend.to/timezone.php
>
> Try there for help.
>
> Jules.
>
> On 24/11/2011 07:51, --[ UxBoD ]-- wrote:
> > You could add an echo statement into dropoff.php in the section:
> >
> >        if ($authExpiry<  time()) {
> >          $theDropbox->SetupPage();
> >          
> NSSError($smarty->getConfigVariable('ErrorSessionExpired'),"Session 
> Expired");
> >          $smarty->display('new_dropoff.tpl');
> >          exit;
> >        }
> >      }
> >
> > just before the $smart->display to see whether it is indeed hitting 
> that piece of code.
>
> Jules
>
> -- 
> Julian Field MEng CITP CEng
> www.Zend.To <http://www.Zend.To>
>
> Follow me at twitter.com/JulesFM
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>
> 'It's okay to live without all the answers' - Charlie Eppes, 2011
> 'All programs have a desire to be useful' - Tron, 1982
> 'That is the land of lost content,
>   I see it shining plain,
>   The happy highways where I went,
>   And cannot come again.' - A.E. Houseman
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to <mailto:ZendTo at zend.to>
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>
> ------------------------------------------------------------------------
>
> This message is the property of MATECH Solutions (MATECH) and the 
> Information contained herein may be/is subject to the Code of Federal 
> Regulations Chapter 22 International Traffic in Arms Regulations 
> (ITAR). This data may not be resold, diverted, transferred, 
> transshipped, made available to a foreign national within the United 
> States, or otherwise disposed of in any other country outside of its 
> intended destination, either in original form or after being 
> incorporated through an intermediate process into other data without 
> the prior written approval of the US Department of State. The 
> information in this e-mail and subsequent attachments may contain 
> legally privileged, proprietary and/or confidential information that 
> is intended only for the use of the addressee(s).
> No addressee should forward, print, copy or otherwise reproduce this 
> message in any manner that would allow it to be viewed by any 
> individual not originally listed as the recipient. If you are not the 
> intended recipient, you are hereby notified that any disclosure, 
> copying, distribution, retention or use of the contents of this e-mail 
> information is prohibited. If you have received this communication in 
> error, please immediately notify the sender by telephone or return 
> e-mail and delete this e-mail. Thank You.
>
> ------------------------------------------------------------------------
>
> This message is the property of MATECH Solutions (MATECH) and the 
> Information contained herein may be/is subject to the Code of Federal 
> Regulations Chapter 22 International Traffic in Arms Regulations 
> (ITAR). This data may not be resold, diverted, transferred, 
> transshipped, made available to a foreign national within the United 
> States, or otherwise disposed of in any other country outside of its 
> intended destination, either in original form or after being 
> incorporated through an intermediate process into other data without 
> the prior written approval of the US Department of State. The 
> information in this e-mail and subsequent attachments may contain 
> legally privileged, proprietary and/or confidential information that 
> is intended only for the use of the addressee(s).
> No addressee should forward, print, copy or otherwise reproduce this 
> message in any manner that would allow it to be viewed by any 
> individual not originally listed as the recipient. If you are not the 
> intended recipient, you are hereby notified that any disclosure, 
> copying, distribution, retention or use of the contents of this e-mail 
> information is prohibited. If you have received this communication in 
> error, please immediately notify the sender by telephone or return 
> e-mail and delete this e-mail. Thank You.
>
>
> ------------------------------------------------------------------------
> This message is the property of MATECH Solutions (MATECH) and the 
> Information contained herein may be/is subject to the Code of Federal 
> Regulations Chapter 22 International Traffic in Arms Regulations 
> (ITAR). This data may not be resold, diverted, transferred, 
> transshipped, made available to a foreign national within the United 
> States, or otherwise disposed of in any other country outside of its 
> intended destination, either in original form or after being 
> incorporated through an intermediate process into other data without 
> the prior written approval of the US Department of State. The 
> information in this e-mail and subsequent attachments may contain 
> legally privileged, proprietary and/or confidential information that 
> is intended only for the use of the addressee(s).
> No addressee should forward, print, copy or otherwise reproduce this 
> message in any manner that would allow it to be viewed by any 
> individual not originally listed as the recipient. If you are not the 
> intended recipient, you are hereby notified that any disclosure, 
> copying, distribution, retention or use of the contents of this e-mail 
> information is prohibited. If you have received this communication in 
> error, please immediately notify the sender by telephone or return 
> e-mail and delete this e-mail. Thank You.
>
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto

Jules

-- 
Julian Field MEng CITP CEng
www.Zend.To

Follow me at twitter.com/JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

'It's okay to live without all the answers' - Charlie Eppes, 2011
'All programs have a desire to be useful' - Tron, 1982
'That is the land of lost content,
  I see it shining plain,
  The happy highways where I went,
  And cannot come again.' - A.E. Houseman

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20111128/61dcc177/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 1772 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20111128/61dcc177/attachment-0001.png 


More information about the ZendTo mailing list