Database tables wiped out suddenly
Posted: Wed Sep 14, 2016 7:08 pm
Hi!
I had installed cmsms 2.1.3 on my website. It runned smoothly about 5 months, but a couple of days ago suddenly my page contents dissappeared. I recovered website live with a week old backup and updated my cmsms to 2.1.5.
Today I was updating content but then my user accounts table cleared and I was unable to log in. I recovered website live back with database backup taked earlier today.
Before todays crash I updated Slideshows, content and news. I upload files via TinyMCE Responsive File Manager. There have been error message with that plugin language file. I'm from Finland, but there is no language support with Finland, so I have made new language file named "fi_FI.php" which is copy of english language.
Now I have made these updates again to try to find which trigger this crash, with no luck.
I just tought that might there been any problems with database? It seems that everything with settings are right. I found out that all my database tables are MyISAM but my database default setting is INNODB. May that cause something problems? Database encoding is utf8_8general_ci like all my tables.
I know that some files are uploaded with special characters like ä and ö and white space. Can these cause problems?
I don't see any proof of hacking eather. All files looks normal and website content too.
Only some db tables are cleared out.
If you guys have any suggestions what to do I will be very grateful. If you need more info please ask me. I update also new errors.
My file checksum looks clear. Only problems with some language files:
9 Files Not found
Files Not found:
/admin/lang/ext/uk_UA.php
/admin/lang/ext/so_SO.php
/admin/lang/ext/rm_CH.php
/admin/lang/ext/fa_FA.php
/admin/lang/ext/eo_UY.php
/admin/lang/ext/mn_MN.php
/admin/lang/ext/vi_VN.php
/admin/lang/ext/gl_GL.php
/admin/lang/ext/iw_IL.php
20 Files failed md5sum check:
/modules/CMSMailer/lang/ext/fa_FA.php
/modules/CMSMailer/lang/ext/iw_IL.php
/modules/MenuManager/lang/ext/rm_CH.php
/modules/MenuManager/lang/ext/fa_FA.php
/modules/MenuManager/lang/ext/iw_IL.php
/modules/News/lang/ext/fa_FA.php
/modules/News/lang/ext/mn_MN.php
/modules/News/lang/ext/vi_VN.php
/modules/News/lang/ext/iw_IL.php
/modules/MicroTiny/lang/ext/fa_FA.php
/modules/MicroTiny/lang/ext/vi_VN.php
/modules/MicroTiny/lang/ext/iw_IL.php
/modules/FileManager/lang/ext/fa_FA.php
/modules/FileManager/lang/ext/iw_IL.php
/modules/Search/lang/ext/rm_CH.php
/modules/Search/lang/ext/fa_FA.php
/modules/Search/lang/ext/iw_IL.php
/modules/ModuleManager/lang/ext/rm_CH.php
/modules/ModuleManager/lang/ext/fa_FA.php
/modules/ModuleManager/lang/ext/iw_IL.php
----------------------------------------------
Cms Version: 2.1.5
Installed Modules:
AdminSearch: 1.0.2
CMSContentManager: 1.1.1
CMSMailer: 6.2.14
DesignManager: 1.1.1
FileManager: 1.5.2
FormBuilder: 0.8.1.4
Gallery: 2.1.6
MenuManager: 1.50.2
MicroTiny: 2.0.3
ModuleManager: 2.0.4
Navigator: 1.0.3
News: 2.50.5
Search: 1.50.2
Showtime2: 3.4.5
ThemeManager: 1.1.8
TinyMCE: 3.1.3
Config Information:
php_memory_limit:
max_upload_size: 20000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: Europe/Helsinki
permissive_smarty: false
Php Information:
phpversion: 5.6.24
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_ALL: 22519
E_STRICT: 0
E_DEPRECATED: 0
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
memory_limit: 128M
max_execution_time: 60
register_globals: Off (False)
output_buffering: 4096
disable_functions:
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 20M
upload_max_filesize: 20M
session_save_path: /tmp (0777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
check_ini_set: On (True)
curl: On
Performance Information:
allow_browser_cache: Off (False)
browser_cache_expiry: 60
php_opcache: On (True)
smarty_cache: Off (False)
smarty_compilecheck: Off (False)
smarty_cache_udt: Off (False)
auto_clear_cache_age: On (True)
Server Information:
Server Software: Apache
Server Api: cgi-fcgi
Server Os: Linux 2.6.18-410.el5 On x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 5.5.45
Server Db Grants: Could not find a suitable "GRANT ALL" permission, this does not necessarily lead to problems... But if you have problems installing/removing modules or adding and deleting items/pages this could be the cause!
Permission Information:
tmp: mywebsite/public_html/tmp (0775)
tmp_cache: mywebsite/public_html/tmp/cache (0775)
templates_c: mywebsite/public_html/tmp/templates_c (0775)
modules: mywebsite/public_html/modules (0775)
uploads: mywebsite/public_html/uploads (0775)
Tiedostojen luontimaski (umask): mywebsite/public_html/tmp/cache (0775)
config_file: 0444
----------------------------------------------
I had installed cmsms 2.1.3 on my website. It runned smoothly about 5 months, but a couple of days ago suddenly my page contents dissappeared. I recovered website live with a week old backup and updated my cmsms to 2.1.5.
Today I was updating content but then my user accounts table cleared and I was unable to log in. I recovered website live back with database backup taked earlier today.
Before todays crash I updated Slideshows, content and news. I upload files via TinyMCE Responsive File Manager. There have been error message with that plugin language file. I'm from Finland, but there is no language support with Finland, so I have made new language file named "fi_FI.php" which is copy of english language.
Now I have made these updates again to try to find which trigger this crash, with no luck.
I just tought that might there been any problems with database? It seems that everything with settings are right. I found out that all my database tables are MyISAM but my database default setting is INNODB. May that cause something problems? Database encoding is utf8_8general_ci like all my tables.
I know that some files are uploaded with special characters like ä and ö and white space. Can these cause problems?
I don't see any proof of hacking eather. All files looks normal and website content too.
Only some db tables are cleared out.
If you guys have any suggestions what to do I will be very grateful. If you need more info please ask me. I update also new errors.
My file checksum looks clear. Only problems with some language files:
9 Files Not found
Files Not found:
/admin/lang/ext/uk_UA.php
/admin/lang/ext/so_SO.php
/admin/lang/ext/rm_CH.php
/admin/lang/ext/fa_FA.php
/admin/lang/ext/eo_UY.php
/admin/lang/ext/mn_MN.php
/admin/lang/ext/vi_VN.php
/admin/lang/ext/gl_GL.php
/admin/lang/ext/iw_IL.php
20 Files failed md5sum check:
/modules/CMSMailer/lang/ext/fa_FA.php
/modules/CMSMailer/lang/ext/iw_IL.php
/modules/MenuManager/lang/ext/rm_CH.php
/modules/MenuManager/lang/ext/fa_FA.php
/modules/MenuManager/lang/ext/iw_IL.php
/modules/News/lang/ext/fa_FA.php
/modules/News/lang/ext/mn_MN.php
/modules/News/lang/ext/vi_VN.php
/modules/News/lang/ext/iw_IL.php
/modules/MicroTiny/lang/ext/fa_FA.php
/modules/MicroTiny/lang/ext/vi_VN.php
/modules/MicroTiny/lang/ext/iw_IL.php
/modules/FileManager/lang/ext/fa_FA.php
/modules/FileManager/lang/ext/iw_IL.php
/modules/Search/lang/ext/rm_CH.php
/modules/Search/lang/ext/fa_FA.php
/modules/Search/lang/ext/iw_IL.php
/modules/ModuleManager/lang/ext/rm_CH.php
/modules/ModuleManager/lang/ext/fa_FA.php
/modules/ModuleManager/lang/ext/iw_IL.php
----------------------------------------------
Cms Version: 2.1.5
Installed Modules:
AdminSearch: 1.0.2
CMSContentManager: 1.1.1
CMSMailer: 6.2.14
DesignManager: 1.1.1
FileManager: 1.5.2
FormBuilder: 0.8.1.4
Gallery: 2.1.6
MenuManager: 1.50.2
MicroTiny: 2.0.3
ModuleManager: 2.0.4
Navigator: 1.0.3
News: 2.50.5
Search: 1.50.2
Showtime2: 3.4.5
ThemeManager: 1.1.8
TinyMCE: 3.1.3
Config Information:
php_memory_limit:
max_upload_size: 20000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: Europe/Helsinki
permissive_smarty: false
Php Information:
phpversion: 5.6.24
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_ALL: 22519
E_STRICT: 0
E_DEPRECATED: 0
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
memory_limit: 128M
max_execution_time: 60
register_globals: Off (False)
output_buffering: 4096
disable_functions:
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 20M
upload_max_filesize: 20M
session_save_path: /tmp (0777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
check_ini_set: On (True)
curl: On
Performance Information:
allow_browser_cache: Off (False)
browser_cache_expiry: 60
php_opcache: On (True)
smarty_cache: Off (False)
smarty_compilecheck: Off (False)
smarty_cache_udt: Off (False)
auto_clear_cache_age: On (True)
Server Information:
Server Software: Apache
Server Api: cgi-fcgi
Server Os: Linux 2.6.18-410.el5 On x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 5.5.45
Server Db Grants: Could not find a suitable "GRANT ALL" permission, this does not necessarily lead to problems... But if you have problems installing/removing modules or adding and deleting items/pages this could be the cause!
Permission Information:
tmp: mywebsite/public_html/tmp (0775)
tmp_cache: mywebsite/public_html/tmp/cache (0775)
templates_c: mywebsite/public_html/tmp/templates_c (0775)
modules: mywebsite/public_html/modules (0775)
uploads: mywebsite/public_html/uploads (0775)
Tiedostojen luontimaski (umask): mywebsite/public_html/tmp/cache (0775)
config_file: 0444
----------------------------------------------