Smart Search Results Page Blank When Regular...

Search
Other Bug Reports questions
Forum

Smart Search Results Page Blank When Regular Labs Library Plugin is Published

Winston Baccus's Avatar Winston Baccus
Search quit working a couple of weeks ago and I finally sat down and figured it out.

If disable the Regular Labs Library plugin, it works properly, but of course that's not really an option.

I'm running a YooTheme Pro based template.

Confidential information:
(hidden)
Peter van Westen's Avatar Peter van Westen ADMIN
I narrowed it down to Modules Anywhere.
It is probably because you have "{module Toolbar - Search}" somewhere in your output.

Please see if you still need that. And if so, update the syntax. See:
docs4.regularlabs.com/modulesanywhere
Please post a rating at the Joomla! Extensions Directory
Winston Baccus's Avatar Winston Baccus
Thanks for the help. I've spent hours combing through things trying to find where else I might be using Modules Anywhere that might be causing the issue, but I'm at a loss.

I did fix the {module Toolbar - Search} reference, but I'm still having the issue after looking through all of my menus and modules. I'm pretty sure the only call to modules anywhere that's still active is the Login one that is triggering from the menu toolbar. Even if I turn that module off, I'm still getting the white screen on the search.

And what's weird is sometimes the search works, but most of the time it doesn't.

But it works if modules anywhere is turned off.
Peter van Westen's Avatar Peter van Westen ADMIN
Switch Modules Anywhere of and search through the html output for {module} occurrences.
Please post a rating at the Joomla! Extensions Directory
Winston Baccus's Avatar Winston Baccus
I actually did that. The only thing that shows up now is {module id="267"}
267 is a login module.

I just fixed it. Here's what solved it, in case this helps you with a code improvement.

I had a menu item with a URL that called #modal-login

I had a custom module with the modal content:
<div id="modal-login" uk-modal>
<div class="uk-modal-dialog uk-modal-body">
{module id="267"}
</div>
</div>

Which was loading module 267, which was just a login module.

On a hunch, I took the code that was in the custom module and instead included it into the footer of my site instead of loading it via a module.

Once I did that, the error was gone.

So, the issue seemed to come from using Modules Anywhere code inside of a module.
Peter van Westen's Avatar Peter van Westen ADMIN
Is the module trying to include itself?
Please post a rating at the Joomla! Extensions Directory
Winston Baccus's Avatar Winston Baccus
No. 2 completely different modules.
Peter van Westen's Avatar Peter van Westen ADMIN
It is difficult to debug things if your site is just returning blank. It is not clear why that would happen.
Even with debugging on and Error Reporting set to maximum.

Do you have something on the server side preventing errors from showing up (maybe ask the host)?
Do you see anything in your error logs pointing to an error?
Please post a rating at the Joomla! Extensions Directory
Winston Baccus's Avatar Winston Baccus
I've wondered that myself when trying to troubleshoot in the past.

I'll look into it and let you know.
You can only post on this forum if you log in