Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • To me the problem seems to be related with the resource limits in your hosting account.
    All hosting accounts have NPROC limit and memory. I would suggest to contact the hosting company and to check the resources if any limit is being exceeded and what is the CPU load when you access the media library. Also they might have the timeout limit set low in apache for all php process, when a process take too much time to finish or is misbehaving, Apache will kill the process to prevent the overload of the server.

    Since you are using CentOS 6, the default web directory is /var/www

    From the command line:

    $ cd /var/www
    once you are in the web directory download the wordpress zip file using wget

    $ wget http://wordpress.org/latest.zip

    Open the archive;

    $ unzip latest.zip

    Once the archive is opened you will see the wordpress folder.

    Now from the browser access the wordpress folder to start the installation;

    http://localhost/wordpress or http://IP_address/wordpress

    But before starting the installation you will need to create an empty database.

    I see that your hosting company is 1and1 (from the database user and directory path). Contact them and they might be able to help you. Since they offer different versions of PHP you can also downgrade the version of PHP from 5.6 to 5.2. Ask them for a backup of the files and database prior to the changes that you made.

    Forum: Fixing WordPress
    In reply to: Cannot upload file

    It is also worth checking the path set in media settings.
    In WordPress dashboard go to Settings > Media
    If you have an option where the uploading path is set, remove it and test again.

    Hi,

    You can try first with the usual troubleshooting, plugins and themes.
    You can rename the /plugins folder to plugins_bak, which will disable the plugins and then test the website. If the error still persist, you can try to disable the actual them and enable one of the default WordPress themes. This can be easily done by accessing the database (phpmyadmin) and the wp_options table. Just change the template and stylesheet option to one of the default themes (twentyfifteen or twentysixteen). After the change test again.

    If the problem still persists, was the wordpress website updated to the latest version? Most likely a failed update. If wordpress was recently updated maybe a failure during the update. You can try to manually update wordpress from command line (ssh) if you have access to it or through FTP.

    Download the latest version of wordpress
    $ wget http://wordpress.org/latest.zip –no-check-certificate

    After downloading the package unzip it.
    $ unzip latest.zip

    A new folder will be available wordpress

    You will have to copy the files from the WordPress folder to the actual wordpress installation without the wp-content folder.

    After the wordpress folder
    $ cd wordpress

    Remove the wp-content folder from inside the wordpress folder
    $rm -rf wp-content

    Copy all files including wp-admin and wp-includes folders to the actual wordpress installation
    $mv -f * ../

    Before you do so make a backup of the database and all the files and folders.

    After manually updating wordpress, try again.

    I hope this helps, and good luck. The hosting company should be able to help you fix the error.

Viewing 5 replies - 1 through 5 (of 5 total)