1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Unable to access WP-admin page

Discussion in 'WordPress' started by silent_1, May 19, 2015.

  1. #1
    Following error message is shown on the home page of blog. Also I'm unable to access the wp-admin page. Please guide me what to do?

    Can I change theme of blog via cpanel without losing content currently present on the blog?
    SEMrush
    Warning
    : require_once(/home4/accountID/public_html/domain.com/wp-content/themes/minamaze/admin/main/framework.php): failed to open stream: No such file or directory in/home4/accountid/public_html/domain.com/wp-content/themes/minamaze/functions.php on line 17

    Fatal error: require_once(): Failed opening required '/home4/accountID/public_html/domain.com/wp-content/themes/minamaze/admin/main/framework.php' (include_path='.:/opt/php54/lib/php') in/home4/accountID/public_html/Domain.com/wp-content/themes/minamaze/functions.php on line 17
     
    silent_1, May 19, 2015 IP
    SEMrush
  2. themes4all

    themes4all Well-Known Member

    Messages:
    662
    Likes Received:
    47
    Best Answers:
    6
    Trophy Points:
    100
    #2
    Hello there,

    This error is from the last wordpress update.. it's not compatible with your Current theme.. what you can do is to connect to your Database with PhpmyAdmin, then open the wp_options table => click on the Browse tab option => Show All => locate two rows on the page, the template and the stylesheet. Pick template and click on the Edit link => Change this to the default theme name, twentythirteen for Example and click on the Go button at the bottom of the page. Perform the same procedure on the stylesheet row.

    Now you can open your website and connect to your wp-admin...

    Goodluck
     
    themes4all, May 21, 2015 IP
    silent_1 likes this.
  3. silent_1

    silent_1 Well-Known Member

    Messages:
    419
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    155
    #3
    Last edited: Jun 3, 2015
    silent_1, Jun 3, 2015 IP
  4. themes4all

    themes4all Well-Known Member

    Messages:
    662
    Likes Received:
    47
    Best Answers:
    6
    Trophy Points:
    100
    #4
    You are welcome and glad to know that the trick worked ;)

    Goodluck
     
    themes4all, Jun 11, 2015 IP
  5. Prapti Technology

    Prapti Technology Greenhorn

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #5
    How to Fix the Syntax Error in WordPress::(from)

    This error usually occurs when you are trying to add code snippets into WordPress and have accidentally missed something or the code has incorrect syntax.

    Example of parse error:

    Parse error – syntax error, unexpected $end in /public_html/site1/wp-content/themes/my-theme/functions.php on line 278

    The error message would indicate the unexpected thing found in the code and the location of the script where the error occurred with line number. To fix this issue you will have to correct the syntax.

    Reason for why it’s happen

    Most of the time it is a missing bracket or some unexpected character in the code.

    Syntax Error Solutions:
    Educate yourself on pasting code snippets into WordPress.

    If you encountered this WordPress error after adding code snippets into your WordPress website, you need to learn more about pasting code snippets into WordPress or you will cause more damage.

    Fix the affected code:
    If this WordPress error occurred after updating a plugin or pasting some code from the web, you know exactly where to look. The problem is you can’t fix your code via Appearance -> Editor (or Plugins -> Editor) since the syntax error locks you out of your website.But don’t be, you can easily edit your WordPress files via FTP or File Manager in your cPanel. Find the affected file and fix the code either by removing it or rewriting it correctly.

    Try a different theme or plugin:
    If the error began when you activated a new theme or plugin then it’s most likely an error in that theme or plugin. So you might want to find an alternative one or contact the developer so they can fix the error. In some cases you might not be able to log into WordPress in which case you might have to delete the plugin or theme via FTP. -

    see more on : http://prapti.co.uk/how-to-fix-the-syntax-error-in-wordpress/
     
    Last edited: Jun 30, 2015
    Prapti Technology, Jun 30, 2015 IP