Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

create_user_session.php was not found on this server

Discussion in 'General Discussion' started by Evan Ferroli, Apr 7, 2018.

  1. Evan Ferroli

    Evan Ferroli Member

    Joined:
    Apr 7, 2018
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    France
    cPanel Access Level:
    Reseller Owner
    Hello Cpanel community,
    I recently created the web hosting company with WHMCS and adding a server with cPanel connection, the moment I try to connect, it puts me the message of error:
    cPanel API Unreachable:

    Not Found

    The requested URL /json-api/create_user_session.php was not found on this server.

    For information, I have version 7.4.2 of WHMCS and it is an official version.

    I have read all the WHM and cPanel documents related to this problem, but nothing has worked.

    Could you help me?

    Regards,
    Evan Ferroli Touiti
     

    Attached Files:

  2. Evan Ferroli

    Evan Ferroli Member

    Joined:
    Apr 7, 2018
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    France
    cPanel Access Level:
    Reseller Owner
    Hello,

    Here is the result of whmcs logs:

    upload_2018-4-9_14-6-5.png
     
  3. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,266
    Likes Received:
    163
    Trophy Points:
    143
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @Evan Ferroli

    Can you tell me, do you have CSF enabled on the cPanel server? If so, does the error persist if you temporarily disable it and it's rules. You can do this by running the following:

    Code:
    csf -x
    iptables --flush
    Then test if you're able to connect with WHMCS

    Once complete just run

    Code:
    csf -e 
    To re-enable CSF


    Thank you,
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Evan Ferroli

    Evan Ferroli Member

    Joined:
    Apr 7, 2018
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    France
    cPanel Access Level:
    Reseller Owner
    Hi @cPanelLauren,

    It was activated, I disabled it and nothing changes, always the same error message.
     
  5. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,266
    Likes Received:
    163
    Trophy Points:
    143
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello,


    The error message you're receiving indicates an inability for WHMCS to connect to the server. If you followed the instructions I provided to disable CSF and its rules added to iptables I'd like to know if there are any associated errors in the cPanel error logs when attempting to access the server using WHMCS. The cPanel error logs are located at /usr/local/cpanel/logs/error_log


    Thank you,
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Evan Ferroli

    Evan Ferroli Member

    Joined:
    Apr 7, 2018
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    France
    cPanel Access Level:
    Reseller Owner
    Hello,

    The servers are renting free and they use vista-pannels so I do not know or disable it.
     
  7. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,266
    Likes Received:
    163
    Trophy Points:
    143
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello,


    I'm not sure what that means, are you indicating that the server does not have cPanel installed only WHMCS?


    Thank you,
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Evan Ferroli

    Evan Ferroli Member

    Joined:
    Apr 7, 2018
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    France
    cPanel Access Level:
    Reseller Owner
    Hello,

    No, it is Cpanel but it can change.

    My cpanel: [removed]
    My servers: [removed]
     
  9. Evan Ferroli

    Evan Ferroli Member

    Joined:
    Apr 7, 2018
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    France
    cPanel Access Level:
    Reseller Owner
    I just bought cpanel. I will try to reinstall it. I tell you later if it works.
     
  10. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,266
    Likes Received:
    163
    Trophy Points:
    143
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello,

    Ok, please let us know if you continue to experience issues.


    Thank you,
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Evan Ferroli

    Evan Ferroli Member

    Joined:
    Apr 7, 2018
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    France
    cPanel Access Level:
    Reseller Owner
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice