500 Internal Error after tweaking a themes function.php
-
Hey guys i know this has been posted over and over and over, but i am getting the same 500 internal server error only on the admin side. I was getting the error on both sides after i added a line in the themes function.php file.. i added (if( !is_admin() ){
wp_deregister_script(‘jquery’);
wp_register_script(‘jquery’, (“https://code.jquery.com/jquery-latest.min.js”), false, ”);
wp_enqueue_script(‘jquery’);(which i probably didn’t need to do in the first place but the wp-ecommerce wasn’t working and i thought that calling the jquery in the header would have worked,) ,,, i tried everything, re-naming the .htaccess (which restored the site but not the admin area) i uploaded a php.ini file with a 64MB memory limit, this did nothing, i renamed the theme that caused the error and still same problem. I even re-installed the WP-admin folder and the WP-contains folder and nothing. i checked the error logs as well and i get this error [MYsite.com/wp-admin/index.php
PHP Warning: require_once(wp-admin/includes/misc.php): failed to open stream: Permission denied in /wp-admin/includes/admin.php on line 35
PHP Fatal error: require_once(): Failed opening required ‘wp-admin/includes/misc.php’ (include_path=’.:/usr/local/lib/php-5.3.13/lib/php’) in wp-admin/includes/admin.php on line 35 ] i don’t really have half a clue what this means but i noticed that the misc.php file was missing and i added it from a fresh “contains” folder and,,,,,, nothing. I even tried going through wp-login.php which the guys at fatcow recommended and i see the login area and then when i click login,, you guessed it NOTHING!! haha this issue is tearing me apart here guys,, if i could get ANY HELP at all i would be most grateful ….
- The topic ‘500 Internal Error after tweaking a themes function.php’ is closed to new replies.