wordpress admin part is not accesbile after server shifting

There are following possibilities when you cann’t open wp-admin 1.There should be some file missing 2.Some function deny to login in themes files 3.Some plugin may also create issue Solution:- 1.Replace all files from new WordPress except wp-content and wp-config file 1. Rename your theme folder in wp-content 2. Rename Plugins folder in wp-content Hope … Read more

current_user_can(‘manage_options’) causes white screen of death?

Setting display_errors to 1 has let me determine that for some reason wp-includes/pluggable.php was not included while running the plugin, so wp_get_current_user() function was missing. Although I didn’t find the reason of malfunction, thanks to answer to this question I hardcoded plugin by setting following at the beginning: if(!function_exists(‘wp_get_current_user’)) { include(ABSPATH . “wp-includes/pluggable.php”); } Now … Read more

Upgrading to 4.1 fixed parse error

From the error you posted, I suspect that there was some kind of file corruption. The original file /wp-includes/post.php shouldn’t end at line 235. The file should have 5841 lines (in WP version 4.0 and 4.0.1). If it was a file corruption and the error doesn’t appear anymore, the update probably “healed” the damage by … Read more

Allowed memory size exhausted

This is a memory issue and can be handled from the wp-config.php file if the server allows. From what I see you have tried define(‘WP_MEMORY_LIMIT’, ’64M’); which takes care of the front end, but if you still have memory issue in the admin end, then try define( ‘WP_MAX_MEMORY_LIMIT’, ’64M’ ); Please note, this has to … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)