Blank manager with undefined message

I hear your frustration and that of your customers. I truly do.

Maybe if we could focus on a single case and a single site that has more problems than others for a particular customer we could get to the bottom of that one and go from there. We have had great success on my team in debugging sites and issues like this over the years. And, if we can do it in this forum, it can lead others to potentially find clues as to what’s causing things for them and/or their customers.

Is there a public URL we could glance at to see if there are any front-end clues to start?

Yes, thanks for thinking along. I appreciate it.
I’d rather not give any public URL’s here. I instructed one of my clients, who is experiencing this issue lately, how to retrieve the error message from the dev tools. I hope I can give more details soon.

1 Like

I’m still not clear on what’s happening.

Are people looking at a completely blank page with and “undefined” message, or is any part of the Manager visible (and if so, what’s visible)?

Is the error message in a popup box?

Does it happen just at login, or does it also happen later?

Is there anything in the MODX error log that could be relevant?

HI there, The only time I’ve seen this kind of behavior was related to an issue with a load balancer that the client had in front of the site, I never got to understand who he was “replicating” the site, but in some cases, the balancer sent the user was sent to the “replicated” site, and there was basically nothing there.

Start by checking your http log to see if the request did actually got to the server, and from there check error logs, both server level, and modx level, y no luck, try increasing the error level for php and modx itself.

Modx itself is pretty simple, it’s just a PHP file, that gets your request, and responds accordingly, nothing fancy, and its pretty robust and faill proff as itself, having said that, sadly, due the PHPeir nature of MODx, you can have some crazy implementations that could be causing unwanted behaviors on your site

MODX does offer logs. If you can not log into the manager, then grab the file from core\cache\logs folder. Also, my first thought is that your issue is a javascript issue, such as jQuery not being loaded, but yet it is called. As your issue, appears to be on the front end, it is highly unlikely it is a MODX issue. You can also reinstall MODX over itself to clean it and correct any corruption, but my first thought is it is a JS error.

Yes, blank manager with ‘undefined’ message. The infamous issue that has been around for years.

Sorry, MODX might be ‘pretty simple’, but I’ve experienced dozens of issues over the past few years, while the sites I build are pretty standard. I have been using MODX for 10 years now or so. On many websites.
I’m not a developer, and it sometimes feels like I need to to fully understand how MODX works, how to solve things, how to answer questions in the forum. That’s actually not what I expect from a CMS as a frontender.
MODX does not feel solid at all to me. It has even made me go to Wordpress at the moment; which has a better way of understanding, support, bug fixes, etc.
But I’m still enthousiastic about what MODX is in the core.

This is the latest form the error log. I’m not sure what I am posting here:

Error messages disabled.

edit phpThumb.config.php and (temporarily) set
$PHPTHUMB_CONFIG['disable_debug'] = false;
to view the details of this error in file "phpthumb.class.php" on line 4197
    [45] => SourceImageToGD() failed in file "phpthumb.class.php" on line 378
)

[2021-03-15 19:07:28] (ERROR in xPDO::getService @ /var/www/vhosts/website.nl/httpdocs/core/xpdo/xpdo.class.php : 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-03-15 19:07:28] (ERROR in modRestCurlClient::__construct @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-03-15 19:21:08] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/xpdo/om/xpdoobject.class.php : 240) Error 42000 executing statement: 
Array
(
    [0] => 42000
    [1] => 1064
    [2] => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':a447:8067:1:704e:f912:543c:b1b6 BETWEEN `rptBan`.`ip_low1` AND `rptBan`.`ip_hig' at line 1
)

