Access to blank ISPConfig panel

Discussion in 'General' started by kike28101, Oct 12, 2019 at 7:59 PM.

  1. kike28101

    kike28101 New Member

    Hello
    I need help please
    The access page to the ISP panel is blank
    I had PHP 7.0 installed and I installed PHP 7.3 and now I cannot enter the ISPConfig panel
    I have corrupted the server (vps) by FTP and I have downloaded an ISP and web backup that is hosted

    Some help please because I can't access the panel
    Anyone know a good tutorial on how to restore ISPConfig from a backup on my computer, without losing any data?
    If someone knows how to solve this problem I can give access to the server by ftp
    Thank you
    Enrique
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Follow this first:
    https://www.howtoforge.com/community/threads/please-read-before-posting.58408/
    How did you install PHP 7? If you just slap another PHP version on the host, it breaks most everything. Depenging on what you did and how, setting default php version back to original may help.
    Paid support is available from ISPConfig Support https://www.ispconfig.org/support/.
    If you want to solve this yourself, there are several threads in this forum about blank panel. Try Internet Search Engines with something like
    Code:
    site:howtoforge.com ispconfig blank panel
     
  3. kike28101

    kike28101 New Member

    Hi Taleman
    Thanks for responding
    Following the first link you attach to me

    Result information
    PHP Fatal error: Call to undefined function mysqli_connect() in /root/htf-common-issues.php on line 213
    PHP Stack trace:
    PHP 1. {main}() /root/htf-common-issues.php:0

    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] OS version is Debian GNU/Linux 9.11 (stretch)

    [INFO] ISPConfig is installed.
    ##### ISPCONFIG #####
    ISPConfig version is 3.1.15p1

    Call to undefined function mysqli_connect() in /root/htf-common-issues.php on line 213
    This is the information in my file
    upload_2019-10-12_22-32-0.png
    Install PHP 7.3 following this tutorial, and when I access the ISPConfig panel, it is blank
    I have tried with other browsers

    https://www.howtoforge.com/tutorial...fig-3-from-debian-packages-on-debian-8-and-9/

    I can continue working with the wordpress website, and it recognizes the PHP 7.3 version installed, but the problem is that I cannot access the ISPConfig panel

    I've tried this suggestion of yours, but I don't find that I speak of a blank panel because of PHP's problem
    site:howtoforge.com ispconfig blank panel

    Is there any possibility to reinstall ISPConfig from a backup?
    Do you know any tutorial that explains the procedure?
    Thanls
    Enrique
     
  4. ahrasis

    ahrasis Well-Known Member

    I think your issue is multiple php installation. Please ensure you installed php7.0 and php7.3 using ondrej sury deb repo and then do revert your system back to php7.0. ISPConfig is designed to only use default php that is shipped with your linux distro.
     
  5. Farsus

    Farsus Member

  6. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    I agree with @ahrasis and @Farsus. In addition:
    You have not installed PHP modules needed by ISPConfig for the PHP version now used. Missing mysqli_connect should make also Wordpress and other CMS not work.
    You do not say what kind of backup. How was it made and what does it contain?
    Before embarking adventurous PHP version replacements, make an image backup or snapshot of your host, so you can get back to the original working configuration if everything breaks.
     
  7. kike28101

    kike28101 New Member

    Hi
    I answer one by one

    1 Farsus
    The tutorial followed well.
    I have already done point 10 of the tutorial, and I have selected PHP7.0 but the ISPConfig panel does not start.
    I think this is not the problem.

    2 aharasis
    The installation of PHP7.3 was done using ondrej sury deb repo


    I left version 7.0 and uninstalled 7.3, now everything is broken, nothing works

    Thanks for your interest
    Enrique
     
  8. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    When I used the Tutorial, several times in fact, I always ended up with a working system with several additional PHP versions.
    What do these commands print now on your system:
    Code:
    update-alternatives --config php
    update-alternatives --config php-cgi
     
  9. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  10. kike28101

    kike28101 New Member

    Hi Taleman
    I apologize if my English is not very good
    I already have backups of ISPConfig and the full web.
    Backups are made every day, I can also access my server Ftp without problems.
    I have 3 backup copies of everything from 10.11 to 12 October

    I can also work with the wordpress website without problems.,
    The only problem is that I can't access the ISPConfig panel
    I don't know how to restore an ISPConfig backup and I can't find a tutorial that explains it


    update-alternatives --config php
    update-alternatives --config php-cgi

    This is the result
    I've tried this several times and it doesn't work for me if I change my version

    upload_2019-10-13_17-6-24.png

    The panel broke when I followed the tutorial that I told you in my first post

    I think the best solution for me is to make a new installation of ISPConfig with PHP7.0, and re-install the entire web and I forget PHP7.3 at the moment

    And another option would be to install Debian 10 that already has PHP 7.3, but I don't know if the copy of the web would go well after

    Thanks for your help
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    I used the tutorial many times and it always worked, so there is no issue with the tutorial itself.

    When you get a blank page then you probably get a 500 error, check the global apache error.log to see which error you get. You might also want to rerun all commands from perfect server tutorial for your current Debian version to ensure that all required PHP packages are installed.
     

Share This Page