Fixed Views loading continuously and not working

elmarra

Administrator
HI.
I upgraded my site from j3 to j4 and am having a strange problem with the views configuration.
Practically when I try to set a view and select the method: fullcalendar or maps there is the endless loading wheel, it loads the database data, but it doesn't stop spinning.
This way it doesn't work in the back-end or front-end.
I tried to replicate the event on other sites. both existing and newly created and this problem does not present it.
So I decided to activate Joomla debugging and as if by magic the error disappeared.
Same thing if I add the debug fabrik to the url.
I really don't know how to fix the problem!
On all my test sites same version joomla, php, and fabrik 4.1.
But it seems to be a problem related to my site!
I tried everything but couldn't resolve the cause.
And by activating debug it works correctly!
How can I trace the problem?
Thank you
As you can see below it loads the db correctly, but it doesn't stop running and therefore doesn't make it work.
But if I activate Joomla system debugging this is resolved
 

Attachments

  • Immagine 2024-07-04 103652.png
    Immagine 2024-07-04 103652.png
    40.6 KB · Views: 164
You did upgrade to F4?
Yes, Updated to j4 and F4.
Clone of the same site on the same environment doesn't give me any errors.
The only thing that was different was that I deleted some old extensions that were not compatible with j4 and didn't use them.
 
So I decided to activate Joomla debugging and as if by magic the error disappeared.
Same thing if I add the debug fabrik to the url.
I assume in both cases it will run the uncompressed JS files (you can check in your browser console in Resources). Maybe one of the minified ones is corrupted (or got deleted with these old extensions? although I can't imagine...)

Can you try to re-install your latest Fabrik version (resp. 4.2, which is out just now)?
 
Last edited:
Can you try to re-install your latest Fabrik version?
Yes, I have already tried reinstalling Fabrik.
BUT nothing, I also installed jquery easy to try to resolve a possible conflict but nothing.
there is something about deleting the extensions that created the problem.
But I just can't solve it. Also because they were old extensions and not compatible with j4.
I really don't know how to solve it
 
Question:
You screenshot is showing a list name.
So the list of list is loaded and a list can be selected, it's just still showing the spinner?
And the visualization is working?

If this is the case I think you can simply ignore it.
 
Yes exactly! The database and lists as well as elements are loaded, displayed and selected.
But the spinner keeps spinning and that doesn't make it work.The view doesn't work, and if you select "add" the popup only shows the spinner
 
So you can also select the StartDateElement etc. in your example?

But you don't see a JS error nor in the backend during editing the visualization nor in the frontend "Add"?
And it's also with a new visualisation on this this site?

Do you have any JS and/or CSS compression?
All Joomla and browser cache deleted?
 
That's right, I can select and configure everything. No js errors. No js and CSS compression.
Even if configured, the spinner continues to spin, blocking the function.
It fixes itself if I enable Joomla debugging. But as soon as I turn it off it stops working
 
What happens if you set Allow fabrikDebug=debugJS in Fabrik Options (and disable J! system debug).
Is it still working?
 
I managed to get these errors.
But I've tried everything. and I can't solve the problem
 

Attachments

  • Immagine 2024-07-04 233601.png
    Immagine 2024-07-04 233601.png
    87.4 KB · Views: 173
  • Immagine 2024-07-04 233532.png
    Immagine 2024-07-04 233532.png
    219 KB · Views: 163
Unexpected token < usually is pointing to an error message which is breaking the expected JSON response.
Have a look in your browser dev tool in the "Response" tab. There you should find the underlying error message/warning/notice.
 
I can not find.
I also tried to update the media folder, and install jquery.
Every now and then it worked, but then suddenly it stops working.
I tried with chrome it seems to work, but it is still full of errors.

Site

If you can take a look at the link to the site
 
Good morning everyone,
I was finally able to exclude errors in the console.
And also play it in other newly installed sites.
It basically depends on the SEF settings.
By setting:
enable url sef: yes
rewrite url sef: yes
url suffix: yes
It gives me that error and the display doesn't work for me.
So if I disable everything in sef settings it works fine.
Is it to be solved via htaccess?
If so, can you give me some pointers?
Thank you
 
When you enabled sef did you also rename thaccess.txt to .htaccess? Or use the admin tools htaccessmaker?
 
Back
Top