• Hi there folks.

    for some amount of time i hade trouble log onto my site.
    Some error is the config.php caused the problem.
    the line looked like this in the browser.

    Fatal error: Call to undefined function wp_raise_memory_limit() in /storage/content/04/143004/wilmermedia.se/public_html/wp-admin/admin.php on line 141

    So i got a reply of the first topic i had and he wrote like this.

    Try downloading WordPress again, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, and delete then replace your copies of everything on the server except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings.

    Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    and…

    You’ll start by downloading WordPress again from https://wordpress.org/download/

    Then, on your installation, you’ll delete everything on the server except the wp-config.php file and the /wp-content/ directory as it correlates to the copy of WordPress you just downloaded.

    Then, where the installation was, upload everything from the fresh WordPress download except the wp-config.php file and the /wp-content/ directory.

    So i saved a copy of config.php and the whole content of /wp-content to a SSD-drive locally.

    What i did was to upload succesfully from my domain-admin control panel and i could log on. But i cant use the old config.php file and the error ive got is.

    an error occurred while access the database

    When i upload the wp-content all the files and plugin was back but its like i´ve just upload the plugin and themes.

    What is the solution here? did i miss something?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Check your wp-config.php file’s DB defines and make sure they match how your database is set up.

    Thread Starter poker1970

    (@poker1970)

    im afraid im lost here.
    I dont know where to look and what to look after?
    it was ages ago i use expresso to edit php-files.
    Will you help me?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Via FTP or your hosting control panel, download wp-config.php. Open it in notepad (or your favorite text editor) and check the lines that have DEFINE('DB... in them.

    Thread Starter poker1970

    (@poker1970)

    yes i can see them via my hosting control panel.
    I use customizr pro.

    The applications settings is identical what i can see from the control panel.
    (control panel and wp-config.php)
    Still, the web site is cleared and set to deafult even though i copied the whole wp-content file by file and upload it again.
    Is there a conflict from the previous wp-config.php file?
    Since i had to upgrade the wordpress from old wordpress version to sep-17 version.

    Really frustrated

    • This reply was modified 6 years, 5 months ago by poker1970.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘content is gone’ is closed to new replies.