• Resolved startechmarketing

    (@startechmarketing)


    We have a huge problem upgrading to wordpress 6.4 the pages look bad so I tried to restore the database backup I did before but it returns this

    A PHP fatal error (Error) has occurred: Call to undefined function mysql_query()

    Then timeout errors

    phpmyadmin returns 500 error but gets most of the import the hostgator support says it is not their issue

    what can I do this is a live production site

Viewing 6 replies - 1 through 6 (of 6 total)
  • Emielb

    (@emielb)

    If even PHPMyAdmin returns a 500 error independently of WordPress, there’s probably a problem with the hosting. Hasn’t the PHP version changed recently?

    • This reply was modified 1 year ago by Emielb.
    Plugin Support vupdraft

    (@vupdraft)

    Hi,

    Can you update to the latest version, we have released a fix for this

    Thread Starter startechmarketing

    (@startechmarketing)

    OK it works, I have problems updating plugins and installing I had to change the php.ini first then maybe the combination of your fix and php timeout settings it worked

    ; cPanel-generated php ini directives, do not edit
    ; Manual editing of this file may result in unexpected behavior.
    ; To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
    ; For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
    
    allow_url_fopen = Off
    display_errors = Off
    enable_dl = Off
    file_uploads = On
    max_execution_time = 600
    max_input_time = 400
    max_input_vars = 5000
    memory_limit = 512M
    post_max_size = 516M
    session.gc_maxlifetime = 1440
    session.save_path = "/var/cpanel/php/sessions/ea-php82"
    upload_max_filesize = 512M
    zlib.output_compression = On
    
    Plugin Support vupdraft

    (@vupdraft)

    Glad that you got it working.

    Thread Starter startechmarketing

    (@startechmarketing)

    yes it worked only one day now is back.. but when we move to a new host I hope it works right

    Plugin Support vupdraft

    (@vupdraft)

    Here is our moving hosts guide just in case it is helpful: https://updraftplus.com/support/moving-hosts/

    If you have any issues just start a new thread and we can asisst.

    In the meantime, wishing you the best of luck with the move!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘A PHP fatal error (Error) has occurred: Call to undefined function mysql_query()’ is closed to new replies.