Etomite Community Forums: cant log in any more - function deprecated in php 5 - Etomite Community Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

cant log in any more - function deprecated in php 5

#1 User is offline   vampke2 

  • Etomite Forum Newbie
  • Group: Member
  • Posts: 22
  • Joined: 01-January 09

Posted 10 February 2010 - 09:35 AM

Hi guys,

My hoster (one.com) recently upgraded to the latest php release.
Since this I cannot seem to log into my etomite manager anymore.
I think I isntalled version 0.6.x but I'm not entirely sure (I cannot check since I cannot log in...)
I can see the mogin screen, after login in, I just get an error message:

Quote

Deprecated: Assigning the return value of new by reference is deprecated in /folderfolderfolder/manager/includes/browsercheck.inc.php on line 15


anyone else seen this?
How can I solve this?

This post has been edited by vampke2: 10 February 2010 - 09:35 AM


#2 User is offline   Cris D. 

  • Loves Etomite Forums!
  • PipPipPipPip
  • Group: Member
  • Posts: 1,076
  • Joined: 10-August 06
  • Gender:Not Telling

Posted 10 February 2010 - 10:54 AM

View Postvampke2, on 10 February 2010 - 09:35 AM, said:

Hi guys,

My hoster (one.com) recently upgraded to the latest php release.
Since this I cannot seem to log into my etomite manager anymore.
I think I isntalled version 0.6.x but I'm not entirely sure (I cannot check since I cannot log in...)
I can see the mogin screen, after login in, I just get an error message:



anyone else seen this?
How can I solve this?

You have to remove the & (value by reference which is not allowed on objects in php5) before the variable on line 15.

change
$client =& new phpSniff($GET_VARS['UA'],$sniffer_settings);
to
$client = new phpSniff($GET_VARS['UA'],$sniffer_settings);


This and several other php 5 bugs are listed in a topic somewhere in this forum but I couldn't find it.

#3 User is offline   vampke2 

  • Etomite Forum Newbie
  • Group: Member
  • Posts: 22
  • Joined: 01-January 09

Posted 10 February 2010 - 12:06 PM

View PostCris D., on 10 February 2010 - 10:54 AM, said:

You have to remove the & (value by reference which is not allowed on objects in php5) before the variable on line 15.

change
$client =& new phpSniff($GET_VARS['UA'],$sniffer_settings);
to
$client = new phpSniff($GET_VARS['UA'],$sniffer_settings);


This and several other php 5 bugs are listed in a topic somewhere in this forum but I couldn't find it.


thanks Chris, this allowed me to log in.
I noticed I'm still at eto 0.6.1.3 Does the latest release also has this problem?

#4 User is offline   Ralph 

  • Etomite Administrator
  • Group: Admin
  • Posts: 6,418
  • Joined: 01-July 04
  • Gender:Male
  • Location:Jamestown, NY USA
  • Interests:Computers, Camping, Hiking, Aviation

Posted 10 February 2010 - 03:56 PM

I have been trying to get v1.2 completed and released as it will resolve all PHP deprecation issues... It would be done already if I hadn't accidentally deleted my dev copy from my WAMP server which has all of the newest software packages...

#5 User is offline   vampke2 

  • Etomite Forum Newbie
  • Group: Member
  • Posts: 22
  • Joined: 01-January 09

Posted 10 February 2010 - 08:52 PM

ouch, that had to hurt!
what else will be new?
Multilanguage support is a feature that is high on my wishlist (in case you would care...)

#6 User is offline   Ralph 

  • Etomite Administrator
  • Group: Admin
  • Posts: 6,418
  • Joined: 01-July 04
  • Gender:Male
  • Location:Jamestown, NY USA
  • Interests:Computers, Camping, Hiking, Aviation

Posted 11 February 2010 - 12:19 AM

View Postvampke2, on 10 February 2010 - 08:52 PM, said:

ouch, that had to hurt!
what else will be new?
Multilanguage support is a feature that is high on my wishlist (in case you would care...)


Yeah, it hurt, but not too bad... Not unless I've forgotten some of what I've fixed...

Being as this will only be a patch release it won't include any major features, just, well, bug fixes... Oh, yeah, and full recursive parsing...

#7 User is offline   vampke2 

  • Etomite Forum Newbie
  • Group: Member
  • Posts: 22
  • Joined: 01-January 09

Posted 11 February 2010 - 09:21 AM

View PostRalph, on 11 February 2010 - 12:19 AM, said:

Yeah, it hurt, but not too bad... Not unless I've forgotten some of what I've fixed...

Being as this will only be a patch release it won't include any major features, just, well, bug fixes... Oh, yeah, and full recursive parsing...


"So Ralph!
How about that multilanguage support!"
/breezy_tone
;)
Seriously: I remember a rather old post somewhere around here where you announced that this would be available in the "near future".
Any news on this?
I still haven't found a proper solution for multilanguage sites using etomite.
I noticed that this question has been asked many times but is always answered with "this question has been asked many times, please search the forum". I did but this was the only answer I came up with!

The best way I think is to have multiple installations in different directories. This however will not allow a direct link to the translated page, since the pagename may differ in a different language.

From an SEO point of view the solution with "en_page.html" and "fr_page.html" does not seem the best and does not allow different pagenames for different languages. Ideally, the url would be like site.tld/en/my_page.html and site.tld/fr/ma_page.html.
Possibly this could be achieved using .htaccess magic

I would love to hear other/specialist opinions on the matter.

#8 User is offline   Ralph 

  • Etomite Administrator
  • Group: Admin
  • Posts: 6,418
  • Joined: 01-July 04
  • Gender:Male
  • Location:Jamestown, NY USA
  • Interests:Computers, Camping, Hiking, Aviation

Posted 11 February 2010 - 02:10 PM

Multi-Language won't be incorporated into the Prelude code base as v1.2 is pretty much the end of the road as far as my maintaining it as it's getting pretty old by todays standards, with PHP 5.3.x compatibility as a prime example... Aside from that it is also distracts me from working on the new code base which I have restarted from scratch several times already... To be honest, maintenance was suppose to have ended back at v1.0, but I'm a glutton for punishment...

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users