collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18363
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: passed by reference error on Ubuntu 5.10  (Read 5353 times)

0 Members and 1 Guest are viewing this topic.

Offline Evereane

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
passed by reference error on Ubuntu 5.10
« Reply #15 on: December 02, 2005, 07:40:29 pm »
I had similar issues with 5.0.5 because of changes done to the release of 5.0.5. A possible way to fix the errors: http://bebot.fieses.net/viewtopic.php?p=1094#1094

<disclaimer>
Please remember to backup any files before modifying them. Results arnt guarenteed, use at your own risk.
</disclaimer>

hth

-Eve

Offline Heffalomp

  • BeBot Apprentice
  • ***
  • Posts: 80
  • Karma: +0/-0
Re: passed by reference error on Ubuntu 5.10
« Reply #16 on: December 16, 2005, 09:20:53 am »
Got past my first errors, did a clean install of ubuntu 5.10 as it seems it got some problems upgrading from 5.04 to 5.10

but now I get a nother error.

Code: [Select]
[2005-12-16 08:12:43]   [LOGIN] [STATUS]        Authenticateing
[2005-12-16 08:12:50]   [LOGIN] [RESULT]        Error
[2005-12-16 08:12:50]   [LOGIN] [STATUS]        Logging in
AOChat: not expecting login.

Username/pwd/char/dimension is correctly enterd in Bot.conf, both Case and spelling wise.

I am using latest version downloaded with subversion/svn

Running PHP4 v4.4.0-3
« Last Edit: December 16, 2005, 10:13:28 am by johskar »
"Ubuntu" is an ancient African word, meaning "I can't configure Slackware"

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: passed by reference error on Ubuntu 5.10
« Reply #17 on: December 16, 2005, 11:36:32 am »
Quick guess, 64bit processor?

If so, i belive there are some threads on the Hackersquest forum on it. Im not sure if there are any solutions to this problem atm.
BeBot Founder and Fixer Kingpin

Offline Heffalomp

  • BeBot Apprentice
  • ***
  • Posts: 80
  • Karma: +0/-0
Re: passed by reference error on Ubuntu 5.10
« Reply #18 on: December 16, 2005, 11:55:06 am »
Quick guess, 64bit processor?

No, 2xCeleron 500MHz
"Ubuntu" is an ancient African word, meaning "I can't configure Slackware"

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: passed by reference error on Ubuntu 5.10
« Reply #19 on: December 16, 2005, 11:59:16 am »
Very odd.

*is at a loss on this one*
BeBot Founder and Fixer Kingpin

Offline Heffalomp

  • BeBot Apprentice
  • ***
  • Posts: 80
  • Karma: +0/-0
Re: passed by reference error on Ubuntu 5.10
« Reply #20 on: December 16, 2005, 12:12:24 pm »
I find this werry strange as it runs most things I throw at it perfectly...
"Ubuntu" is an ancient African word, meaning "I can't configure Slackware"

Offline Glarawyn

  • BeBot Hero
  • ******
  • Posts: 521
  • Karma: +0/-0
Re: passed by reference error on Ubuntu 5.10
« Reply #21 on: February 06, 2006, 07:54:31 am »
The error seems to be in start.php on 0.2.1. I replaced start.php with the start.php from 0.2.2 and the error went away.

Offline Heffalomp

  • BeBot Apprentice
  • ***
  • Posts: 80
  • Karma: +0/-0
Re: passed by reference error on Ubuntu 5.10
« Reply #22 on: February 06, 2006, 02:36:31 pm »
The error seems to be in start.php on 0.2.1. I replaced start.php with the start.php from 0.2.2 and the error went away.
Well.. I am using SVN release 0.3.1 so I don't think that is the problem, but woun't say that for certain.
have the problem with 0.2.2, 0.3.0 and 0.3.1. thou I run 0.3.1 flawlessly in windows, but I would much more like to have it running on my linux server as I do not like to have my workstation online 24/7, and I tend to restart it a lot.
"Ubuntu" is an ancient African word, meaning "I can't configure Slackware"

Offline Glarawyn

  • BeBot Hero
  • ******
  • Posts: 521
  • Karma: +0/-0
Re: passed by reference error on Ubuntu 5.10
« Reply #23 on: February 06, 2006, 07:59:52 pm »
Oh, forgot. I've pinned the PHP4 packages from Warty on my Breezy install.

Edit /etc/apt/preferences.

Code: [Select]
Explanation: see http://www.argon.org/~roderick/apt-pinning.html
Package: *
Pin: release a=hoary
Pin-Priority: 400

Package: *
Pin: release a=breezy
Pin-Priority: 900

Package: php4
Pin: version 4:4.3.10-10ubuntu4*
Pin-Priority: 1001

Package: php4-cgi
Pin: version 4:4.3.10-10ubuntu4*
Pin-Priority: 1001

Package: php4-cli
Pin: version 4:4.3.10-10ubuntu4*
Pin-Priority: 1001

Package: php4-common
Pin: version 4:4.3.10-10ubuntu4*
Pin-Priority: 1001

Package: php4-gd
Pin: version 4:4.3.10-10ubuntu3*
Pin-Priority: 1001

Package: php4-mhash
Pin: version 4:4.3.10-10ubuntu3*
Pin-Priority: 1001

Package: php4-mysql
Pin: version 4:4.3.10-10ubuntu3*
Pin-Priority: 1001

Package: php4-pear
Pin: version 4:4.3.10-10ubuntu3*
Pin-Priority: 1001

Package: php4-universe-common
Pin: version 4:4.3.10-10ubuntu3*
Pin-Priority: 1001

Package: php4-mcrypt
Pin: version 3:4.2.3-10
Pin-Priority: 1001

Package: php4-gd
Pin: version 4:4.3.10-10ubuntu3*
Pin-Priority: 1001

Make sure the Hoary sources are in /etc/apt/sources.list

Code: [Select]
### Hoary Binary Pacakges
deb http://us.archive.ubuntu.com/ubuntu hoary main restricted
deb http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted
deb http://security.ubuntu.com/ubuntu hoary-security main restricted

### Hoary Source Pacakges
deb-src http://us.archive.ubuntu.com/ubuntu hoary main restricted
deb-src http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted
deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted

Remove your PHP4 installation, then do:
apt-get -t hoary install php4-cli php4-common php4-gd php4-mcrypt php4-mhash php4-mysql php4-pear php4-sqlite php4-universe-common

(Obviously you don't need all those modules, but I just did a copy/paste on what I had installed.)

Now Ubuntu should install the PHP4 packages from Hoary instead of Breezy. These packages may lack security updates found in Breezy. Because of security, I use libapache2-mod-php5 from Breezy for all my web hosting now. I only use php4 to run AO Bots.

 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 413
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal