I’ve been working on trying to figure out what the problem is. The plugin uses 20M of memory when it’s activated compared to being inactive but when I start to use it, it jumps to 45M.
Plugin Author
phd38
(@phd38)
Hello,
I never tried with such a huge number of photos. In case of database query timeout, I would expect a server timeout message, not a 404.
Concerning the memory allocation, the structure created in the plugin points to the different photos, which are then loaded on demand.
Do you have any suggestions on what I can do to pinpoint the problem?
Plugin Author
phd38
(@phd38)
How fast do you get the 404 ?
Plugin Author
phd38
(@phd38)
I am working since Christmas on the version 4.0 of the MediaTagger plugin.
I re-engineering it to have it embedded in an object instead of a set of routines. This will minimize the risk of conflict with any other piece of code.
One thing we can try is to have you installing this 4.0* beta (it’s still in english, I did not complete the localization to other language but it should not bother) and check if you still face the same issue.
I used it for about 4 or 5 hours (tagging photos), about 7 or 8 hours later when I was using the website again I started getting the 404’s.
Where can I get the beta version?
Thanks so much for your help.
I take that back. Trying it again tonight and within the 3rd photo I was tagging, I clicked to hide the ‘show setup panel’ and it went to a 404 page. It also did it when I clicked “set and next”, so not even 5 minutes of use and it was starting with the 404s.
Another error database connection, turned off the plugin and it started working again.
I found and downloaded the beta version. Have been using it for 6 hours and no problems, but then again it was okay the first time I used it for about that long. If it continues to go okay the rest of the day I’ll mark the topic as resolved.
Spoke too soon. I had one page open to fix/edit a post and also had the MediaTagger open. Received this message when I updated the post. Not sure if you can make anything from it, I don’t understand it.
MYSQL query returned error executing query "SELECT DISTINCT object_id FROM wp_term_relationships_img WHERE 1" :
=> MySQL server has gone away
Warning: Invalid argument supplied for foreach() in /home/hidden/public_html/wp-content/plugins/wp-mediatagger/mediatagger-lib.php on line 1493
MYSQL query returned error executing query "SELECT term_taxonomy_id, tax.term_id, slug, name FROM wp_term_taxonomy AS tax INNER JOIN wp_terms AS ter ON tax.term_id = ter.term_id WHERE tax.taxonomy = "post_tag" " :
=> MySQL server has gone away
Warning: array_walk() expects parameter 1 to be array, string given in /home/hidden/public_html/wp-content/plugins/wp-mediatagger/mediatagger-lib.php on line 1268
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/hidden/public_html/wp-content/plugins/wp-mediatagger/mediatagger-lib.php on line 1279
Warning: uasort() expects parameter 1 to be array, null given in /home/hidden/public_html/wp-content/plugins/wp-mediatagger/mediatagger-lib.php on line 1282
Warning: Invalid argument supplied for foreach() in /home/hidden/public_html/wp-content/plugins/wp-mediatagger/mediatagger-lib.php on line 1303
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/hidden/public_html/wp-content/plugins/wp-mediatagger/mediatagger-lib.php:1217) in /home/hidden/public_html/wp-content/plugins/browser-blocker/browser_blocker.php on line 739
Warning: Cannot modify header information - headers already sent by (output started at /home/hidden/public_html/wp-content/plugins/wp-mediatagger/mediatagger-lib.php:1217) in /home/hidden/public_html/wp-content/plugins/stop-spammer-registrations-plugin/stop-spammer-registrations.php on line 93
Warning: Cannot modify header information - headers already sent by (output started at /home/hidden/public_html/wp-content/plugins/wp-mediatagger/mediatagger-lib.php:1217) in /home/hidden/public_html/wp-includes/pluggable.php on line 896
Plugin Author
phd38
(@phd38)
You cannot access yet the beta, it’s still on my PC and nowhere else.
Regarding your message it confirms the issue is on the SQL server which goes in time out.
Plugin Author
phd38
(@phd38)
If it works sometime it’s probably because the server is less loaded by other users, and able to respond faster, without exceeding the timeout.
Oh, ok. Do you know what I can do to fix it or what to look for to fix it?
Plugin Author
phd38
(@phd38)
When it happens, can you notice a specific latency ?
Like how long it takes to try to load after I click? 5-10 seconds or thereabouts.