I just installed the Articles Extra and after creating the base container (right click in resource tree → Create Articles here) I get to the articles container settings like expected. However as soon as I hit save and the page reloads there’s only a blank page. No way to get back to those settings.
Error log shows nothing but a few deprecation warnings.
Although there were quite a few errors during the install:
show errors
Attempting to install package with signature: articles-1.8.0-pl
Package found...now preparing to install.
Grabbing package workspace...
Workspace environment initiated, now installing package...
Package .../core/packages//var/www/html/packages/articles/_build/subpackages/archivist-1.2.4-pl.transport.ziparchivist-1.2.4-pl.transport.zip not found. SIG: archivist-1.2.4-pl.transport.ziparchivist-1.2.4-pl
PHP warning: include(.../core/packages/articles-1.8.0-pl/xPDOTransportVehicle/93618da3c93109fe1845ff8a1a38e5cc.validate.archivist.validator): failed to open stream: No such file or directory
PHP warning: include(): Failed opening '.../core/packages/articles-1.8.0-pl/xPDOTransportVehicle/93618da3c93109fe1845ff8a1a38e5cc.validate.archivist.validator' for inclusion (include_path='.:/usr/local/php74/share/php74')
xPDOVehicle validator failed: type php (.../core/packages/articles-1.8.0-pl/xPDOTransportVehicle/93618da3c93109fe1845ff8a1a38e5cc.validate.archivist.validator)
Package .../core/packages//var/www/html/packages/articles/_build/subpackages/getpage-1.2.4-pl.transport.zipgetpage-1.2.4-pl.transport.zip not found. SIG: getpage-1.2.4-pl.transport.zipgetpage-1.2.4-pl
PHP warning: include(.../core/packages/articles-1.8.0-pl/xPDOTransportVehicle/c70f6e18e8e207891b9664d3f69edd2f.validate.getpage.validator): failed to open stream: No such file or directory
PHP warning: include(): Failed opening '.../core/packages/articles-1.8.0-pl/xPDOTransportVehicle/c70f6e18e8e207891b9664d3f69edd2f.validate.getpage.validator' for inclusion (include_path='.:/usr/local/php74/share/php74')
xPDOVehicle validator failed: type php (.../core/packages/articles-1.8.0-pl/xPDOTransportVehicle/c70f6e18e8e207891b9664d3f69edd2f.validate.getpage.validator)
Package .../core/packages//var/www/html/packages/articles/_build/subpackages/getresources-1.7.0-pl.transport.zipgetresources-1.7.0-pl.transport.zip not found. SIG: getresources-1.7.0-pl.transport.zipgetresources-1.7.0-pl
PHP warning: include(.../core/packages/articles-1.8.0-pl/xPDOTransportVehicle/e2ab6b599b4306cd03e17b1630bfe1b3.validate.getresources.validator): failed to open stream: No such file or directory
PHP warning: include(): Failed opening '.../core/packages/articles-1.8.0-pl/xPDOTransportVehicle/e2ab6b599b4306cd03e17b1630bfe1b3.validate.getresources.validator' for inclusion (include_path='.:/usr/local/php74/share/php74')
xPDOVehicle validator failed: type php (.../core/packages/articles-1.8.0-pl/xPDOTransportVehicle/e2ab6b599b4306cd03e17b1630bfe1b3.validate.getresources.validator)
Package .../core/packages//var/www/html/packages/articles/_build/subpackages/quip-2.3.5-pl.transport.zipquip-2.3.5-pl.transport.zip not found. SIG: quip-2.3.5-pl.transport.zipquip-2.3.5-pl
PHP warning: include(.../core/packages/articles-1.8.0-pl/xPDOTransportVehicle/df83c2fcd32de60ae79be461feeb40f5.validate.quip.validator): failed to open stream: No such file or directory
PHP warning: include(): Failed opening '.../core/packages/articles-1.8.0-pl/xPDOTransportVehicle/df83c2fcd32de60ae79be461feeb40f5.validate.quip.validator' for inclusion (include_path='.:/usr/local/php74/share/php74')
xPDOVehicle validator failed: type php (.../core/packages/articles-1.8.0-pl/xPDOTransportVehicle/df83c2fcd32de60ae79be461feeb40f5.validate.quip.validator)
Package .../core/packages//var/www/html/packages/articles/_build/subpackages/taglister-1.1.7-pl.transport.ziptaglister-1.1.7-pl.transport.zip not found. SIG: taglister-1.1.7-pl.transport.ziptaglister-1.1.7-pl
PHP warning: include(.../core/packages/articles-1.8.0-pl/xPDOTransportVehicle/08210827218b080d320f878b95a7d860.validate.taglister.validator): failed to open stream: No such file or directory
PHP warning: include(): Failed opening '.../core/packages/articles-1.8.0-pl/xPDOTransportVehicle/08210827218b080d320f878b95a7d860.validate.taglister.validator' for inclusion (include_path='.:/usr/local/php74/share/php74')
xPDOVehicle validator failed: type php (.../core/packages/articles-1.8.0-pl/xPDOTransportVehicle/08210827218b080d320f878b95a7d860.validate.taglister.validator)
Installing dependency archivist v1.2.4 (or higher)...
- ✓ archivist-1.2.4-pl already installed
Installing dependency getpage v1.2.3 (or higher)...
- ✓ getpage-1.2.5-pl already installed
Installing dependency getresources v1.7.0 (or higher)...
- ✓ getresources-1.7.0-pl already installed
Installing dependency quip v2.3.5 (or higher)...
modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
- Could not find quip v2.3.5+ in package provider modx.com
Installing dependency taglister v1.1.7 (or higher)...
- ✓ taglister-1.1.7-pl already installed
xPDOVehicle resolver failed: type php (.../core/packages/articles-1.8.0-pl/modCategory/48f5c51b163d577732b4bd15f459e1f5.dependencies.resolver.resolver)
Error removing field Article->articles_container: Array
(
[0] => 42000
[1] => 1091
[2] => Can't DROP 'articles_container'; check that column/key exists
)
Error removing field Article->articles_container_settings: Array
(
[0] => 42000
[1] => 1091
[2] => Can't DROP 'articles_container_settings'; check that column/key exists
)
Successfully installed package articles-1.8.0-pl
Any idea what could be the (main) issue here? I can reproduce this issue the exact same way on a different site, too (it’s the same host though).
So I checked Archivist and reinstalled that, which went without errors but did not change anything. Then I noticed that Quip was not installed at all, after reinstalling it manually I can access the Articles container again. I’m guessing the issue here is:
Could not find quip v2.3.5+ in package provider modx.com
Are all those other validator errors during the install a reason for concern?
Hmm… yeah I can confirm the same thing happening. Manually installing Quip fixes the problem as a workaround. Interestingly, changing the resolver to get Quip 2.3.3 works - it just can’t find 2.3.5.
Since then we’ve been developing a new site using Modx 3.0.1. and have installed Articles.
In the manager, instead of the blank page VibesDesign sees, we have a compressed display on both the Container and Article Template. See screen shots below. These pages throw errors: core/src/Revolution/modX.php Unable to load processor for action "mgr/comment/getList"
core/vendor/xpdo/xpdo/src/xPDO/xPDO.php Could not load class: modAction from mysql.modaction
We see a blank page for the Articles container - but on the front end. The error is PHP warning: strpos(): Empty needle in ArticlesContainer.php
We still see the js console error in Modx 3.0.1 " Cannot read properties of undefined (reading ‘formpanel’)" as mentioned in the post with Bob on clicking ‘Close’ in the Article Template.
The next Articles release will fix that, but in the mean time you can apply the workaround mentioned in the link above.
Also, if you’re starting a new site, I’d definitely recommend using Collections over Articles. Articles is really quite old, and while we’ve been working to bring it up to date, the MODX 3 version is still in Alpha and there will probably be some weirdness that pops up from time to time.
Thanks, DigitalPenguin, we’ll switch to Collections for the new build in Modx 3 as you suggest. For the legacy site still running on 2.8.3, there’s a lot of instability now also with the latest Articles install. Is there a process to import Articles posts into Collections?
For testing, I uninstalled Articles and all its dependencies again, or atleast I tried to as Articles gives an error: Error uninstalling package with signature: articles-1.8.0-pl. (All dependencies uninstalled fine).
Full Uninstall Error Output
Console running...
Finding package with signature: articles-1.8.0-pl
Package found. Preparing to uninstall.
Skipping modCategory object (data object does not exist and cannot be removed): Array ( [category] => Articles )
Skipping modChunk object (data object does not exist and cannot be removed): Array ( [name] => sample.ArticlesLatestPostTpl )
Skipping modChunk object (data object does not exist and cannot be removed): Array ( [name] => sample.ArticleRowTpl )
Skipping modChunk object (data object does not exist and cannot be removed): Array ( [name] => sample.ArticlesRss )
Skipping modChunk object (data object does not exist and cannot be removed): Array ( [name] => sample.ArticlesRssItem )
Skipping modChunk object (data object does not exist and cannot be removed): Array ( [name] => sample.ArchiveGroupByYear )
Skipping modChunk object (data object does not exist and cannot be removed): Array ( [name] => sample.ArticlesRssCategoryNode )
Skipping modSnippet object (data object does not exist and cannot be removed): Array ( [name] => ArticlesStringSplitter )
Skipping modSnippet object (data object does not exist and cannot be removed): Array ( [name] => Articles )
Skipping modTemplate object (data object does not exist and cannot be removed): Array ( [templatename] => sample.ArticlesContainerTemplate )
Skipping modTemplate object (data object does not exist and cannot be removed): Array ( [templatename] => sample.ArticleTemplate )
Skipping modTemplateVar object (data object does not exist and cannot be removed): Array ( [name] => articlestags )
Removing files in file resolver: [...]/core/components/articles
Could not find files to remove.
Removing files in file resolver: [...]/assets/components/articles
Could not find files to remove.
Skipping modPlugin object (data object does not exist and cannot be removed): Array ( [name] => ArticlesPlugin )
Skipping modPluginEvent object (data object does not exist and cannot be removed): Array ( [pluginid] => 0 [event] => OnPageNotFound )
Skipping modPluginEvent object (data object does not exist and cannot be removed): Array ( [pluginid] => 0 [event] => OnManagerPageInit )
Skipping modPluginEvent object (data object does not exist and cannot be removed): Array ( [pluginid] => 0 [event] => OnDocPublished )
Skipping modPluginEvent object (data object does not exist and cannot be removed): Array ( [pluginid] => 0 [event] => OnDocUnPublished )
Package [...]/core/packages//var/www/html/packages/articles/_build/subpackages/taglister-1.1.7-pl.transport.ziptaglister-1.1.7-pl.transport.zip not found. SIG: taglister-1.1.7-pl.transport.ziptaglister-1.1.7-pl
PHP warning: include([...]/core/packages/articles-1.8.0-pl/xPDOTransportVehicle/08210827218b080d320f878b95a7d860.validate.taglister.validator): failed to open stream: No such file or directory
PHP warning: include(): Failed opening '[...]/core/packages/articles-1.8.0-pl/xPDOTransportVehicle/08210827218b080d320f878b95a7d860.validate.taglister.validator' for inclusion (include_path='.:/usr/local/php74/share/php74')
xPDOVehicle validator failed: type php ([...]/core/packages/articles-1.8.0-pl/xPDOTransportVehicle/08210827218b080d320f878b95a7d860.validate.taglister.validator)
Package [...]/core/packages//var/www/html/packages/articles/_build/subpackages/quip-2.3.5-pl.transport.zipquip-2.3.5-pl.transport.zip not found. SIG: quip-2.3.5-pl.transport.zipquip-2.3.5-pl
PHP warning: include([...]/core/packages/articles-1.8.0-pl/xPDOTransportVehicle/df83c2fcd32de60ae79be461feeb40f5.validate.quip.validator): failed to open stream: No such file or directory
PHP warning: include(): Failed opening '[...]/core/packages/articles-1.8.0-pl/xPDOTransportVehicle/df83c2fcd32de60ae79be461feeb40f5.validate.quip.validator' for inclusion (include_path='.:/usr/local/php74/share/php74')
xPDOVehicle validator failed: type php ([...]/core/packages/articles-1.8.0-pl/xPDOTransportVehicle/df83c2fcd32de60ae79be461feeb40f5.validate.quip.validator)
Package [...]/core/packages//var/www/html/packages/articles/_build/subpackages/getresources-1.7.0-pl.transport.zipgetresources-1.7.0-pl.transport.zip not found. SIG: getresources-1.7.0-pl.transport.zipgetresources-1.7.0-pl
PHP warning: include([...]/core/packages/articles-1.8.0-pl/xPDOTransportVehicle/e2ab6b599b4306cd03e17b1630bfe1b3.validate.getresources.validator): failed to open stream: No such file or directory
PHP warning: include(): Failed opening '[...]/core/packages/articles-1.8.0-pl/xPDOTransportVehicle/e2ab6b599b4306cd03e17b1630bfe1b3.validate.getresources.validator' for inclusion (include_path='.:/usr/local/php74/share/php74')
xPDOVehicle validator failed: type php ([...]/core/packages/articles-1.8.0-pl/xPDOTransportVehicle/e2ab6b599b4306cd03e17b1630bfe1b3.validate.getresources.validator)
Package [...]/core/packages//var/www/html/packages/articles/_build/subpackages/getpage-1.2.4-pl.transport.zipgetpage-1.2.4-pl.transport.zip not found. SIG: getpage-1.2.4-pl.transport.zipgetpage-1.2.4-pl
PHP warning: include([...]/core/packages/articles-1.8.0-pl/xPDOTransportVehicle/c70f6e18e8e207891b9664d3f69edd2f.validate.getpage.validator): failed to open stream: No such file or directory
PHP warning: include(): Failed opening '[...]/core/packages/articles-1.8.0-pl/xPDOTransportVehicle/c70f6e18e8e207891b9664d3f69edd2f.validate.getpage.validator' for inclusion (include_path='.:/usr/local/php74/share/php74')
xPDOVehicle validator failed: type php ([...]/core/packages/articles-1.8.0-pl/xPDOTransportVehicle/c70f6e18e8e207891b9664d3f69edd2f.validate.getpage.validator)
Package [...]/core/packages//var/www/html/packages/articles/_build/subpackages/archivist-1.2.4-pl.transport.ziparchivist-1.2.4-pl.transport.zip not found. SIG: archivist-1.2.4-pl.transport.ziparchivist-1.2.4-pl
PHP warning: include([...]/core/packages/articles-1.8.0-pl/xPDOTransportVehicle/93618da3c93109fe1845ff8a1a38e5cc.validate.archivist.validator): failed to open stream: No such file or directory
PHP warning: include(): Failed opening '[...]/core/packages/articles-1.8.0-pl/xPDOTransportVehicle/93618da3c93109fe1845ff8a1a38e5cc.validate.archivist.validator' for inclusion (include_path='.:/usr/local/php74/share/php74')
xPDOVehicle validator failed: type php ([...]/core/packages/articles-1.8.0-pl/xPDOTransportVehicle/93618da3c93109fe1845ff8a1a38e5cc.validate.archivist.validator)
Skipping modSystemSetting object (data object does not exist and cannot be removed): Array ( [key] => articles.mgr_time_format )
Skipping modSystemSetting object (data object does not exist and cannot be removed): Array ( [key] => articles.mgr_date_format )
Skipping modSystemSetting object (data object does not exist and cannot be removed): Array ( [key] => articles.article_show_longtitle )
Skipping modSystemSetting object (data object does not exist and cannot be removed): Array ( [key] => articles.default_article_sort_field )
Skipping modSystemSetting object (data object does not exist and cannot be removed): Array ( [key] => articles.default_article_template )
Skipping modSystemSetting object (data object does not exist and cannot be removed): Array ( [key] => articles.default_container_template )
Skipping modSystemSetting object (data object does not exist and cannot be removed): Array ( [key] => articles.container_ids )
Skipping modNamespace object (data object does not exist and cannot be removed): Array ( [name] => articles )
Error uninstalling package with signature: articles-1.8.0-pl
So I had to force package removal.
Also I noticed in the error output file, there’s a few instances where the path looks like it has a double // where there maybe shouldn’t be one? This was also the case during the first install (see output above).
However, after a new install Quip and all other dependencies seemed to have installed fine and I can also access the Articles container on the first try!
Still a bunch of errors during the install:
Full Install Error Output
Console running...
Attempting to install package with signature: articles-1.8.0-pl
Package found...now preparing to install.
Grabbing package workspace...
Workspace environment initiated, now installing package...
Package [...]/core/packages//var/www/html/packages/articles/_build/subpackages/archivist-1.2.4-pl.transport.ziparchivist-1.2.4-pl.transport.zip not found. SIG: archivist-1.2.4-pl.transport.ziparchivist-1.2.4-pl
PHP warning: include([...]/core/packages/articles-1.8.0-pl/xPDOTransportVehicle/93618da3c93109fe1845ff8a1a38e5cc.validate.archivist.validator): failed to open stream: No such file or directory
PHP warning: include(): Failed opening '[...]/core/packages/articles-1.8.0-pl/xPDOTransportVehicle/93618da3c93109fe1845ff8a1a38e5cc.validate.archivist.validator' for inclusion (include_path='.:/usr/local/php74/share/php74')
xPDOVehicle validator failed: type php ([...]/core/packages/articles-1.8.0-pl/xPDOTransportVehicle/93618da3c93109fe1845ff8a1a38e5cc.validate.archivist.validator)
Package [...]/core/packages//var/www/html/packages/articles/_build/subpackages/getpage-1.2.4-pl.transport.zipgetpage-1.2.4-pl.transport.zip not found. SIG: getpage-1.2.4-pl.transport.zipgetpage-1.2.4-pl
PHP warning: include([...]/core/packages/articles-1.8.0-pl/xPDOTransportVehicle/c70f6e18e8e207891b9664d3f69edd2f.validate.getpage.validator): failed to open stream: No such file or directory
PHP warning: include(): Failed opening '[...]/core/packages/articles-1.8.0-pl/xPDOTransportVehicle/c70f6e18e8e207891b9664d3f69edd2f.validate.getpage.validator' for inclusion (include_path='.:/usr/local/php74/share/php74')
xPDOVehicle validator failed: type php ([...]/core/packages/articles-1.8.0-pl/xPDOTransportVehicle/c70f6e18e8e207891b9664d3f69edd2f.validate.getpage.validator)
Package [...]/core/packages//var/www/html/packages/articles/_build/subpackages/getresources-1.7.0-pl.transport.zipgetresources-1.7.0-pl.transport.zip not found. SIG: getresources-1.7.0-pl.transport.zipgetresources-1.7.0-pl
PHP warning: include([...]/core/packages/articles-1.8.0-pl/xPDOTransportVehicle/e2ab6b599b4306cd03e17b1630bfe1b3.validate.getresources.validator): failed to open stream: No such file or directory
PHP warning: include(): Failed opening '[...]/core/packages/articles-1.8.0-pl/xPDOTransportVehicle/e2ab6b599b4306cd03e17b1630bfe1b3.validate.getresources.validator' for inclusion (include_path='.:/usr/local/php74/share/php74')
xPDOVehicle validator failed: type php ([...]/core/packages/articles-1.8.0-pl/xPDOTransportVehicle/e2ab6b599b4306cd03e17b1630bfe1b3.validate.getresources.validator)
Package [...]/core/packages//var/www/html/packages/articles/_build/subpackages/quip-2.3.5-pl.transport.zipquip-2.3.5-pl.transport.zip not found. SIG: quip-2.3.5-pl.transport.zipquip-2.3.5-pl
PHP warning: include([...]/core/packages/articles-1.8.0-pl/xPDOTransportVehicle/df83c2fcd32de60ae79be461feeb40f5.validate.quip.validator): failed to open stream: No such file or directory
PHP warning: include(): Failed opening '[...]/core/packages/articles-1.8.0-pl/xPDOTransportVehicle/df83c2fcd32de60ae79be461feeb40f5.validate.quip.validator' for inclusion (include_path='.:/usr/local/php74/share/php74')
xPDOVehicle validator failed: type php ([...]/core/packages/articles-1.8.0-pl/xPDOTransportVehicle/df83c2fcd32de60ae79be461feeb40f5.validate.quip.validator)
Package [...]/core/packages//var/www/html/packages/articles/_build/subpackages/taglister-1.1.7-pl.transport.ziptaglister-1.1.7-pl.transport.zip not found. SIG: taglister-1.1.7-pl.transport.ziptaglister-1.1.7-pl
PHP warning: include([...]/core/packages/articles-1.8.0-pl/xPDOTransportVehicle/08210827218b080d320f878b95a7d860.validate.taglister.validator): failed to open stream: No such file or directory
PHP warning: include(): Failed opening '[...]/core/packages/articles-1.8.0-pl/xPDOTransportVehicle/08210827218b080d320f878b95a7d860.validate.taglister.validator' for inclusion (include_path='.:/usr/local/php74/share/php74')
xPDOVehicle validator failed: type php ([...]/core/packages/articles-1.8.0-pl/xPDOTransportVehicle/08210827218b080d320f878b95a7d860.validate.taglister.validator)
Installing dependency archivist v1.2.4 (or higher)...
modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
- Downloading archivist-1.2.4-pl from modx.com...
--- Installing archivist-1.2.4-pl ---
Grabbing package workspace...
Workspace environment initiated, now installing package...
--- Installed archivist-1.2.4-pl in 0.02s ---
Installing dependency getpage v1.2.3 (or higher)...
- Downloading getpage-1.2.5-pl from modx.com...
--- Installing getpage-1.2.5-pl ---
Grabbing package workspace...
Workspace environment initiated, now installing package...
--- Installed getpage-1.2.5-pl in 0.01s ---
Installing dependency getresources v1.7.0 (or higher)...
- ✓ getresources-1.7.0-pl already installed
Installing dependency quip v2.3.5 (or higher)...
- Downloading quip-2.3.5-pl from modx.com...
--- Installing quip-2.3.5-pl ---
Grabbing package workspace...
Workspace environment initiated, now installing package...
--- Installed quip-2.3.5-pl in 0.52s ---
Installing dependency taglister v1.1.7 (or higher)...
- Downloading taglister-1.1.7-pl from modx.com...
--- Installing taglister-1.1.7-pl ---
Grabbing package workspace...
Workspace environment initiated, now installing package...
--- Installed taglister-1.1.7-pl in 0.02s ---
Error removing field Article->articles_container: Array ( [0] => 42000 [1] => 1091 [2] => Can't DROP 'articles_container'; check that column/key exists )
Error removing field Article->articles_container_settings: Array ( [0] => 42000 [1] => 1091 [2] => Can't DROP 'articles_container_settings'; check that column/key exists )
Successfully installed package articles-1.8.0-pl
I have a similar issue my clients site has an Articles page and the container page is blank. Unfortunately there are not console errors or php errors that I can see. Any ideas?
MODx 2.8.8
PHP 8.3
Open the developer tools in the browser and go to the “Network” tab. Then click the reload button (↻) under the grid. This should create a new AJAX-request with the parameter “action” = Articles\Processors\Article\GetList. What is the response of this request?
Maybe also check the database table modx_site_content to make sure your articles have the correct value in the column class_key. Which should be Articles\Model\Article.
If you click the reload button (↻) under the grid, there should only be one new request that gets added to the list. “Name” is probably connector.php and when you click on the request in the list, the request parameter “action” should be equal to article/getList (in MODX 2.x). What is the response of this request?
What version of the extra Articles are you using? 1.7.11-pl?