1
lanemon
Upgrade 2.0.18.1 to 2.3.3 error
  • 2009/3/21 17:19

  • lanemon

  • Just popping in

  • Posts: 15

  • Since: 2007/10/10


Hi im trying to upgrade my site from 2.0.18.1 to 2.3.3.

Im tryng this at localhost first. So i ve the old database runing, copied a fresh copy of 2.3.3.

Then i runned the upgrade program, and i get this error two times

Notice: Undefined offset: 5 in file /class/logger/render.php line 70
Notice: Undefined offset: 5 in file /class/logger/render.php line 70

If i continue to upgrade, i can finish with no problems. And the page seems to work fine.

So my question is: What does this error means? and what should i do to fix it?

Thnx to u all.

2
zyspec
Re: Upgrade 2.0.18.1 to 2.3.3 error
  • 2009/3/21 18:11

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


The error really doesn't really effect the installation. This section of code is trying to determine the amount of memory required by the install task but it looks to me like there's a bug. The current code is:
$memory substr$out[5], strpos$out[5], ':') + 1) . ' [Estimated]';

but I think it should be:
$memory substr$out[4], strpos$out[4], ':') + 1) . ' [Estimated]';


the 'Mem Usage:' attribute is the 5th element which is index 4, not 5.

3
lanemon
Re: Upgrade 2.0.18.1 to 2.3.3 error
  • 2009/3/21 19:06

  • lanemon

  • Just popping in

  • Posts: 15

  • Since: 2007/10/10


I tried changing the code, but im getting the same error but with a 4

Notice: Undefined offset: 4 in file /class/logger/render.php line 70
Notice: Undefined offset: 4 in file /class/logger/render.php line 70

I also tried several differnt numbers and i always get the same error.

??

thnx

4
zyspec
Re: Upgrade 2.0.18.1 to 2.3.3 error
  • 2009/3/21 21:18

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


Interesting... I assume you're running Windows (since that's the only way it should get to this code).

Try this:
1) Click Windows Start > Run
2) type 'cmd' and
3) in the "DOS" box type 'tasklist /FO LIST'
4) You should get a list of the tasks and information like 'Image Name', 'PID', 'Session Name', 'Session#' and 'Mem Usage'

If tasklist.exe can't be found then you'd get error message something like "'tasklist' is not recognized as an internal or external command..."

Login

Who's Online

335 user(s) are online (220 user(s) are browsing Support Forums)


Members: 0


Guests: 335


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits