How to check which shopping cart installed in Cpanel server.

imran_khan

Well-Known Member
Jun 10, 2013
154
1
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.
 

imran_khan

Well-Known Member
Jun 10, 2013
154
1
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
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.
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.
 

imran_khan

Well-Known Member
Jun 10, 2013
154
1
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
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.
 

imran_khan

Well-Known Member
Jun 10, 2013
154
1
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
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.
 

imran_khan

Well-Known Member
Jun 10, 2013
154
1
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
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.
 

imran_khan

Well-Known Member
Jun 10, 2013
154
1
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, [email protected] 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. ([email protected])

Thanks,
Imran Khan.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
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.
 

imran_khan

Well-Known Member
Jun 10, 2013
154
1
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.