HI,
Revisiting an old 2.7.1 revo site and updated it to 3.0.5. Running PHP 8.2 and getting lots of PHP deprecation warnings. I can access Manager and view Elements and Files but not Resources. Cleared out the core/cache folder but can only see 1 actual error (below) in the Dashboard error log. Home page is a blank white screen. Enabling debug to 1 and log level to 4 in System Settings shows no warnings on home page. Any ideas how to get this working? Using MySQL 8.2 and Apache 2.4. Table modx_site_content has content. Memory Limit is 128MB. Thanks
[2024-11-20 21:31:54] (ERROR @ /home/bhr/public_html/core/src/Revolution/modParser.php : 512) Could not find snippet with name 'id', '567acf50abe53d964f8310ac'],
['mark', 'firstbyte', (new Date()).getTime().
…but i could not find “567acf50abe53d964f8310ac” in the db to troubleshoot
It could be a plugin from one of the installed extras that throws an error.
You could try (temporarily) deactiviating the plugins to see which one (if any) causes the issue.
Under “Elements” → “Plugins” → right-click “Deactivate Plugin” you can deactivate a plugin. (Or in the database table modx_site_plugins → column disabled. Clear the cache after changing the database directly.)
Also make sure that all your extras are up-to-date. Sometimes extras have specific versions for MODX 3, that you have to install after a MODX upgrade.
It could also be worth locating the PHP error log file on the server and checking it for error messages. Not all errors (especially fatal ones) are logged in the MODX error log.
Also maybe use the developer tools in the browser → tab “Network” to see if any of the AJAX-requests (that MODX executes) returns an error code.
Do you mean the home page on the front-end or the starting-page of the manager?
If it is the manager, then a (custom) dashboard widget could cause the problem.
Try (temporarily) removing widgets from the dashboard until it works again.
Widgets can be removed in the manager under manager/?a=system/dashboards by editing the dashboard (or maybe directly in the database table modx_dashboard_widget_placement).
Thanks. Upgraded everything again from revo 2.8,7 to 3.0.5, disabled all plugins in Dash and still left with Resources not loading and White Screen of Death WSOD as attached. Also a grid load error. (attached) Is it an Ajax issue? Emptied core/cache multiple times
See img and vid at loading issue - pCloud
Tried with PHP 8.0 to 8.3. Am I missing an extension?
Click on index.html file to op[2024-11-21 18:40:45] (ERROR @ /home/hcann/domains/mysites.com/public_html/core/src/Revolution/modParser.php : 512) Could not find snippet with name 'id', '567acf50abe53d964f8310ac'],
['mark', 'firstbyte', (new Date()).getTime().
[2024-11-21 18:45:59] (ERROR @ /home/hcann/domains/mysites.com/public_html/core/src/Revolution/modParser.php : 512) Could not find snippet with name 'id', '567acf50abe53d964f8310ac'],
['mark', 'firstbyte', (new Date()).getTime().
[2024-11-21 18:46:15] (ERROR in MODX\Revolution\Transport\modTransportProvider::latest @ /home/hcann/domains/mysites.com/public_html/core/src/Revolution/Transport/modTransportProvider.php : 264) Could not load updates for analytics-2.0.1-pl: Latest Package Release Not Found
[2024-11-21 18:46:15] (ERROR in MODX\Revolution\Transport\modTransportProvider::latest @ /home/hcann/domains/mysites.com/public_html/core/src/Revolution/Transport/modTransportProvider.php : 264) Could not load updates for batcher-2.0.0-pl: Latest Package Release Not Found
[2024-11-21 18:46:16] (ERROR in MODX\Revolution\Transport\modTransportProvider::latest @ /home/hcann/domains/mysites.com/public_html/core/src/Revolution/Transport/modTransportProvider.php : 264) Could not load updates for customurls-1.0.0-rc3: Latest Package Release Not Found
[2024-11-21 18:46:16] (ERROR in MODX\Revolution\Transport\modTransportProvider::latest @ /home/hcann/domains/mysites.com/public_html/core/src/Revolution/Transport/modTransportProvider.php : 264) Could not load updates for fastfield-1.4.0-pl: Latest Package Release Not Found
[2024-11-21 18:46:17] (ERROR in MODX\Revolution\Transport\modTransportProvider::latest @ /home/hcann/domains/mysites.com/public_html/core/src/Revolution/Transport/modTransportProvider.php : 264) Could not load updates for guzzle6-1.0.2-pl: Latest Package Release Not Found
[2024-11-21 18:51:37] (ERROR in MODX\Revolution\Transport\modTransportProvider::latest @ /home/hcann/domains/mysites.com/public_html/core/src/Revolution/Transport/modTransportProvider.php : 264) Could not load updates for analytics-2.0.1-pl: Latest Package Release Not Found
[2024-11-21 18:51:37] (ERROR in MODX\Revolution\Transport\modTransportProvider::latest @ /home/hcann/domains/mysites.com/public_html/core/src/Revolution/Transport/modTransportProvider.php : 264) Could not load updates for batcher-2.0.0-pl: Latest Package Release Not Found
[2024-11-21 18:51:38] (ERROR in MODX\Revolution\Transport\modTransportProvider::latest @ /home/hcann/domains/mysites.com/public_html/core/src/Revolution/Transport/modTransportProvider.php : 264) Could not load updates for customurls-1.0.0-rc3: Latest Package Release Not Found
[2024-11-21 18:51:39] (ERROR in MODX\Revolution\Transport\modTransportProvider::latest @ /home/hcann/domains/mysites.com/public_html/core/src/Revolution/Transport/modTransportProvider.php : 264) Could not load updates for fastfield-1.4.0-pl: Latest Package Release Not Found
[2024-11-21 18:51:39] (ERROR in MODX\Revolution\Transport\modTransportProvider::latest @ /home/hcann/domains/mysites.com/public_html/core/src/Revolution/Transport/modTransportProvider.php : 264) Could not load updates for guzzle6-1.0.2-pl: Latest Package Release Not Found
[2024-11-21 18:51:48] (ERROR in MODX\Revolution\Transport\modTransportProvider::latest @ /home/hcann/domains/mysites.com/public_html/core/src/Revolution/Transport/modTransportProvider.php : 264) Could not load updates for protectimage-1.0-beta1: Package Version Not Found
[2024-11-21 18:51:49] (ERROR in MODX\Revolution\Transport\modTransportProvider::latest @ /home/hcann/domains/mysites.com/public_html/core/src/Revolution/Transport/modTransportProvider.php : 264) Could not load updates for ulogin-1.7-beta1: Latest Package Release Not Found
[2024-11-21 18:51:50] (ERROR in MODX\Revolution\Transport\modTransportProvider::latest @ /home/hcann/domains/mysites.com/public_html/core/src/Revolution/Transport/modTransportProvider.php : 264) Could not load updates for xbug-0.8.4-pl: Latest Package Release Not Found
[2024-11-21 18:52:22] (ERROR in MODX\Revolution\Transport\modTransportProvider::latest @ /home/hcann/domains/mysites.com/public_html/core/src/Revolution/Transport/modTransportProvider.php : 264) Could not load updates for analytics-2.0.1-pl: Latest Package Release Not Found
[2024-11-21 18:52:23] (ERROR in MODX\Revolution\Transport\modTransportProvider::latest @ /home/hcann/domains/mysites.com/public_html/core/src/Revolution/Transport/modTransportProvider.php : 264) Could not load updates for batcher-2.0.0-pl: Latest Package Release Not Found
[2024-11-21 18:52:24] (ERROR in MODX\Revolution\Transport\modTransportProvider::latest @ /home/hcann/domains/mysites.com/public_html/core/src/Revolution/Transport/modTransportProvider.php : 264) Could not load updates for customurls-1.0.0-rc3: Latest Package Release Not Found
[2024-11-21 18:52:24] (ERROR in MODX\Revolution\Transport\modTransportProvider::latest @ /home/hcann/domains/mysites.com/public_html/core/src/Revolution/Transport/modTransportProvider.php : 264) Could not load updates for fastfield-1.4.0-pl: Latest Package Release Not Found
[2024-11-21 18:52:25] (ERROR in MODX\Revolution\Transport\modTransportProvider::latest @ /home/hcann/domains/mysites.com/public_html/core/src/Revolution/Transport/modTransportProvider.php : 264) Could not load updates for guzzle6-1.0.2-pl: Latest Package Release Not Found
[2024-11-21 18:52:44] (ERROR in MODX\Revolution\Transport\modTransportProvider::latest @ /home/hcann/domains/mysites.com/public_html/core/src/Revolution/Transport/modTransportProvider.php : 264) Could not load updates for analytics-2.0.1-pl: Latest Package Release Not Found
[2024-11-21 18:52:44] (ERROR in MODX\Revolution\Transport\modTransportProvider::latest @ /home/hcann/domains/mysites.com/public_html/core/src/Revolution/Transport/modTransportProvider.php : 264) Could not load updates for batcher-2.0.0-pl: Latest Package Release Not Found
[2024-11-21 18:52:45] (ERROR in MODX\Revolution\Transport\modTransportProvider::latest @ /home/hcann/domains/mysites.com/public_html/core/src/Revolution/Transport/modTransportProvider.php : 264) Could not load updates for customurls-1.0.0-rc3: Latest Package Release Not Found
[2024-11-21 18:52:45] (ERROR in MODX\Revolution\Transport\modTransportProvider::latest @ /home/hcann/domains/mysites.com/public_html/core/src/Revolution/Transport/modTransportProvider.php : 264) Could not load updates for fastfield-1.4.0-pl: Latest Package Release Not Found
[2024-11-21 18:52:46] (ERROR in MODX\Revolution\Transport\modTransportProvider::latest @ /home/hcann/domains/mysites.com/public_html/core/src/Revolution/Transport/modTransportProvider.php : 264) Could not load updates for guzzle6-1.0.2-pl: Latest Package Release Not Found
en
When you try to reload (↻) the resources in the resources-tree, what is the output in the developer tools?
Open the developer tools in the browser
Go to the “Network” tab
Click the reload (↻) button
There should appear a new AJAX-request (request parameter “action” = Resource/GetNodes). What is the HTTP response status code? 500? What is the actual response of this request?
The messages in the error log (“Latest Package Release Not Found”) seem to stem from the fact, that these extras are not set to be compatible with MODX 3 in the package repository.
fastField: This extras doesn’t work on MODX 3. Use pdoTools which includes the fastField code.
Batcher: The current version is not compatible with MODX 3.
I uninstalled the offending Extras.
Error log shows:
[2024-11-22 11:40:53] (ERROR @ /home/hcann/domains/site.com/public_html/core/src/Revolution/modParser.php : 512) Could not find snippet with name 'id', '567acf50abe53d964f8310ac'],
['mark', 'firstbyte', (new Date()).getTime().
HI,
I didn’t use the UpgradeMODX extra to do the update. Just installed it now.
I went 2.8.7 to 3.0.5 direct. I’ll try overwriting the 3.0.5 files with 3.0.0
Thanks
Try to locate the PHP error log file to get the specific error message for this internal server error. (The location of this error log file depends on the server settings and differs for different server setups.)
This error log message is almost certainly not the cause of the issues in the MODX manager. It’s more likely a wrong snippet tag that can’t be parsed when outputting a page on the front-end.
That’s what I would recommend doing.
In my opinion there is no point in installing MODX 3.0.0 and it’s more likely to create more problems, as this early version of MODX 3 still had many bugs.
@halftrainedharry I know you and I disagree on the strategy here, but I’ve upgraded many sites, including Bob’s Guides, to all x.o versions before installing the latest version. I’ve also tested UpgradeMODX many times for upgrading to MODX 3 and have always done a 3.0 upgrade first. This approach has never caused any trouble for me.
On the other hand, I’ve personally had trouble when skipping an x.o version, and I’ve seen posts from others who have as well. It’s probably unnecessary, but I consider it cheap insurance, and it’s something to try when you’ve skipped a .0 version and are having trouble.
Hi Guys, I tried Revo 2 8.7 to 3.0.0 but no luck with the resource tree loading. 2.8.7 is fine with PHP 7.4 but fails on PHP 8.0-8.3
I revived this site from 2017 so there could be some junk in it causing the error. I have the site hosted on DirectAdmin with https://www.crocweb.com/ and they couldn’t see what was causing the 500 error. They use Litespeed if it matters.
Tried disabling all the plugins and uninstalling Extras throwing errors with no luck.
I’m happy with things working on 2.8.7 so thanks for the help. Site is a relic so isn’t that important.
Enjoy your weekends!
Installed it just fine on a different host with cPanel. Maybe the issue was host tech related blocking a script.
In new install I can’t clear the “Core folder is accessible by web”. Enabling the .htaccess in core did nothing unfortunately.