We have now opened a commercial services section here on the forum for registered users. If you have a Fabrik project that you wish to have someone work on for you, post it under Help Wanted. If you are an application developer and wish to earn some money helping others, post your details under Fabrik Application Developers.
Both of these are unmoderated. It will be up to both parties to work out the details and come to an agreement.
For running J!5.1 you must https://fabrikar.com/forums/index.php?wiki/update-from-github/ or include the new file manually https://fabrikar.com/forums/index.php?threads/joomla-5-1-and-fabrik-cannot-find-files-error.54473/post-285151 See also Announcements
Not sure how it happened or if it makes a difference but I have mysqli on my server and mysql on felixkat's server.
Attached are my server's MySQL settings as well as felixkat's.
Differences (my host versus felixkat's)
mysql.allow_persistent: off versus on
mysql.connect_timeout: 20 versus 60
mysql.max_links: 60 versus unlimited
My host doesn't allow changing server settings on shared host. Upgrading to a dedicated server would allow me to set whatever I want. My site is just a hobby site really with a very small user base so it is very difficult to justify higher hosting costs.
I chose my host (Site Ground) as it was recommended on the Joomla website as meeting their requirements. I don't mind switching hosts but will I be jumping from one burning ship to another?
@Felixkat: you said you could recommend another host. Please do as I would like to compare their services and prices.
After putting a finger on the slow queries, the puzzle pieces are coming together. I agree switching to a host with less restrictive parameters would work around the problem.This is my settings for MySQL on my servers (with around 30 Joomla sites).
The main difference concerns the connect_timeout (60 sec vs 20 sec on yours) and the allow_persistent on "on".
Since some of your queries are around 20 sec, the problem comes probably from there. Since you can't change that parameter, there is not much you can do except if there is a reason why those queries are so slow.
Yes, this had slipped my mind in all of my confusion. I didn't mean to ignore it sorry. My PHP version is 5.3.14.This was the settings I mentioned on Skype the other night. Can you let me know the PHP version as well on your current server.
Great! When we discussed it I wasn't sure if it was also shared hosting or a dedicated server.I'll send you the details of an alternative host on Skype. You already know it works as you are already using it.
This might have been just me, I was trying different things to get it to connect to the database.Not sure why my site isn't using the mysqli connection, it is on my sites. This can actually be changed in the backend but Joomla suggestion doing it at installation, so it was probably the Akeeba Kickstart that set it to mysql. I'll look into this though as this could be a flaw with their setup.
BTW, I realized I was mistaken about the database server host name not being localhost. I discovered this as I was reading through the settings, it is localhost. I had it confused with the FTP server name.Another factor is that I believe your host is using a seperate mysql server to the webserver. Setup correctly this would be the correct route to take, however for a shared web host it would mean dramitically reducing their timeouts and not allowing persistent connection which is what you are seeing.
I confirm that by default Joomla installer proposes "mysqli" as default while kickstart.php (from Akkeba) proposes "mysql" (at leasts with the old kickstart version I use), so you have to not forget to change it.
Regarding the mysql server, I think all hosting companies have their mysql server separated from the web server, but that has no bearing on the timeout value
Executed 206 min ago for 17 sec on Database --> mypoolst_v1.
SELECT table_name, table_type, engine FROM INFORMATION_SCHEMA.tables WHERE table_name = 'mps_events' AND table_type = 'view' AND table_schema = 'mypoolst_v1
However, a 20 second query seems very excessive. Will this 20 gradually grow until it exceeds the 60 second limit? I think I saw this loading delay on felixkat's server so that would say it is something with my site. I think I will dig more to see what I can find.
The last entry in parameters is: "isview":0One thing you can check in #_fabrik_lists:
what is the the "isview" setting in the record of your mps_events list (last entry in parameters)
I know I haven't done anything with indexes so I will have to look into this.The first thing to check would be indexes and whether you can add any to improve performance. More is not always better though.
/* $$$ hugh - because querying INFORMATION_SCHEMA can be very slow (like minutes!) on
* a shared host, I made a small change. The edit table view now adds a hidden 'isview'
* param, defaulting to -1 on new tables. So the following code should only ever execute
* one time, when a new table is saved.
I know I haven't done anything with indexes so I will have to look into this.
if (!is_null($isView) && (int) $isView >= 0)
{
return $isView;
}
Not sure what you mean by this.In J! debug mode, you should then see almost no time in the profile between "getAsFields: starting to test if a view" and "getAsFields: end of view test".