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.

How to check which shopping cart installed in Cpanel server.

Discussion in 'General Discussion' started by imran_khan, Jul 10, 2013.

  1. imran_khan

    imran_khan Well-Known Member

    Joined:
    Jun 10, 2013
    Messages:
    154
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hello,

    When I click on “Order” button I am getting download link (asking for save/open file). This link is not forwarded to shopping cart.
    Please let me know, how to check which shopping cart using for this site and it is installed or not in the cpanel server.

    Thanks,
    Imran Khan.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,447
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    I've moved your thread out of the Easy Apache forums, it doesn't fit there.


    cPanel & WHM have no order buttons. There is no way for us to know what shopping cart you're using. Are you speaking of WHMCS by chance?
     
  3. imran_khan

    imran_khan Well-Known Member

    Joined:
    Jun 10, 2013
    Messages:
    154
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hello,

    One of my client using agora shopping cart. So how to find out agora shopping cart installed in the server or not?
    Button “order” which on my customer’s site. Please help me on this.

    Thanks,
    Imran Khan.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Agora is not installed as a server-wide application. Instead, it's installed to individual accounts by the end-user. Are other PHP scripts failing to load on this account, or is the issue isolated to the Agora shopping cart? You may want to check the error log for the website, or the Apache error log (/usr/local/apache/logs/error_log) to see if you notice any specific entries related to this application. Typically, you should consult with the software developer regarding issues isolated to the script itself.

    Thank you.
     
  5. imran_khan

    imran_khan Well-Known Member

    Joined:
    Jun 10, 2013
    Messages:
    154
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hello Michael,

    Thanks for the information. I think .cgi pages is not loading.
    File which asking for save/open is agora.cgi. Please suggest me on this.

    Thanks,
    Imran Khan.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Please check the Apache error log while attempting to access this page to see if you notice any specific error output. EX:

    Code:
    tail -f /usr/local/apache/logs/error_log
    Thank you.
     
  7. imran_khan

    imran_khan Well-Known Member

    Joined:
    Jun 10, 2013
    Messages:
    154
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hello Michael,

    I am not getting error while access page. Not found and any error in error_log file.

    Thanks,
    Imran Khan.
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Have you placed the CGI files in your cgi-bin for the account? Also, you should browse to "WHM Home » Account Functions » Modify an Account", and ensure the "CGI Privilege" option is enabled for this account.

    Thank you.
     
  9. imran_khan

    imran_khan Well-Known Member

    Joined:
    Jun 10, 2013
    Messages:
    154
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hello Michael,

    Thanks. I have enabled the CGI Privilege for xyz. I have already put the agora.cgi under /home/xyz/public_html/cgi-bin/ but still facing same issue. Also I have created test.cgi, put in /home/xyz/public_html/cgi-bin/ and /home/xyz/public_html/ but it does not work. Please suggest me on this.

    Thanks,
    Imran Khan.
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    What error message do you receive while attempting to load the test CGI page? Do you see any output in the Apache error log for the test page? Is it set to use 0755 permissions?

    Thank you.
     
  11. imran_khan

    imran_khan Well-Known Member

    Joined:
    Jun 10, 2013
    Messages:
    154
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hello Michael,

    Thanks for your prompt reply. I am not getting any error. When I click on “order” button it gives me prompt for open/save agora.cgi file.
    File permission is OK.

    /home/xyz/public_html/cgi-bin
    -rwxr-xr-x 1 xyz xyz 43693 Jun 23 2009 agora.cgi*

    /home/xyz/public_html/shop
    -rwxr-xr-x 1 xyz xyz 43693 Jan 17 2004 agora.cgi*

    Thanks,
    Imran Khan.
     
  12. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    While we will not be able to troubleshoot any issue with your custom script itself, we can upload a test CGI script and confirm it's working well if you open a support ticket:

    Submit A Ticket

    You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  13. imran_khan

    imran_khan Well-Known Member

    Joined:
    Jun 10, 2013
    Messages:
    154
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hello Michael,

    Thanks for your prompt reply.

    When I browse http://example.com/cgi-bin/test.cgi page getting below error.

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, webmaster@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    And I browse http://example.com/cgi-bin/agora.cgi getting below error.

    I am sorry but I was unable to require ./admin_files/agora_user_lib.pl at line 53 in agora.cgi.
    Would you please make sure that you have the path correct and that the permissions are set so that I have read access?
    Thank you. (webmaster@example.com)

    Thanks,
    Imran Khan.
     
  14. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    It will be difficult to troubleshoot this issue without access to your server to take a closer look. Please review my previous post about opening a support ticket so we can ensure the test CGI script works well.

    Thank you.
     
  15. imran_khan

    imran_khan Well-Known Member

    Joined:
    Jun 10, 2013
    Messages:
    154
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hello Michael,

    Thanks for your prompt reply.

    Please let me know, which files coding you want. I will provide you.

    Thanks,
    Imran Khan.
     
  16. imran_khan

    imran_khan Well-Known Member

    Joined:
    Jun 10, 2013
    Messages:
    154
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hello Michael,

    Getting below error while browsing Example Domain.

    [error] Undefined subroutine &main::agora_cookie_save called at agora.cgi line 1626

    Thanks,
    Imran Khan.
     
  17. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Please open a support ticket so we can upload a test CGI script and check to ensure CGI scripts are working well on your server. Opening a ticket will allow us the opportunity to access your server directly.

    Thank you.
     
  18. imran_khan

    imran_khan Well-Known Member

    Joined:
    Jun 10, 2013
    Messages:
    154
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hello Michael,

    Thank you. Finally, I have resolve this issue.

    Disabled the CGI privilege and re enabled again and now CGI pages are working fine.

    Thanks,
    Imran Khan.
     
Loading...

Share This Page