Problem with possibly the database and .htaccess settings
-
Hello guys
I have recently install this plugin Image Upload HTTP Error Fix https://lud.icro.us/wordpress-plugin-image-upload-http-error-fix/ in my wordpress 2.7.1 because i was having problems with flash upload. Once i installed it nothing happened and i have try to manually create an .htaccess file that contains<IfModule mod_security.c> <Files upload.php> SecFilterEngine Off SecFilterScanPOST Off </Files> </IfModule>
and insert it on my root folder.Nothing happens and i try to let wordpress create again this file by editing the permalinks and selecting something else than the default choise and press save. then i encunter this problem:
500 Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I have try to delete the .htaccess file and the problem has been solved but then i have went again to permalinks and i have hit save without changing anything and the problem have been shown again. i wasnt able to fix it as there hasnt any .htaccess file to delete.
I have try to upload a backup from a previous state, Just before the update from 2.6 to 2.7.1 (when we have delete the wp_admin and wp_includes folder and we are ready to upload the new files and to change the database etc etc..To be specific after step 1 action 2 in this tutorial https://codex.www.ads-software.com/Upgrading_WordPress unfortunatelly, i didnt have a backup of the database). I don’t know if this was a bad thing but nothing happen. im still getting this error and i cant understand why after i have upload a backup.Does it have something to do with the database? how i can fix this problem?
This is the error log if this helps is there any way to make the database structure like it should be when you have the default wordpress 2.7.1 settings?[18-Oct-2008 23:44:30] PHP Warning: require_once(/home/bstefano/public_html/arthra/wp-content/themes/default/header.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/bstefano/public_html/arthra/wp-includes/theme.php on line 472 [18-Oct-2008 23:44:30] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/bstefano/public_html/arthra/wp-content/themes/default/header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bstefano/public_html/arthra/wp-includes/theme.php on line 472 [19-Oct-2008 00:28:51] WordPress database error MySQL server has gone away for query SELECT * FROM wp_posts, wp_postmeta WHERE wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = '_pingme' LIMIT 1 made by do_all_pings [19-Oct-2008 00:28:51] WordPress database error MySQL server has gone away for query SELECT * FROM wp_posts, wp_postmeta WHERE wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = '_encloseme' LIMIT 1 made by do_all_pings [19-Oct-2008 00:28:51] WordPress database error MySQL server has gone away for query SELECT ID FROM wp_posts WHERE to_ping <> '' AND post_status = 'publish' made by do_all_pings [19-Oct-2008 00:28:51] WordPress database error MySQL server has gone away for query UPDATE wp_options SET option_value = '0' WHERE option_name = 'doing_cron' made by update_option [19-Oct-2008 00:57:45] PHP Parse error: syntax error, unexpected '?' in /home/bstefano/public_html/arthra/wp-content/themes/default/archive.php on line 9 [19-Oct-2008 00:57:50] PHP Parse error: syntax error, unexpected '?' in /home/bstefano/public_html/arthra/wp-content/themes/default/archive.php on line 9 [19-Oct-2008 01:29:33] PHP Warning: require_once(/home/bstefano/public_html/arthra/wp-content/themes/default/header.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/bstefano/public_html/arthra/wp-includes/theme.php on line 472 [19-Oct-2008 01:29:33] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/bstefano/public_html/arthra/wp-content/themes/default/header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bstefano/public_html/arthra/wp-includes/theme.php on line 472 [19-Oct-2008 01:54:21] PHP Parse error: syntax error, unexpected '?' in /home/bstefano/public_html/arthra/wp-content/themes/default/archive.php on line 9 [25-Oct-2008 23:30:38] PHP Warning: require_once(/home/bstefano/public_html/arthra/wp-content/themes/default/header.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/bstefano/public_html/arthra/wp-includes/theme.php on line 472 [25-Oct-2008 23:30:38] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/bstefano/public_html/arthra/wp-content/themes/default/header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bstefano/public_html/arthra/wp-includes/theme.php on line 472 [05-Feb-2009 23:15:33] WordPress database error MySQL server has gone away for query UPDATE wp_options SET option_value = 'O:8:\"stdClass\":5:{s:12:\"last_checked\";i:1233868512;s:15:\"version_checked\";s:5:\"2.6.2\";s:8:\"response\";s:7:\"upgrade\";s:3:\"url\";s:30:\"https://www.ads-software.com/download/\";s:7:\"current\";s:3:\"2.7\";}' WHERE option_name = 'update_core' made by update_option [05-Feb-2009 23:15:33] WordPress database error MySQL server has gone away for query UPDATE wp_options SET option_value = 'O:8:\"stdClass\":5:{s:12:\"last_checked\";i:1233868512;s:15:\"version_checked\";s:5:\"2.6.2\";s:8:\"response\";s:7:\"upgrade\";s:3:\"url\";s:30:\"https://www.ads-software.com/download/\";s:7:\"current\";s:3:\"2.7\";}' WHERE option_name = 'update_core' made by update_option [05-Feb-2009 23:15:33] WordPress database error MySQL server has gone away for query SELECT option_value FROM wp_options WHERE option_name = 'rewrite_rules' LIMIT 1 made by get_option [05-Feb-2009 23:15:33] WordPress database error MySQL server has gone away for query UPDATE wp_options SET option_value = '1233868563' WHERE option_name = 'doing_cron' made by update_option [05-Feb-2009 23:15:33] WordPress database error MySQL server has gone away for query SELECT comment_date_gmt FROM wp_comments WHERE comment_approved = '1' ORDER BY comment_date_gmt DESC LIMIT 1 made by get_lastcommentmodified [05-Feb-2009 23:15:33] WordPress database error MySQL server has gone away for query UPDATE wp_options SET option_value = 'a:3:{i:1233861342;a:1:{s:17:\"wp_update_plugins\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:10:\"twicedaily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:43200;}}}i:1233904542;a:1:{s:17:\"wp_update_plugins\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:10:\"twicedaily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:43200;}}}s:7:\"version\";i:2;}' WHERE option_name = 'cron' made by update_option [05-Feb-2009 23:15:33] WordPress database error MySQL server has gone away for query UPDATE wp_options SET option_value = 'a:2:{i:1233904542;a:1:{s:17:\"wp_update_plugins\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:10:\"twicedaily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:43200;}}}s:7:\"version\";i:2;}' WHERE option_name = 'cron' made by update_option [05-Feb-2009 23:15:33] WordPress database error MySQL server has gone away for query SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.ID = 78 AND wp_posts.post_type = 'post' ORDER BY wp_posts.post_date DESC made by get_posts [05-Feb-2009 23:15:34] WordPress database error MySQL server has gone away for query UPDATE wp_options SET option_value = 'O:8:\"stdClass\":3:{s:12:\"last_checked\";i:1233868533;s:7:\"checked\";a:2:{s:19:\"akismet/akismet.php\";s:5:\"2.2.1\";s:9:\"hello.php\";s:3:\"1.5\";}s:8:\"response\";a:1:{s:19:\"akismet/akismet.php\";O:8:\"stdClass\":5:{s:2:\"id\";s:2:\"15\";s:4:\"slug\";s:7:\"akismet\";s:11:\"new_version\";s:5:\"2.2.3\";s:3:\"url\";s:44:\"https://www.ads-software.com/extend/plugins/akismet/\";s:7:\"package\";s:49:\"https://downloads.www.ads-software.com/plugin/akismet.zip\";}}}' WHERE option_name = 'update_plugins' made by update_option [05-Feb-2009 23:15:34] WordPress database error MySQL server has gone away for query UPDATE wp_options SET option_value = '0' WHERE option_name = 'doing_cron' made by update_option
- The topic ‘Problem with possibly the database and .htaccess settings’ is closed to new replies.