• Resolved DanMSchell

    (@danmschell)


    When entering the site with the admin name/wp-admin the password field comes up ok, but then a 404 error comes up saying page not found.

    I can not get access to the site to make edits. I have tried on 2 browsers and tried clearing cookies.

    HELP ! Please !!!

Viewing 15 replies - 31 through 45 (of 64 total)
  • Thread Starter DanMSchell

    (@danmschell)

    I downloaded the fresh copy of wordpress and replace the entire site with everything except for wp-content and wp-config.

    Now everything is dead…. the error is

    Parse error: syntax error, unexpected $end in /home/rebaxter/public_html/wp-includes/cron.php on line 383
    HELP !!!

    Thread Starter DanMSchell

    (@danmschell)

    I restored the WP-includes and now the site works.

    wp-admin login attempt now returns:

    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.

    Thread Starter DanMSchell

    (@danmschell)

    Opps I was wrong only the home page works, all pages from the menu do not work, I suspect a permalink issue

    Thread Starter DanMSchell

    (@danmschell)

    I copied htaccess and the site works with the new WP-admin directory

    With the new wp-includes directory I get:

    Parse error: syntax error, unexpected $end in /home/rebaxter/public_html/wp-includes/cron.php on line 383

    What files need their permissions changed and to what?

    Thread Starter DanMSchell

    (@danmschell)

    I have not done this since I was unclear… Would you clarify please

    /** Load WordPress dashboard API */
    require_once(‘/www.rebaxter.net/wp-admin/includes/dashboard.php’);

    Thread Starter DanMSchell

    (@danmschell)

    calling it a day… work on this tomorrow…
    The site is working. It has all the new files in the root directory, the new wp-admin files, the old wp-includes files and the wp-content directory the htacess and the wp-config files from the original installation.

    wp-admin still does not work and can not logon. SO… now why does the new wp-include files cause the site not to work…? Perhaps that is where the problem lies…

    The File permissions need to be CORRECT for EVERYTHING. That link tells you what they need to be.

    The change (below) I gave was to replace the ABSPATH which sometimes may not be directing properly in the wp-admin/index.php
    Replace the path to with the Path on the Server from base to the dashborad.php. DO NOT USE URL! It needs to be the absolute (not relative from a directory) file path from what Apache sees as root.

    /** Load WordPress dashboard API */
    require_once('/PATHTO/wp-admin/includes/dashboard.php');
    Thread Starter DanMSchell

    (@danmschell)

    From the article on file permissions, it instructs only changing permissions on the wpcontent and the htaccess file.

    This article https://www.techzoomin.com/wordpress-login-issueswp-admin-showing-404-error-page/
    instructs changing all to 755.

    I have tried this recursive permission setting and still no luck

    Thread Starter DanMSchell

    (@danmschell)

    I found this on the web. Does the symptom I have describe possibly fit with a host problem as described below
    ================
    You're in luck bud...I had the same issue but had more tech knowledge on the matter and was able to determine that it was a mod_sec issue that hostgator has to fix/whitelist on their own. You cannot do it yourself. Simply ask the hostgator tech to check mod_sec settings on your server.

    Just to follow up, problem solved! I mentioned mod_sec settings for my server as being the possible culprit as suggested and they were able to fix this issue. Here's what the tech agent said to tell them when you go to support:  Just let them know you need the rule 340163 whitelisted for domain.com as its hitting a mod_sec rule.
    Apparently you will need to do this for each domain that is having the issue, but it works. Thanks for all the suggestions everyone!
    Thread Starter DanMSchell

    (@danmschell)

    When I activate the directory of wp-includes that was uploaded from the new wordpress install, and have changed all files and folders to 755 I get this error

    Parse error: syntax error, unexpected $end in /home/rebaxter/public_html/wp-includes/cron.php on line 383

    The site is dead and nothing works. The prior wp-includes produces a working site but get 404 error after validating user name and password.

    This should make sense to someone but not to me.
    HELP !

    Thread Starter DanMSchell

    (@danmschell)

    I have mmodified the wpadmin index.php file to:

    /** Load WordPress dashboard API */
    require_once(/home/rebaxter/public_html/wp-admin/includes/dashboard.php’);

    As best I can determine /home/rebaxter/public_html is correct however I am not sure. How can I double check from the Cpanel?

    You are missing the “‘” so will crash your site! Fix before applying!
    Should be:

    /** Load WordPress dashboard API */
    require_once('/home/rebaxter/public_html/wp-admin/includes/dashboard.php');

    Hard to see in my post/ The single quote ‘ is missing after the open ( parentheses

    Thread Starter DanMSchell

    (@danmschell)

    Ok added the ‘ as noted uploaded via ftp but there was no change to the behavior of the site, I wonder why since it was obviously wrong. this says that this code was not executing and perhaps still is not…

Viewing 15 replies - 31 through 45 (of 64 total)
  • The topic ‘After Login with User Name and PSW 404 error’ is closed to new replies.