Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Wordpress Problem (I think)

  • 27-02-2015 12:09AM
    #1
    Registered Users, Registered Users 2 Posts: 1,504 ✭✭✭


    My wordpress website is working fine except I'm trying to move some menus around. When I hit the save button it brings up an error page - see attached.

    I rang my hosting company and they said it was a Wordpress issue. Can anyone please help? Thanks.
    Tagged:


Comments

  • Registered Users, Registered Users 2 Posts: 241 ✭✭fcrossen


    The actual error message will be in your web server error logs. That will be more helpful.


  • Moderators, Society & Culture Moderators Posts: 17,642 Mod ✭✭✭✭Graham


    Try doing it again and take a look at your server log files for the most recent error messages. You should find something a little more informative than "there was an error".


  • Registered Users, Registered Users 2 Posts: 1,504 ✭✭✭BarneyMc


    Here's what the log says:

    [Fri Feb 27 08:58:43 2015] [error] [client 78.16.154.76] Premature end of script headers: php, referer: http://clontibretoneills.com/wp-admin/nav-menus.php


  • Registered Users, Registered Users 2 Posts: 7,133 ✭✭✭Talisman


    The generic error messages aren't very descriptive and cover a multitude of issues - most commonly it is something simple like the PHP script not having enough memory or the file permissions on the server.

    Add the following code to a file e.g. info.php and upload it to the website, then open the URL in your browser e.g. http://www.domain.com/info.php
    [PHP]
    <?php

    phpinfo();

    ?>
    [/PHP]

    The information provided will help rule in/out a number of possibilities. Afterwards delete the file from the website.


  • Moderators, Society & Culture Moderators Posts: 17,642 Mod ✭✭✭✭Graham


    Switch to one of the default themes and disable all of your plugins.

    Try what you were doing again.

    If that works re-enable the theme.

    Try it again.

    If that works, re-enable each of the plugins one at a time. Test again between enabling each plugin.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 241 ✭✭fcrossen


    You need to find your PHP error logs and post the PHP error.

    This *might* be caused by a corrupt file. Try copying a default Wordpress folder structure and contents over the existing files. If it is a corrupt file that will be a very quick fix.

    You could also enable Wordpress debugging to get error messages dumped onto the screen, but that is not as reliable as logging errors to a file. Also it might not be feasible on a live site.


  • Registered Users, Registered Users 2 Posts: 1,504 ✭✭✭BarneyMc


    Got my problem solved, for now anyway.

    I deactivated all plugins and it then allowed me to carry out my task of removing a menu item. I then re-activated all plugins again. I haven't figured out which one was to blame but at least it has allowed me to carry out my task.

    Thanks all for your kind help... here's to the weekend!


Advertisement