manixware
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: 3.0.4 admin dashboard gives 404Temporarily I applied the solution I found in this post and the admin page loads. I am not sure what solves it, but I know it works. Hence marking the post as [resolved]
http://ww.wp.xz.cn/support/topic/admin-suddenly-becomes-page-not-found?replies=2#post-1936933
Forum: Fixing WordPress
In reply to: Admin suddenly becomes Page Not FoundI noticed the same problem on my blog which I auto upgraded from 2.7.7 to 3.0.x version. It took me a lot of echo “hello world” placements in admin.php to look as to where the problem was.
I Posted this on the forums and also did a google on this line to find this post.
I commented out these lines and voila – works !!
Thanks for the recommendation and posting !!
Regards
Forum: Fixing WordPress
In reply to: 3.0.4 admin dashboard gives 404I do not have a db backup that I know of to be before the upgrade done. However there are a few backups I see.
Further investigations on the admin.php reveals this
I added echo “HEllo World” statements in between lines of codes to trap at which point I get the 404 error.
It turns out that these lines in admin.php have something to do with it. If I insert the check after this if statement, it gives me a 404, before that is fine.
Can some one help me what could be going wrong or being referred to in these lines for the admin module to give a 404 error when I try to login with administrator profile user IDs
if ( current_user_can( 'manage_options' ) ) @ini_set( 'memory_limit', apply_filters( 'admin_memory_limit', '256M' ) );Help appreciated.
Regards
Forum: Fixing WordPress
In reply to: 3.0.4 admin dashboard gives 404btw : manixware.com/blog
Forum: Fixing WordPress
In reply to: 3.0.4 admin dashboard gives 404Hi,
Going through earlier posts on this forum, I have already done all of these steps.
The twentyone theme is active and is also reflected in the relevant parameters in the wp_options db.
The plugins folder is empty as well as the active plugins reset as in the link in your post with the necessary wp_options update.
A manual upgrade.php displays “Your WordPress database is already up-to-date!”
I am also adding echo statements at various points in scripts to check for path and script execution :
1) Echo the ABSPATH variable in wp-config.php. Correctly reflects my blog path correctly.
2) Adding echo statements at various points in admin.php and access the wp-admin page to check if the comments show up. So far it looks good, but there is some time to go.
Also looking for a primer on how to manually edit, add wp_capabilities add on to “edit_users” to existing author and editors option.
Appreciate help, and would like to fix this install manually using as much help as I an get short of having to backup the posts and comments db and doing a a scratch install. This is helping me explore the software like never before .
Please give me as many advanced trouble shooting steps as well to close this.