Trying to use Access hash Authentication to start a script

domeneas

Active Member
Sep 20, 2013
43
5
58
cPanel Access Level
Root Administrator
So I would like to start scripting a little bit and thought I'd get the log inn out of the way first. I have never gone down this scripting path before, so bear with me.

When I use the example code here:Authentication Function Call Methods

Adding my own server name and access hash, on a site hosted by the server itself (but with a different domain name) I get this result when i examine the page with Firebug. I get the same both of my servers that I tested:
Code:
<script src="/cPanel_magic_revision_1394017727/yui-gen/utilities_json/utilities_json.js">
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /cPanel_magic_revision_1394017727/yui-gen/utilities_json/utilities_json.js was not found on this server.</p>
<p>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.</p>
<hr>
<address>Apache/2.4.7 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4 Server at xxxxx.xxxxx.xxx Port 80</address>
</body></html>
I am having a real hard time finding anything about this on the internets.

Any one of you know what is going in?

CURLSSL is installed. I have forced an update of Cpanel.

EDIT: I have also verified JSON install by: php -m|grep json It returned "Json"

Thank you.
 
Last edited:

iakela

Member
Oct 18, 2009
17
0
51
cPanel Access Level
Root Administrator
Check if /usr/local/cpanel/base/yui-gen/utilities_json/utilities_json.js file exists. If not do forceful update:
/usr/local/cpanel/scripts/upcp --force