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
php 7.x and EDK (and ajax)
Re: EDK 4.2.30.0 (YC-119.3 1.0)
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
[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
php 7.x and EDK (and ajax)
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?
Re: php 7.x and EDK (and ajax)
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
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
Re: php 7.x and EDK (and ajax)
That's me! :p