One I noticed was a topic that had a youtube video embedded in it before the update to 5.0. I deleted that topic. But here is another one that only loads part way. I more I browse around the forum the more I find topics that won’t fully load too. It stops right after the topic title.
Support Forum
looks like some sort of php error stopping the script… check forum – toolbox – error log…
if anything there, would suggest emptying it and then visiting a page that has an issue… and go back to the error log to see if any info…
I cleared the error logs and visited the thread again, it didn’t fully load. So I checked the error log and it’s empty still.
can you check your server error logs too? we only trap errors during sp procsesing there… something seems to be interrupting the page rendering…
There was a error log but was pretty big, to big to look threw, so I deleted it. Then visited the broken topic a few times, no error logs generated yet.
But I check the logs from Simple:Press again a day later after clearing them and this is what i have.
| Date | Type | Description |
|---|---|---|
| 02.26.2012
12:16 pm |
php | file: /simple-press/sp-startup/admin/spa-admin-menu.php
line: 79 function: spa_setup_admin_menu Notice | Use of undefined constant WPLANG – assumed ‘WPLANG’ |
| 02.26.2012
12:15 pm |
php | file: /simple-press/sp-startup/admin/spa-admin-menu.php
line: 79 function: spa_setup_admin_menu Notice | Use of undefined constant WPLANG – assumed ‘WPLANG’ |
| 02.26.2012
12:15 pm |
php | file: /simple-press/sp-startup/admin/spa-admin-menu.php
line: 79 function: spa_setup_admin_menu Notice | Use of undefined constant WPLANG – assumed ‘WPLANG’ |
| 02.25.2012
10:17 pm |
database | file: /problem-with-post-edit-buttonome/me/public_html/wp-content/plugins/simple-press/forum/content/classes/sp-list-topic-class.php
line: 165 function: select error: Got error -1 from storage engine SELECT wp_sftopics.forum_id, forum_name, forum_slug, wp_sftopics.topic_id, topic_name, topic_slug, wp_sftopics.post_count, wp_sftopics.post_id, post_status, post_index, post_date, guest_name, wp_sfposts.user_id, post_content, display_name FROM wp_sftopics JOIN wp_sfforums ON wp_sfforums.forum_id = wp_sftopics.forum_id JOIN wp_sfgroups ON wp_sfgroups.group_id = wp_sfforums.group_id JOIN wp_sfposts ON wp_sfposts.post_id = wp_sftopics.post_id LEFT JOIN wp_sfmembers ON wp_sfmembers.user_id = wp_sfposts.user_id WHERE wp_sftopics.topic_id IN (950,949,947,948,946,695,3,143,942,941,940,939,938,936,937,929,935,930,104,933) ORDER BY group_seq, forum_seq, wp_sftopics.post_id DESC |
| 02.25.2012
10:17 pm |
database | file: /problem-with-post-edit-buttonome/me/public_html/wp-content/plugins/simple-press/forum/content/classes/sp-group-view-class.php
line: 241 function: select error: Got error -1 from storage engine SELECT wp_sfgroups.group_id, group_name, group_desc, group_rss, group_icon, group_message, forum_id, forum_name, forum_slug, forum_desc, forum_status, forum_icon, forum_rss_private, post_id, post_id_held, topic_count, post_count, post_count_held, parent, children FROM wp_sfgroups JOIN wp_sfforums ON wp_sfgroups.group_id = wp_sfforums.group_id ORDER BY group_seq, forum_seq |
interesting on the WPLANG… will look into it but it will not cause an issue… just a notice… and probably because you are not translating your forum but will check…
the other two are more troubling and say your mysql server was having problems… and was not functioning… but it probably rebooted and fixed itself… again, probably not related since it was much later…
is it one topic or all??? if one or few, perhaps try: http://wiki.simple-press.com/faq-answers/increase-backtrack-limit/
It’s not all topics, but the more I look around the more I find topics that don’t load fully. I tried what the wiki doc said and still no dice. This is what I tried in the wp-config file:
ini_set('pcre.backtrack_limit', 10000000000); // Simple:Press Fix
do you know how to check, optimise and optionally repair your database? All available from phpMyAdmin? Because that is what I would be doing.
Error 1 can be caused by a lack of disk space available to mySQL or possibly a full tmp folder.
I optimized the database and repaired all the sf database tables. Still notta. I’ll look into the tmp folder.
Current Disk Usage
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 15G 1.7G 13G 13% /
/dev/sda7 206G 63G 132G 33% /var
/dev/sda6 4.9G 171M 4.5G 4% /tmp
/dev/sda2 39G 8.4G 29G 23% /usr
/dev/sda1 996M 53M 892M 6% /boot
tmpfs 500M 1.9M 499M 1% /dev/shm
/dev/sdb1 2.7T 105G 2.5T 5% /problem-with-post-edit-buttonome
none 12G 732K 12G 1% /var/spool/exim
tmpfs 2.0G 8.0K 2.0G 1% /var/mysqltmp
I think Andy meant the temp table in mysql… hopefully he will still be back by today…
Temporary data
Variable Value Description
Created_tmp_disk_tables 2.8 M The number of temporary tables on disk created automatically by the server while executing statements. If Created_tmp_disk_tables is big, you may want to increase the tmp_table_size value to cause temporary tables to be memory-based instead of disk-based.
Created_tmp_files 2.7 k How many temporary files mysqld has created.
Created_tmp_tables 4.9 M The number of in-memory temporary tables created automatically by the server while executing statements.
Well if the sql engine problem has not continued then I think you have to go back to look at the php error logs on the server.
One other thing that may be worth looking into. Can you discover if there is any consistent factor about where topics stop displaying. I.e., is the next or previous post posted by the same user? Anything else that might be a common factor?
They all stop loading in the same place, some more examples below. These example topics are within this section. Doesn’t matter if your logged in or out. Seems like most are broken, with very few actually loading.
http://www.ps3blog.net/community/website-related/forum-features/
http://www.ps3blog.net/community/website-related/want-to-be-a-writer-for-ps3blognet/
http://www.ps3blog.net/community/website-related/poll-ideas/
http://www.ps3blog.net/community/website-related/ps3blog-net-fan-userbar/
http://www.ps3blog.net/community/website-related/game-night-fighting/
http://www.ps3blog.net/community/website-related/ps3blog-net-on-google-currents/
http://www.ps3blog.net/community/problem-with-post-edit-buttonome-theater/post-your-gaming-setup/
Checked the server error logs today and here are some items related to sp:
[27-Feb-2012 04:24:03] WordPress database error MySQL server has gone away for query UPDATE `wp_sfoptions` SET `option_value` = ‘a:10:{s:7:"dayflag";s:2:"23";s:8:"hourflag";s:2:"13";s:9:"maxonline";s:3:"349";s:11:"membercount";s:4:"2213";s:10:"guestcount";i:140;s:9:"fourofour";b:1;s:12:"showtopcount";s:1:"5";s:12:"shownewcount";s:1:"0";s:9:"statslist";a:7:{i:0;O:8:"stdClass":5:{s:7:"user_id";s:2:"59";s:12:"display_name";s:4:"Tosh";s:5:"posts";s:3:"979";s:5:"admin";s:1:"1";s:9:"moderator";s:1:"0";}i:1;O:8:"stdClass":5:{s:7:"user_id";s:3:"363";s:12:"display_name";s:3:"Jay";s:5:"posts";s:3:"478";s:5:"admin";s:1:"1";s:9:"moderator";s:1:"0";}i:2;O:8:"stdClass":5:{s:7:"user_id";s:3:"624";s:12:"display_name";s:4:"EdEN";s:5:"posts";s:3:"631";s:5:"admin";s:1:"0";s:9:"moderator";s:1:"0";}i:3;O:8:"stdClass":5:{s:7:"user_id";s:3:"475";s:12:"display_name";s:3:"oly";s:5:"posts";s:3:"504";s:5:"admin";s:1:"0";s:9:"moderator";s:1:"0";}i:4;O:8:"stdClass":5:{s:7:"user_id";s:2:"63";s:12:"display_name";s:5:"Eddie";s:5:"posts";s:3:"353";s:5:"admin";s:1:"0";s:9:"moderator";s:1:"0";}i:5;O:8:"stdClass":5:{s:7:"user_id";s:4:"1555";s:12:"display_name";s:5:"Pedro";s:5:"posts";s:3:"290";s:5:"admin";s:1:"0";s:9:"moderator";s:1:"0";}i:6;O:8:"stdClass":5:{s:7:"user_id";s:4:"1578";s:12:"display_name";s:11:"Beastxjason";s:5:"posts";s:3:"217";s:5:"admin";s:1:"0";s:9:"moderator";s:1:"0";}}s:11:"newuserlist";a:5:{i:0;a:2:{s:2:"id";s:4:"2653";s:4:"name";s:11:"shimano6000";}i:1;a:2:{s:2:"id";s:4:"2564";s:4:"name";s:6:"evanac";}i:2;a:2:{s:2:"id";s:4:"2652";s:4:"name";s:13:"rubi12ponting";}i:3;a:2:{s:2:"id";s:4:"2647";s:4:"name";s:8:"slacker6";}i:4;a:2:{s:2:"id";s:4:"2637";s:4:"name";s:7:"ToshSan";}}}’ WHERE `option_name` = ‘sfcontrols’ made by require, require_once, do_action, call_user_func_array, sp_404, sp_update_option