The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Plugins - Fantastico Deluxe Error

Discussion in 'User Experience' started by PCZero, Mar 21, 2013.

  1. PCZero

    PCZero Well-Known Member

    Joined:
    Dec 13, 2003
    Messages:
    526
    Likes Received:
    34
    Trophy Points:
    28
    Location:
    Earth
    Clicking
    Home - Plugins - Fantastic De Luxe WHM Admin

    Gives me the following error

    Internal Server Error

    500

    No response from subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/addon_fantastico.cgi) with exit signal: 1

    cpsrvd/11.36.0.14 Server at foo.bar.com


    I have not been able to resolve this at all. Any help?
     
  2. PCZero

    PCZero Well-Known Member

    Joined:
    Dec 13, 2003
    Messages:
    526
    Likes Received:
    34
    Trophy Points:
    28
    Location:
    Earth
    By adding the following lines to the addon_fantastico.cgi file I was able to get rid of the existing error but now I have a new error...

    -------------------------
    ADDED LINES
    -------------------------
    #!/bin/sh
    eval 'if [ -x /usr/local/cpanel/3rdparty/bin/perl ]; then exec /usr/local/cpanel/3rdparty/bin/perl -x -- $0 ${1+"$@"}; else exec /usr/bin/perl -x $0 ${1+"$@"}; fi;'
    if 0;
    #!/usr/bin/perl
    -------------------------


    New error ---

    Access Denied: Security Token Failure

    Functions in cPanel / WHM are available only directly through the cPanel and WHM interfaces or through our XML API. The administrator of the system has enabled additional security token checks which have flagged this request as possibly malicious. This may be due to an expired session cookie or the use of an older theme which has not been updated to work with the security token system.
    Request Info:

    Requested page: /cgi/fantastico/index.php
    Error message:
    Form Data:
    Key Value
     
  3. Bigwebmaster

    Bigwebmaster Member

    Joined:
    Dec 3, 2003
    Messages:
    23
    Likes Received:
    1
    Trophy Points:
    1
    I thought I would still post this here as I was having problems with my server and everywhere I look, nobody actually says what to do. Chances are if you have the problems above your version of fantastico simply is out of date and needs to be updated.

    If you update to the latest version:

    https://netenberg.com/#fantastico.html

    and then click on "Installation", that seemed to fix all these problems for me with regards to security token failures, and any other weird things. Before following the instructions on that page, simply go here:

    cd /usr/local/cpanel/whostmgr/docroot/cgi/

    and then rename the old fantastico to something like fantastico-old before you follow the install instructions just so you have a backup of the version you were using. Once you install the newer version if everything looks good then you can delete that old version.
     
  4. PCZero

    PCZero Well-Known Member

    Joined:
    Dec 13, 2003
    Messages:
    526
    Likes Received:
    34
    Trophy Points:
    28
    Location:
    Earth
    This problem has surfaced again on another new box. I tried the update suggested by bigwebmaster but that fails at the command:

    cd /var/netenberg/fantastico_f3/sources && /usr/local/cpanel/3rdparty/bin/php index.php license


    The error thrown says something about Fantastico not being installed in the normal location. Any help is appreciated.
     
  5. PCZero

    PCZero Well-Known Member

    Joined:
    Dec 13, 2003
    Messages:
    526
    Likes Received:
    34
    Trophy Points:
    28
    Location:
    Earth
    Fantastico Fix!

    I have found the VERY easy fix for two Fantastico errors. From my experience, these normally happen on a new server or one that has just been reimaged, etc. Both of them occur at WHM - Plugins - Fantastico De Luxe WHM Admin.

    ---- ERROR ONE START ----

    Situation: Internal Server Error 500

    Fix: Edit /usr/local/cpanel/whostmgr/docroot/cgi/addon_fantastico.cgi and put the code between the ">>>" lines at the top of the file.

    >>>
    #!/bin/sh eval 'if [ -x /usr/local/cpanel/3rdparty/bin/perl ]; then exec /usr/local/cpanel/3rdparty/bin/perl -x -- $0 ${1+"$@"}; else exec /usr/bin/perl -x $0 ${1+"$@"}; fi;'
    if 0;
    #!/usr/bin/perl
    >>>

    ---- ERROR ONE END ----



    ---- ERROR TWO START ----

    Situation: Invalid Token or Initial Install loops asking you to re-enter your username and password.

    Fix: Run the code between the ">>>" lines at shell as root.

    >>>
    cd /usr/local/cpanel/whostmgr/docroot/cgi
    wget -N http://files.betaservant.com/files/free/fantastico_whm_admin.tgz
    tar -xzpf fantastico_whm_admin.tgz
    rm -rf fantastico_whm_admin.tgz
    >>>

    ---- ERROR TWO END ----


    I hope this helps!
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    671
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Re: Fantastico Fix!

    Hello :)

    You may also want to report these resolutions directly to Fantastico's support team, as it's a third party application that's not developed by cPanel.

    Thank you.
     
  7. PCZero

    PCZero Well-Known Member

    Joined:
    Dec 13, 2003
    Messages:
    526
    Likes Received:
    34
    Trophy Points:
    28
    Location:
    Earth
    Will do Michael and a public thank you again to you for all the help you provide here.
     
Loading...

Share This Page