[2021-03-15 19:21:08] (ERROR in xPDO::getService @ /var/www/vhosts/website.nl/httpdocs/core/xpdo/xpdo.class.php : 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-03-15 19:21:08] (ERROR in modRestCurlClient::__construct @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-03-16 06:27:10] (ERROR in xPDO::getService @ /var/www/vhosts/website.nl/httpdocs/core/xpdo/xpdo.class.php : 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-03-16 06:27:10] (ERROR in modRestCurlClient::__construct @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-03-16 10:26:51] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/sources/modfilemediasource.class.php : 282) Thumbnail could not be created for file: /var/www/vhosts/website.nl/httpdocs/120/_thumbs/normaal_58_outdoor_adventure_robin_hood_4.jpg
[2021-03-16 10:26:51] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/sources/modfilemediasource.class.php : 282) Thumbnail could not be created for file: /var/www/vhosts/website.nl/httpdocs/120/_thumbs/vierkant_56_outdoor_adventure_robin_hood_2.jpg
[2021-03-16 10:26:51] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/sources/modfilemediasource.class.php : 282) Thumbnail could not be created for file: /var/www/vhosts/website.nl/httpdocs/120/_thumbs/normaal_55_outdoor_adventure_robin_hood_1.jpg
[2021-03-16 10:26:51] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/sources/modfilemediasource.class.php : 282) Thumbnail could not be created for file: /var/www/vhosts/website.nl/httpdocs/120/_thumbs/normaal_56_outdoor_adventure_robin_hood_2.jpg
[2021-03-16 10:26:51] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/sources/modfilemediasource.class.php : 282) Thumbnail could not be created for file: /var/www/vhosts/website.nl/httpdocs/120/_thumbs/vierkant_58_outdoor_adventure_robin_hood_4.jpg
[2021-03-16 10:26:51] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/sources/modfilemediasource.class.php : 282) Thumbnail could not be created for file: /var/www/vhosts/website.nl/httpdocs/120/_thumbs/vierkant_57_outdoor_adventure_robin_hood_3.jpg
[2021-03-16 10:26:51] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/sources/modfilemediasource.class.php : 282) Thumbnail could not be created for file: /var/www/vhosts/website.nl/httpdocs/120/_thumbs/vierkant_316_63_outdoor_adventure_handboogschieten_2.jpg
[2021-03-16 10:26:51] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/sources/modfilemediasource.class.php : 282) Thumbnail could not be created for file: /var/www/vhosts/website.nl/httpdocs/120/_thumbs/vierkant_55_outdoor_adventure_robin_hood_1.jpg
[2021-03-16 10:26:51] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/sources/modfilemediasource.class.php : 282) Thumbnail could not be created for file: /var/www/vhosts/website.nl/httpdocs/120/_thumbs/normaal_316_63_outdoor_adventure_handboogschieten_2.jpg
[2021-03-16 10:26:51] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/sources/modfilemediasource.class.php : 282) Thumbnail could not be created for file: /var/www/vhosts/website.nl/httpdocs/120/_thumbs/normaal_57_outdoor_adventure_robin_hood_3.jpg
[2021-03-16 10:34:10] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/sources/modfilemediasource.class.php : 282) Thumbnail could not be created for file: /var/www/vhosts/website.nl/httpdocs/120/_thumbs/normaal_58_outdoor_adventure_robin_hood_4.jpg
[2021-03-16 10:34:10] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/sources/modfilemediasource.class.php : 282) Thumbnail could not be created for file: /var/www/vhosts/website.nl/httpdocs/120/_thumbs/vierkant_56_outdoor_adventure_robin_hood_2.jpg
[2021-03-16 10:34:10] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/sources/modfilemediasource.class.php : 282) Thumbnail could not be created for file: /var/www/vhosts/website.nl/httpdocs/120/_thumbs/normaal_55_outdoor_adventure_robin_hood_1.jpg
[2021-03-16 10:34:10] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/sources/modfilemediasource.class.php : 282) Thumbnail could not be created for file: /var/www/vhosts/website.nl/httpdocs/120/_thumbs/normaal_56_outdoor_adventure_robin_hood_2.jpg
[2021-03-16 10:34:10] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/sources/modfilemediasource.class.php : 282) Thumbnail could not be created for file: /var/www/vhosts/website.nl/httpdocs/120/_thumbs/vierkant_58_outdoor_adventure_robin_hood_4.jpg
[2021-03-16 10:34:10] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/sources/modfilemediasource.class.php : 282) Thumbnail could not be created for file: /var/www/vhosts/website.nl/httpdocs/120/_thumbs/vierkant_57_outdoor_adventure_robin_hood_3.jpg
[2021-03-16 10:34:10] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/sources/modfilemediasource.class.php : 282) Thumbnail could not be created for file: /var/www/vhosts/website.nl/httpdocs/120/_thumbs/vierkant_316_63_outdoor_adventure_handboogschieten_2.jpg
[2021-03-16 10:34:10] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/sources/modfilemediasource.class.php : 282) Thumbnail could not be created for file: /var/www/vhosts/website.nl/httpdocs/120/_thumbs/vierkant_55_outdoor_adventure_robin_hood_1.jpg
[2021-03-16 10:34:10] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/sources/modfilemediasource.class.php : 282) Thumbnail could not be created for file: /var/www/vhosts/website.nl/httpdocs/120/_thumbs/normaal_316_63_outdoor_adventure_handboogschieten_2.jpg
[2021-03-16 10:34:10] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/sources/modfilemediasource.class.php : 282) Thumbnail could not be created for file: /var/www/vhosts/website.nl/httpdocs/120/_thumbs/normaal_57_outdoor_adventure_robin_hood_3.jpg
[2021-03-16 10:50:32] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/sources/modfilemediasource.class.php : 282) Thumbnail could not be created for file: /var/www/vhosts/website.nl/httpdocs/135/_thumbs/vierkant_149_clinics_workshops_workshop_outdoor_cooking_2.jpg
[2021-03-16 10:50:32] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/sources/modfilemediasource.class.php : 282) Thumbnail could not be created for file: /var/www/vhosts/website.nl/httpdocs/135/_thumbs/vierkant_148_clinics_workshops_workshop_outdoor_cooking_1.jpg
[2021-03-16 10:50:32] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/sources/modfilemediasource.class.php : 282) Thumbnail could not be created for file: /var/www/vhosts/website.nl/httpdocs/135/_thumbs/vierkant_150_clinics_workshops_workshop_outdoor_cooking_3.jpg
[2021-03-16 10:50:32] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/sources/modfilemediasource.class.php : 282) Thumbnail could not be created for file: /var/www/vhosts/website.nl/httpdocs/135/_thumbs/normaal_148_clinics_workshops_workshop_outdoor_cooking_1.jpg
[2021-03-16 10:50:32] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/sources/modfilemediasource.class.php : 282) Thumbnail could not be created for file: /var/www/vhosts/website.nl/httpdocs/135/_thumbs/normaal_149_clinics_workshops_workshop_outdoor_cooking_2.jpg
[2021-03-16 10:50:32] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/sources/modfilemediasource.class.php : 282) Thumbnail could not be created for file: /var/www/vhosts/website.nl/httpdocs/135/_thumbs/normaal_150_clinics_workshops_workshop_outdoor_cooking_3.jpg
[2021-03-16 10:50:32] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/sources/modfilemediasource.class.php : 282) Thumbnail could not be created for file: /var/www/vhosts/website.nl/httpdocs/135/_thumbs/vierkant_151_clinics_workshops_workshop_outdoor_cooking_5.jpg
[2021-03-16 10:50:32] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/sources/modfilemediasource.class.php : 282) Thumbnail could not be created for file: /var/www/vhosts/website.nl/httpdocs/135/_thumbs/vierkant_152_clinics_workshops_workshop_outdoor_cooking_4.jpg
[2021-03-16 10:50:32] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/sources/modfilemediasource.class.php : 282) Thumbnail could not be created for file: /var/www/vhosts/website.nl/httpdocs/135/_thumbs/normaal_151_clinics_workshops_workshop_outdoor_cooking_5.jpg
[2021-03-16 10:50:32] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/sources/modfilemediasource.class.php : 282) Thumbnail could not be created for file: /var/www/vhosts/website.nl/httpdocs/135/_thumbs/normaal_152_clinics_workshops_workshop_outdoor_cooking_4.jpg
[2021-03-16 12:16:21] (ERROR in xPDO::getService @ /var/www/vhosts/website.nl/httpdocs/core/xpdo/xpdo.class.php : 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-03-16 12:16:21] (ERROR in modRestCurlClient::__construct @ /var/www/vhosts/website.nl/httpdocs/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-03-16 13:16:59] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/model/phpthumb/phpthumb.class.php : 1726) PHP warning: getimagesize(/var/www/vhosts/website.nl/httpdocs//assets/bestanden/img/15 september 2007 330.jpg): failed to open stream: No such file or directory
[2021-03-16 13:16:59] (ERROR @ /var/www/vhosts/website.nl/httpdocs/core/components/phpthumbof/model/phpthumbof/phpthumbof.class.php : 379) [phpThumbOf] Could not generate thumbnail: /assets/bestanden/img/15 september 2007 330.jpg - Debug: Array
(
    [0] => phpThumb() v1.7.15-202004301145 in file "phpthumb.class.php" on line 233
    [1] => setCacheDirectory() starting with config_cache_directory = "/var/www/vhosts/website.nl/httpdocs/core/cache/phpthumb/" in file "phpthumb.class.php" on line 1045
    [2] => setting config_cache_directory to $this->realPathSafe(/var/www/vhosts/website.nl/httpdocs/core/cache/phpthumb) = "/var/www/vhosts/website.nl/httpdocs/core/cache/phpthumb" in file "phpthumb.class.php" on line 1073
    [3] => setCacheDirectory() starting with config_cache_directory = "/var/www/vhosts/website.nl/httpdocs/assets/components/phpthumbof/cache/" in file "phpthumb.class.php" on line 1045
    [4] => setting config_cache_directory to $this->realPathSafe(/var/www/vhosts/website.nl/httpdocs/assets/components/phpthumbof/cache) = "/var/www/vhosts/website.nl/httpdocs/assets/components/phpthumbof/cache" in file "phpthumb.class.php" on line 1073
    [5] => setSourceFilename(/assets/bestanden/img/15 september 2007 330.jpg) set $this->sourceFilename to "/assets/bestanden/img/15 september 2007 330.jpg" in file "phpthumb.class.php" on line 298
    [6] => CleanUpCacheDirectory() set to purge (30.0 days; 100.00 MB; 10,000 files) in file "phpthumb.class.php" on line 748
    [7] => CleanUpCacheDirectory() skipped because "/var/www/vhosts/website.nl/httpdocs/assets/components/phpthumbof/cache/phpThumbCacheStats.txt" is recently modified in file "phpthumb.class.php" on line 758
    [8] => Addding ImageMagick formats to $AvailableImageOutputFormats (text;ico;bmp;wbmp;gif;webp;png;jpeg) in file "phpthumb.class.php" on line 1003
    [9] => $AvailableImageOutputFormats = array(text;ico;bmp;wbmp;gif;webp;png;jpeg) in file "phpthumb.class.php" on line 1009
    [10] => $this->thumbnailFormat set to $this->config_output_format "jpeg" in file "phpthumb.class.php" on line 1020
    [11] => $this->thumbnailFormat set to $this->f "jpeg" in file "phpthumb.class.php" on line 1027
    [12] => $this->thumbnailQuality set to "90" in file "phpthumb.class.php" on line 1037
    [13] => ResolveFilenameToAbsolute() prepending $this->config_document_root (/var/www/vhosts/website.nl/httpdocs/) to $filename (/assets/bestanden/img/15 september 2007 330.jpg) resulting in ($AbsoluteFilename = "/var/www/vhosts/website.nl/httpdocs//assets/bestanden/img/15 september 2007 330.jpg") in file "modphpthumb.class.php" on line 310
    [14] => $this->sourceFilename set to "/var/www/vhosts/website.nl/httpdocs//assets/bestanden/img/15 september 2007 330.jpg" in file "phpthumb.class.php" on line 930
    [15] => phpThumb() v1.7.15-202004301145
http://phpthumb.sourceforge.net

Error messages disabled.

edit phpThumb.config.php and (temporarily) set
$PHPTHUMB_CONFIG['disable_debug'] = false;
to view the details of this error in file "phpthumb.class.php" on line 4197
    [16] => SetCacheFilename() _src set from md5($this->sourceFilename) "/var/www/vhosts/website.nl/httpdocs//assets/bestanden/img/15 september 2007 330.jpg" = "e1e07de3a10901c5b6660a5978e381a3" in file "phpthumb.class.php" on line 3591
    [17] => SetCacheFilename() _par set from md5(_farC_zc1_wl360_wp360_hp240_dpi150_q90) in file "phpthumb.class.php" on line 3624
    [18] => starting ExtractEXIFgetImageSize() in file "phpthumb.class.php" on line 3389
    [19] => getimagesize(/var/www/vhosts/website.nl/httpdocs//assets/bestanden/img/15 september 2007 330.jpg) says image is x in file "phpthumb.class.php" on line 3399
    [20] => getimagesize("/var/www/vhosts/website.nl/httpdocs//assets/bestanden/img/15 september 2007 330.jpg") failed in file "phpthumb.class.php" on line 3428
    [21] => $this->useRawIMoutput=true after checking $UnAllowedParameters in file "phpthumb.class.php" on line 1635
    [22] => phpThumb_tempnam() returning "/var/www/vhosts/website.nl/httpdocs/core/cache/phpthumb/pThumbsSAL4F" in file "phpthumb.class.php" on line 4426
    [23] => ImageMagickSwitchAvailable(thumbnail) = 1 in file "phpthumb.class.php" on line 1571
    [24] => getimagesize(/var/www/vhosts/website.nl/httpdocs//assets/bestanden/img/15 september 2007 330.jpg) FAILED with error "" in file "phpthumb.class.php" on line 1732
    [25] => ImageMagickSwitchAvailable(density) = 1 in file "phpthumb.class.php" on line 1571
    [26] => getimagesize(/var/www/vhosts/website.nl/httpdocs//assets/bestanden/img/15 september 2007 330.jpg) failed in file "phpthumb.class.php" on line 1912
    [27] => Remaining $this->fltr after ImageMagick: (array(0) { } ) in file "phpthumb.class.php" on line 2296
    [28] => ImageMagickSwitchAvailable(quality;interlace) = 1 in file "phpthumb.class.php" on line 1568
    [29] => ImageMagick called as (convert '/var/www/vhosts/website.nl/httpdocs//assets/bestanden/img/15 september 2007 330.jpg[0]' -flatten -density '150' -quality '90' -interlace line  jpeg:'/var/www/vhosts/website.nl/httpdocs/core/cache/phpthumb/pThumbsSAL4F' 2>&1) in file "phpthumb.class.php" on line 2314
    [30] => ImageMagick failed with message (convert: unable to open image `/var/www/vhosts/website.nl/httpdocs//assets/bestanden/img/15 september 2007 330.jpg': No such file or directory @ error/blob.c/OpenBlob/2712.
convert: no images defined `jpeg:/var/www/vhosts/website.nl/httpdocs/core/cache/phpthumb/pThumbsSAL4F' @ error/convert.c/ConvertImageCommand/3210.) in file "phpthumb.class.php" on line 2319
    [31] => deleting "/var/www/vhosts/website.nl/httpdocs/core/cache/phpthumb/pThumbsSAL4F" in file "phpthumb.class.php" on line 2351
    [32] => ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 3435
    [33] => SetOrientationDependantWidthHeight() starting with ""x"" in file "phpthumb.class.php" on line 3368
    [34] => SetOrientationDependantWidthHeight() setting w="360", h="240" in file "phpthumb.class.php" on line 3384
    [35] => EXIF thumbnail extraction: (size=0; type=""; 0x0) in file "phpthumb.class.php" on line 3492
    [36] => starting SourceImageToGD() in file "phpthumb.class.php" on line 3750
    [37] => starting ImageCreateFromFilename(/var/www/vhosts/website.nl/httpdocs//assets/bestanden/img/15 september 2007 330.jpg) in file "phpthumb.class.php" on line 3665
    [38] => empty $filename or getimagesize(/var/www/vhosts/website.nl/httpdocs//assets/bestanden/img/15 september 2007 330.jpg) failed in file "phpthumb.class.php" on line 3714
    [39] => Populating $rawimagedata in file "phpthumb.class.php" on line 3722
    [40] => cannot fopen(/var/www/vhosts/website.nl/httpdocs//assets/bestanden/img/15 september 2007 330.jpg) in file "phpthumb.class.php" on line 3733
    [41] => Not using EXIF thumbnail data because $this->exif_thumbnail_data is empty in file "phpthumb.class.php" on line 3822
    [42] => $this->gdimg_source is still empty in file "phpthumb.class.php" on line 3874
    [43] => ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 3876
    [44] => phpThumb() v1.7.15-202004301145
http://phpthumb.sourceforge.net

This looks interesting:

Error 42000 executing statement: 
Array
(
    [0] => 42000
    [1] => 1064
    [2] => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':a447:8067:1:704e:f912:543c:b1b6 BETWEEN `rptBan`.`ip_low1` AND `rptBan`.`ip_hig' at line 1
)

I don’t recognise the class name rptBan, but there’s an extra there that has an issue reading from its table, seemingly when it encounters an ipv6 address.

Seems somewhat unlikely to me that it would result in an undefined error in the manager, but that’s the sort of log message that needs to be reported to the developer of an extra to make sure that gets fixed. Can you check against your list of installed packages what rptBan might belong to? Typically the prefix (rpt) is an acronym or part of the name of an extra…

2 Likes

OHi there, sorry about the bad user experience, sadly it can still happen, and even for me, as a developer was a step curve, but got to say that I’m loving the framework and the whole PHP community, regarding your logs, seems like your phpthumb might be broken, as I’m seeing some weird paths like ‘/var/www/vhosts/website.nl/httpdocs//assets/bestanden/img/15 september 2007 330.jpg’ Im not sure about the spaces, but im pretty sure the double ‘//’ will be an issue.

Also if you can edit phpThumb.config.php and (temporarily) set
$PHPTHUMB_CONFIG['disable_debug'] = false;

Youll get more info about the problem, but my bet is some misconfigured parameter on the system or phThumb settings

found rptBan here

1 Like

I found rptban in the Discuss code (the author’s name looks familiar for some reason :wink: ). It looks like it’s used to ban users by IP address. I wonder if an occasional user is accidentally banned and gets a blank manager as a result.

Note that Discuss was last updated in July of 2013, so it wouldn’t be a surprise if it didn’t play nice with current versions of MODX and PHP.

As a supreme irony, I had this exact issue for most of the night last night (minus the error message). It turned out to be a problem with a new, unreleased, version of UpgradeMODX. When I took UGM off the dashboard, everything was fine. One clue was that if I bypassed the dashboard I could go directly to editing a resource after logging in. The Manager worked fine as long as I avoided the dashboard.

It reminded me of a similar problem I’d seen before. If something goes wrong while MODX is pulling the News and Security feeds, it seems to leave cURL in an unusable state. The next widget that tries to use it crashes the dashboard. The problem was intermittent, like yours. Moving the UpgradeMODX widget to the top of the dashboard prevented the issue, which may or may not be fixed.

I should also mention that a version of UpgradeMODX throws an undefined JavaScript error when MODX is up to date. I fixed it a while back but I’m not sure if the current release is fixed or not. I’ve never seen that as an error except in the Dev. Tools console, and it’s never caused trouble in the Manager.

Things to Try

My first guess on the cause of your issue would be a dashboard widget, especially if there is a dashboard widget that uses Discuss or Rampart, or uses the internet to grab anything off site.

It’s easy to remove widgets from a dashboard, and it doesn’t delete them, it just keeps them from executing. The first thing I’d try is just turning off the News and Security feeds (in System Settings, search for feed and you’ll see the settings). If that doesn’t work, I’d try moving UpgradeMODX to the top of the dashboard, and if that fails, removing it from the dashboard.

My second guess would be a problem with a plugin attached to a Manager login event.

A distant third guess would be some kind of JavaScript problem, possibly involving multiple versions of JQuery.

Yes, this site is using Rampart (not sure why it was implemented). And Dashboards. I experienced more problems with the Dashboards in the past. For many clients I reverted Dashboards to default, but not for this client. Maybe that’s the problem. I am awaiting more input from the client if he encounters the problem again.

That’s interesting. The site/images look to work properly. It’s a multisite with context routing. There as been a lot of effort to make it work, even with MODX experts from here having had a look at it. So it’s still not quite okay?

well your logs have plenty of errors related to phpThumb, but from bob’s comments, I don’t this would be your major issue, yet something to look at, as there’s something clearly broken there

I wouldn’t know what could be broken and what I could do about it from my part. I just installed the extra and started using it.

Are you using resizer with pThumb?

No idea. How can I tell?

In the backend: Try going to the system settings and search for use_resizer