Search
Other Articles Anywhere questions
Forum

Quick Index conflict?

Odin Mayland's Avatar Odin Mayland
The following code was working perfectly to display a navigation tree of the child cats per the current article.
<div class="catmodule">{articles category="current" include_child_categories="true" one_per_category="true" ordering="category-ordering"}
	<h4>[category-link][category][/category-link]</h4>
	{articles-others category="[category]"}[link][title][/link]{/articles-others}{/articles}</div>

But I can't figure out why or how to prevent the auto-index from apparently messing up the AA code.
https://www.dropbox.com/s/5wnti7vzcfibs0k/Screen%20Shot%202021-07-02%20at%2010.43.42%20AM.png?dl=0
Odin Mayland's Avatar Odin Mayland
Or maybe my AA code is not actually correct to display:

-Child Category 1
--Articles
-Child Category 2
--Articles
etc.
Peter van Westen's Avatar Peter van Westen ADMIN
That looks like a mess.
Do you have the "Force Content Triggers" on in the Articles Anywhere system plugin settings?
If so, try switching it off.

Also try changing the plugin ordering of the 2 extensions.
Please post a rating at the Joomla! Extensions Directory
Odin Mayland's Avatar Odin Mayland
Turning off Force Content Triggers fixed the first issue.

Now if Quick INdex is enabled I get a black page with the following error:

Warning: preg_replace(): Compilation failed: reference to non-existent subpattern at offset 93 in /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php on line 188
Peter van Westen's Avatar Peter van Westen ADMIN
Can you enable debugging in Joomla and give me the full stacktrace for that error?
Please post a rating at the Joomla! Extensions Directory
Odin Mayland's Avatar Odin Mayland
That error is preventing the Joomla Debugger to display.

I've noticed that the error appears on all article pages. For example, any link on the homepage.

Confidential information:
(hidden)
Odin Mayland's Avatar Odin Mayland
Wow, now the whole front end only shows this:

Fatal error: require_once(): Failed opening required '/home/customer/www/modernmagic.sg-host.com/public_html/plugins/system/dummycontent/vendor/composer/autoload_real.php' (include_path='.:/usr/local/php74/pear') in /home/customer/www/modernmagic.sg-host.com/public_html/plugins/system/dummycontent/vendor/autoload.php on line 5
Peter van Westen's Avatar Peter van Westen ADMIN
I can't/won't use a Joomla file browser to change files. If I change something that breaks the admin, I have no way to fix it.
So if you can provide direct (s)ftp access, I am happy to look into this further.
Please post a rating at the Joomla! Extensions Directory
Odin Mayland's Avatar Odin Mayland
Confidential information:
(hidden)
Peter van Westen's Avatar Peter van Westen ADMIN
Hmmm... the admin login does not work. The account does not seem to be activated yet...
Please post a rating at the Joomla! Extensions Directory
Odin Mayland's Avatar Odin Mayland
So sorry. It's enabled and tested now. Please try again.
Peter van Westen's Avatar Peter van Westen ADMIN
Please try the latest development version from:
regularlabs.com/development-releases
Please post a rating at the Joomla! Extensions Directory
Odin Mayland's Avatar Odin Mayland
ok, all available dev releases have been installed and Quick Index is working again. Thank you.

The other minor issue is that IF the SEF is set to NO, then the article pages show this error:
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#^com_#siu
--------------------------

==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#^com_#siu
--------------------------

==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#^com_#siu
--------------------------

==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#^com_#siu
--------------------------

==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#^com_#siu
--------------------------

==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#[^a-z0-9-_]#siu
--------------------------

==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#[^a-z0-9-_]#siu
--------------------------

==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#(?:<(?:p|pre|h[1-6])(?: [^>]*)?>\s*(?:
\s*)*)?\{index(?(?:(?:(?:\s| |&\#160;)+|<)(?:[^\{\}]*\{[^\}]*\})*.*?)?)\}(?:(?:\s*
)*\s*<\/(?:p|pre|h[1-6])>)?#siu
--------------------------
\0
==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#<\!--.*?-->#siu
--------------------------

==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#]+>#siu
--------------------------

==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#<(?:p|div|span|strong|b|em|i|ul|font|br|h[0-9]|fieldset|label|ul|ol|li|table|thead|tbody|tfoot|tr|th|td|form)(?:\s[^>]*)?>#siu
--------------------------

==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#<\!--.*?-->#siu
--------------------------

==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#]+>#siu
--------------------------

==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#<(?:p|div|span|strong|b|em|i|ul|font|br|h[0-9]|fieldset|label|ul|ol|li|table|thead|tbody|tfoot|tr|th|td|form)(?:\s[^>]*)?>#siu
--------------------------

==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#(jmodediturl="[^"]*)(index\.php\?option\=com_config&controller\=config\.display\.modules|administrator/index\.php\?option\=com_modules&view\=module&layout\=edit)#siu
--------------------------
\1index.php?option=com_advancedmodules&view=edit&task=edit
==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#(?:<(?:div|p|pre|h[1-6])(?: [^>]*)?>\s*(?:
\s*)*)?(?:<(?:span)(?: [^>]*)?>\s*(?:
\s*)*){0,3}\{(?remove\-modules|remove\-module|remove\-modulepos) (?.*?)\}(?:(?:\s*
)*\s*<\/(?:span)>){0,3}(?:(?:\s*
)*\s*<\/(?:div|p|pre|h[1-6])>)?#siu
--------------------------

==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#(?:<(?:p|pre|h[1-6])(?: [^>]*)?>\s*(?:
\s*)*)?\{index(?(?:(?:(?:\s| |&\#160;)+|<)(?:[^\{\}]*\{[^\}]*\})*.*?)?)\}(?:(?:\s*
)*\s*<\/(?:p|pre|h[1-6])>)?#siu
--------------------------
\0
==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#((?:^|")\s*) (\s*(?:[a-z]|$))#siu
--------------------------
\1 \2
==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#\s#siu
--------------------------

==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#\s#siu
--------------------------

==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#\s#siu
--------------------------

==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#\s#siu
--------------------------

==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#(?:<(?:p|pre|h[1-6])(?: [^>]*)?>\s*(?:
\s*)*)?\{index(?(?:(?:(?:\s| |&\#160;)+|<)(?:[^\{\}]*\{[^\}]*\})*.*?)?)\}(?:(?:\s*
)*\s*<\/(?:p|pre|h[1-6])>)?#siu
--------------------------
\0
==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#\s#siu
--------------------------

==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#\s#siu
--------------------------

==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#((?(?:<(?:div|p|pre|h[1-6]|span)(?: [^>]*)?>\s*(?:
\s*)*)?)\{source(?:\s| |&\#160;)*(?( .*?)?)\}(?(?:(?:\s*
)*\s*<\/(?:div|p|pre|h[1-6]|span)>)?)(?.*?)(?(?:<(?:div|p|pre|h[1-6]|span)(?: [^>]*)?>\s*(?:
\s*)*)?)\{\/source\}(?(?:(?:\s*
)*\s*<\/(?:div|p|pre|h[1-6]|span)>)?))#siu
--------------------------
\1
==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#((?(?:<(?:div|p|pre|h[1-6]|span)(?: [^>]*)?>\s*(?:
\s*)*)?)\{source(?:\s| |&\#160;)*(?( .*?)?)\}(?(?:(?:\s*
)*\s*<\/(?:div|p|pre|h[1-6]|span)>)?)(?.*?)(?(?:<(?:div|p|pre|h[1-6]|span)(?: [^>]*)?>\s*(?:
\s*)*)?)\{\/source\}(?(?:(?:\s*
)*\s*<\/(?:div|p|pre|h[1-6]|span)>)?))#siu
--------------------------
\1
==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#\s#siu
--------------------------

==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#\s#siu
--------------------------

==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#\s#siu
--------------------------

==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#\s#siu
--------------------------

==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#\s#siu
--------------------------

==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#\s#siu
--------------------------

==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#<\!-- START: Quick Index: (?:d41d8cd98f00b204e9800998ecf8427e) -->.*?#u
--------------------------

==========================
=====[ /home/customer/www/modernmagic.sg-host.com/public_html/libraries/regularlabs/src/RegEx.php : 188 ]====
-----[ RegularLabs\Library\RegEx::replace ]-----
#^([^a-z0-9]+)#siu
--------------------------
\1/
==========================
Odin Mayland's Avatar Odin Mayland
The url is:
modernmagic.sg-host.com/index.php?option...&catid=12&Itemid=275

If I manually remove :introduction-to-material-flow-and-traceability then the page loads fine.
Peter van Westen's Avatar Peter van Westen ADMIN
That was temporary testing code that shouldn't output anymore. So I suspect it is a matter of clearing your cached pages.
Please post a rating at the Joomla! Extensions Directory
Odin Mayland's Avatar Odin Mayland
Clearing Siteground's "DYNAMIC CACHE" was the solution. Thank you.
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription