xoops forums

Marco

Home away from home
Posted on: 2005/8/18 11:00
Marco
Marco (Show more)
Home away from home
Posts: 1256
Since: 2004/3/15
#1

Xoops and PHP4.4

Hello,

@ XOOPS french support, we have more and more users reporting warning/errors under PHP4.4 (released July, 11). All version of XOOPS are impacted (problem with references)
I don't know when all ISP will upgrade to this version, but what can we answer to these users about that. Is core task heavy on this ? Deadline (I think asap)?
marco
Do synergy or die.

Mithrandir

XOOPS is my life!
Posted on: 2005/8/18 11:04
Mithrandir
Mithrandir (Show more)
XOOPS is my life!
Posts: 6320
Since: 2003/6/21
#2

Re: Xoops and PHP4.4

We are working on it - we all want it asap, but it is not something that keeps me awake at nights.

Don't forget to request the same from module developers.
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software

Marco

Home away from home
Posted on: 2005/8/18 11:14
Marco
Marco (Show more)
Home away from home
Posts: 1256
Since: 2004/3/15
#3

Re: Xoops and PHP4.4

Quote:

Mithrandir wrote:
We are working on it - we all want it asap, but it is not something that keeps me awake at nights.

ok, it was just to be sure you are on that.

Quote:

Don't forget to request the same from module developers.

already done. And task is not as easy...hope several of them are aware about that...perhaps make a post @dev.xoops.org will warn/involve everyone ???

thanks for info

marco
Do synergy or die.

Society

Not too shy to talk
Posted on: 2005/8/18 11:26
Society
Society (Show more)
Not too shy to talk
Posts: 178
Since: 2002/1/10
#4

Re: Xoops and PHP4.4

I got php 4.4.0 and XOOPS 2.2.2 i get no errors or warnings.

Marco

Home away from home
Posted on: 2005/8/19 8:28
Marco
Marco (Show more)
Home away from home
Posts: 1256
Since: 2004/3/15
#5

Re: Xoops and PHP4.4

Quote:

but it is not something that keeps me awake at nights.

false !
nianiania

marco
Do synergy or die.

hervet

Friend of XOOPS
Posted on: 2005/8/19 16:59
hervet
hervet (Show more)
Friend of XOOPS
Posts: 2267
Since: 2003/11/4
#6

Re: Xoops and PHP4.4

Marco,

You seems to forget that there is a copyright on nia nia nia !

Triple buse.

Hervé

pcracer

Just popping in
Posted on: 2005/8/27 5:20
pcracer
pcracer (Show more)
Just popping in
Posts: 31
Since: 2003/10/23
#7

Re: Xoops and PHP4.4

well i'm not sure what's happening, but my theory is my isp has recently upgraded to 4.4.0 too...

all of a sudden all my XOOPS sites on their servers started giving me the following [+ many more] php notice errors:

Notice: Only variables should be assigned by reference in /home/mysite/public_html/site/kernel/block.php on line 228

Notice: Only variables should be assigned by reference in /home/mysite/public_html/site/kernel/object.php on line 350

here is the extended list of the
php errors i'm getting. [they seem to be the same errors on all sites]

the strange thing is all my 2.0.13.1 sites will work w/php debug off, but the 2.2.3 will not work [blank pages after login] unless one of the debugs [any] are turned on!

i've even uploaded a fresh new test site of each version w/the bare minimum default modules & still get the errors!

server stats
php = 4.4.0
mysql = 4.1.13-standard
apache = 1.3.33 (Unix)

i can pm a link to the devs of my phpinfo file thats uploaded to the server, if anyone needs to take a peak @ that too [not sure if i should post it?]

any ideas? i'm lost!
If Everything Seems Under Control...You're Not Going Fast Enough!

Vigor28

Just popping in
Posted on: 2005/8/27 8:33
Vigor28
Vigor28 (Show more)
Just popping in
Posts: 2
Since: 2005/2/28
#8

Re: Xoops and PHP4.4

Same HERE,

Regardless of full (new) installation or upgrade from 2.0.13.1 I have the same problems (exact php errors and blank pages) except my production system is:

IIS 5
php 4.4.0 (Zend: 1.3.0)
MySQL 4.0.25
Win2000AS
and testing system is:

Apache 2.x (Zend 2)
php 4.4.0
mysql 4.1.14

was thinking that Protector module is the problem, but it isn't cause I removed it completely before upgrade, and on new install there is no protector module at all.
There is also strange behaviour; site is working for a few minutes, and all of sudden blank pages with no errors!? (regardless anonymous or registered user)? Home page goes blank and stays that way until I clean cache and template folders and restart the host. (all the permissions are correct O.C.)

+ when upgrading from 2.0.13.1 to 2.2.2(3) I'm having a problem with wysywig editor (none of them are working). Have a spaw module installed (as a module) and working in the news module. When trying to switch to koiwi or any other in 2.2.2(3) none of them works!
This module is very important for me cause it is company site with many information only for registered users wich is maintain by our support people and they don't know html.

On clean install editors work (at least in news module)!

Spend 2 working weeks trying to upgrade and make it work stable but seeems to me that will wait some more time to switch to 2.2xx ver. and I'm afraid that this transition would have to be done as a clean install. Upgrade seems not to be working correctly (at least for systems module).

The biggest problem is in blocks handling. On clean install there are no blocks at all and have to be created. When upgraded from 2.0.13.1 (in my case) there are many errors. Some blocks simply can't be turned off!?!, and some wouldn't accept changes!?

pcracer

Just popping in
Posted on: 2005/8/27 14:34
pcracer
pcracer (Show more)
Just popping in
Posts: 31
Since: 2003/10/23
#9

Re: Xoops and PHP4.4

found this over @ php.net, concerning some issues w/4.4.0 & 3rd party scripts.

http://www.php.net/release_4_4_0.php

"As part of the solution for the reference bug, you are very likely to find that your own or third-party PHP scripts, considered 'clean' code under previous versions of PHP, will now throw an E_NOTICE when references are incorrectly used in the script. This is intended to alert developers to minor errors in their approach, and does not affect the script's performance in any other way."

php 4.4.0 changelog -
http://www.php.net/ChangeLog-4.php#4.4.0
If Everything Seems Under Control...You're Not Going Fast Enough!

mario

Just popping in
Posted on: 2005/9/4 17:45
mario
mario (Show more)
Just popping in
Posts: 48
Since: 2002/12/29
#10

Re: Xoops and PHP4.4

i am having the same variable problem and blank forum pages for some visitors