php 7.x and EDK (and ajax)

Please report bugs here, please be very detailed in your bug reports. If you've come up with some code to fix the bug, please post it here.
Post Reply
User avatar
edp
Someday Author
Posts: 93
Joined: Fri Sep 25, 2009 19:10

Re: EDK 4.2.30.0 (YC-119.3 1.0)

Post by edp » Thu May 18, 2017 17:27

I have upgraded by server to Fedora 25/26 and a LOT broke. There are many warnings about deprecation of PHP calls in ship display tool, which I would hope will be kept up to date, but the one that's in the core code that won't work is tied to ajax. I get the following:

"Fatal error: Uncaught Error: Using $this when not in object context in /var/www/xxx.xxx/kb/common/xajax/xajax.php:47 Stack trace: #0 /var/www/xxx.xxx/kb/common/includes/class.event.php(71): edk_xajax::lateProcess('') #1 /var/www/xxx.xxx/kb/common/index.php(236): event::call('mods_initialise...', '') #2 /var/www/xxx.xxx/kb/index.php(25): include('/var/www/xxx.xxx...') #3 {main} thrown in /var/www/xxx.xxx/kb/common/xajax/xajax.php on line 47

Thoughts? PHP 7.1.5 and apache 2.4.25

User avatar
edp
Someday Author
Posts: 93
Joined: Fri Sep 25, 2009 19:10

Re: EDK 4.2.30.0 (YC-119.3 1.0)

Post by edp » Fri May 19, 2017 03:10

More log data. This complements the message I got above....

[Thu May 18 21:08:20.806614 2017] [php7:error] [pid 21692] [client xxx.xxx.xxx.xxx] PHP Fatal error: Uncaught Error: Using $this when not in object context in /var/www/xxx.com/kb/common/xajax/xajax.php:47\nStack trace:\n#0 /var/www/xxx.com/kb/common/includes/class.event.php(71): edk_xajax::lateProcess('')\n#1 /var/www/xxx.com/kb/common/index.php(236): event::call('mods_initialise...', '')\n#2 /var/www/xxx.com/kb/index.php(25): include('/var/www/xxx.com')\n#3 {main}\n thrown in /var/www/xxx.com/kb/common/xajax/xajax.php on line 47

User avatar
edp
Someday Author
Posts: 93
Joined: Fri Sep 25, 2009 19:10

php 7.x and EDK (and ajax)

Post by edp » Fri May 19, 2017 03:39

I have moved to Fedora 25/26, and it appears PHP7 will break quite a few things. I looked into it a bit, and it seems to center around xajax. When I did some googling, it looks like xajax is a very old and sporadically supported product that has luckily managed to live through the various iterations of PHP. PHP7 seems to have surpassed it, and I wonder if a good chunk of EDK relies on it, if it will mean trouble for this great killboard package. I am not a programmer by any means, so I'm at the mercy of the skill set of you guys. Has anyone else seen this issue yet?

User avatar
Salvoxia
Developer
Posts: 1431
Joined: Wed Feb 22, 2012 12:11

Re: php 7.x and EDK (and ajax)

Post by Salvoxia » Fri May 19, 2017 14:36

Hi,

I took the liberty of moving your error log posts into this thread.
I guess you are the same person who posted that issue at Github, so it will refer you to my answer there: https://github.com/evekb/evedev-kb/issues/80

Best Regards,
Salvoxia

User avatar
edp
Someday Author
Posts: 93
Joined: Fri Sep 25, 2009 19:10

Re: php 7.x and EDK (and ajax)

Post by edp » Tue Jun 06, 2017 17:10

That's me! :p

Post Reply

Return to “Bug Reporting”

Who is online

Users browsing this forum: No registered users and 5 guests