1
Mamba
XOOPS 2.5.6 Alpha on PHP 5.4.5
  • 2012/8/6 8:00

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Recently we had some issues with a user trying to test XOOPS 2.5.5 on PHP 5.4:

https://xoops.org/modules/newbb/viewtopic.php?topic_id=75387

Because we can expect that more and more users will want to test XOOPS on PHP 5.4.x, and it will take a while before XOOPS 2.6.0 is available (it is planned for early next year), I thought, I'll try to see if we could update XOOPS 2.5.5 so it runs on PHP 5.4.x

Based on the errors coming from PHP 5.4.5, I've adjusted few methods to be defined as static, and right now it seems like XOOPS is running just fine. Of course, I didn't test it for any "side-effects" and other issues as I am not a Core expert. But I did notify the Core Team, so hopefully they will be able to review it.

If you want to try it yourself, please download it from XOOPS SVN.

Please note: this is unofficial, Alpha release for testing ONLY!

I am currently using it with Wampserver, where I am testing various XOOPS modules under PHP 5.3.15 and PHP 5.4.5. The nice thing is that I can now test all the modules using E_STRICT, which I couldn't do before, because XOOPS was throwing up all kind of errors related to "static" methods. Now everything seems to work fine, and we can see ALL PHP related errors and be able to fix them.

If you want the 64-bit versions of PHP for your Wampserver, you can download them from here, and then update your WampServer installation.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

2
DCrussader
Re: XOOPS 2.5.6 Alpha on PHP 5.4.5

During installation on PHP 5.4.4
Strict StandardsNon-static method MyTextSanitizer::getInstance() should not be called statically in C:xampphtdocsx256installincludefunctions.php on line 54

http://i49.tinypic.com/314t1qb.png

continues on the next screen
http://i45.tinypic.com/6qi0di.png

on admin creation screen
http://i49.tinypic.com/n9q3d.png
with long awaited and missing feature introduced in 2.2 and lately removed
Dispaly name:

Protector logo is missing (...and u know my wish already for the rest) :)

Session time is too short or even not present, for less then minute to make screenshot and link it here, got returns several steps behind.

In a bit will see Catz WF-Downloads on Blocks with Cyrillic only names, and Herve's news 1.6x_trabis.

No idea what for is this rush for 5.4, but XOOPS 2.5.6 (PHP5.4 Mamba) works slow as default clean installation on J! 2.5.6 on PHP 5.2, even slower.... yack with only 3 default modules, pm, profile and system.

Was forced to see it with 1.68 Beta of News, 1.66_trabis, 1.67 ended with blank page and nothing on the popup (debugger).

Strange, 2.5.6 Alpha don't truncate names with ?? when there is a limit for the title - displayed chars, like 2.5.4, same is for WF-Downloads 3.20_Marcan_RC2.

Does this XOOPS xoops-2.5.5-20120718.zip (http://sourceforge.net/projects/xoops/files/XOOPS%20Core%20%28stable%20releases%29/XOOPS_2.5.5/xoops-2.5.5-20120718.zip/download) is something newer or ?
And what for is not announced ?

And one funny bug which probably exist and in current 2.5.5 distribution :)
http://i50.tinypic.com/314z034.png
2 Preferences in Legacy theme on system module:)

3
MACTEP
Re: XOOPS 2.5.6 Alpha on PHP 5.4.5
  • 2012/8/11 13:58

  • MACTEP

  • Not too shy to talk

  • Posts: 127

  • Since: 2009/4/4 5


server: Open Server
PHP:5.4.5
MySQL-5.5.27

XOOPS 2.5.6
News 2.67

OK!

Resized Image

4
Mamba
Re: XOOPS 2.5.6 Alpha on PHP 5.4.5
  • 2012/8/11 15:24

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


DCrusader and Mastep: thank you for testing!

@ DCrusader:

* I just fixed the Installer, and it seems to work fine here. If you could run it again and see if the issue is fixed, I would appreciate it.

* Missing Protector logo: Confirmed. I'll look into it.

* There is no rush to PHP 5.4, but having XOOPS 2.5.x installing and working on PHP 5.4 will help module developers to test their modules under E_STRICT and fix any potential PHP 5.4 errors, which will be a good preparation for XOOPS 2.6.0.

* XOOPS xoops-2.5.5-20120718.zip: it's a normal XOOPS 2.5.5, but Cesag added few icons there. I'll rename it to the standard XOOPS 2.5.5, so there is no confusion.

* two Preferences in Legacy: the first one is the normal one, the second one should be: "System Module Settings", but I am not sure why Legacy is pulling the string for "Preferences". I hope, you're the only one who is still using "Legacy"

Once again, thanks for testing!
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

5
DCrussader
Re: XOOPS 2.5.6 Alpha on PHP 5.4.5

Fix it or remove Legacy :)
But in fact - legacy only works without problems in any browser, even Links

6
Mamba
Re: XOOPS 2.5.6 Alpha on PHP 5.4.5
  • 2012/8/11 16:59

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Quote:
Fix it or remove Legacy

Legacy is gone in XOOPS 2.6.0
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

7
DCrussader
Re: XOOPS 2.5.6 Alpha on PHP 5.4.5

Yay so bad.... will wait for another better gui then current 2 options. Something clean like Mission Control by http://www.rockettheme.com. How will administrate XOOPS with current 2 options ? Or you're planing to release with 3rd new and better option ?

8
Mamba
Re: XOOPS 2.5.6 Alpha on PHP 5.4.5
  • 2012/8/11 17:22

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Quote:
Or you're planing to release with 3rd new and better option ?

Did you install XOOPS 2.6.0 Pre-Alpha? You'll see there the current design of the Admin GUI.

The official Alpha 1 will be released within a week or two, and we hope to get feedback and improvement suggestions.

Right now the plan is to have only one Admin GUI, but we hope that XOOPS designers will offer alternatives, so people can find what they like and use it.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

9
DCrussader
Re: XOOPS 2.5.6 Alpha on PHP 5.4.5

Will see it once is released... until then 2.5.6 and modules

10
redheadedrod
Re: XOOPS 2.5.6 Alpha on PHP 5.4.5

If you are running PHP 5.4 can you see if the old MySQL extension is Depreciated?

I have seen documentation that says 5.4 Depreciates MySQL extension and 5.5 will remove it altogether. But then other stuff that say's it will be a while longer.

The MySQLi extension I uploaded SHOULD be able to replace the old MySQL extension directly. I tested it locally and it SHOULD work..

But again, any replacement for the old MySQL extension will break any modules that use some of the Xoops API for the Database but use MySQL specific functions as well. Plus if anyone decides to use something different than MySQL it will likely break any module that doesn't use %100 Xoops API to access the database.






Login

Who's Online

243 user(s) are online (144 user(s) are browsing Support Forums)


Members: 0


Guests: 243


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