9
What I would do next is add some debug code into XOOPS to see what's going on.
class/uploader.php
function checkMaxWidth()
{
[color=ff0000]$getimagesize_result = getimagesize($this->mediaTmpName);#*#DEBUG#
var_dump('in checkMaxWidth', 'mediaTmpName', $this->mediaTmpName, 'maxWidth', $this->maxWidth, 'maxHeight', $this->maxHeight, 'getimagesize_result', $getimagesize_result);#*#DEBUG#[/color]
if (!isset($this->maxWidth)) {
You may also need to slow down the automatic redirection, to give you time to copy the diagnostic output:
include/functions.php
function redirect_header($url, $time = 3, $message = '', $addredirect = true)
{
[color=ff0000] $time = 600;#*#LONG_REDIRECT#[/color]
global $xoopsConfig, $xoopsRequestUri;
Make backups of those files before modifying them.
Then re-upload the 300x300 avatar in Xoops, copy the diagnostic output and post it here.