PEAK XOOPS - upgrading to protector 2.55 in englishin japanese

upgrading to protector 2.55

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2006/3/4 2:02
satanas  一等兵   Posts: 14
Good day,

I've just a small question ( cosmetic ).

I've upgraded protector 2.54 to 2.55 and when going back to the modules, I sill see version 2.54

Any known issue about that..

Regards
Votes:1 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2006/3/4 4:01
GIJOE  先任軍曹   Posts: 4110
Check xoops_version.php in Protector.
If you find
$modversion['version'] = '2.55';
it is caused by a bug of core.

At least, the bug was fixed in 2.0.13jp by my report
Votes:1 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2006/3/9 19:05
danielh2o  二等兵   Posts: 3
Thx GIJOE,

I got same issue as the writer.
I upgraded the module successfully and double checked the file xoops_version.php is '2.55', but it shows '2.54' (PS: I never install 2.54 before)

2.0.13jp != 2.0.13.2 ?
Votes:1 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2006/3/10 4:17
GIJOE  先任軍曹   Posts: 4110
hi danielh2o.

I had reported it.
http://sourceforge.jp/tracker/index.php?func=detail&aid=6092&group_id=64&atid=325


line 89 in kernel/module.php

wrong:
$this->setVar('version', 100 * $this->modinfo['version']);

right:
$this->setVar('version', round(100 * $this->modinfo['version']));


Quote:
2.0.13jp != 2.0.13.2 ?
Yes. They are different each other.
Votes:2 Average:5.00
Previous post - Next post | Parent - No child | Posted on 2006/3/11 5:17
Dave_L  上等兵 From: Virginia, USA  Posts: 35
XOOPS 2.2.3 has:


$version = intval(100 * ($this->modinfo['version']+0.001));

I suppose that adding 0.001, multiplying and then truncating is equivalent to rounding.

When I upgraded from Protector 2.54 to 2.55, the new version (2.55) was correctly displayed.
Votes:1 Average:0.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!