Results 1 to 6 of 6

Thread: Hotlinking Protection

  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2008
    Posts
    31
    cPanel/WHM Access Level

    DataCenter Provider

    Default Hotlinking Protection

    Hi all,

    One of our customers would like to use the hotlinking protection feature in cPanel, but for some reason it doesn't seem to work for them, and they get the following error:
    Code:
    Undefined subroutine &Cpanel::Hotlink::Hotlink_add called at (eval 54) line 1.
    	eval 'Cpanel::Hotlink::Hotlink_add(@{$argref});' called at cpanel.pl line 1660
    	main::exectag('<cpanel Hotlink="add($FORM{\'urls\'},$FORM{\'exts\'},$FORM{\'rur...') called at cpanel.pl line 4808
    	main::dotag(undef) called at cpanel.pl line 4691
    	main::cpanel_parseblock('SCALAR(0x2089180)') called at cpanel.pl line 4643
    	main::cpanel_parse('GLOB(0xf54ad10)') called at cpanel.pl line 1318
    To test if this was happening just for the one account, I created another test account on the server and the same error came up when I tried to enable hot linking protection.

    I have also created a test account on a couple of other cPanel servers, and they get the same error message. All of the servers have this cPanel version:

    cPanel 11.24.5-R38506 - WHM 11.24.2 - X 3.9

    They are also running CentOS 5.3 x64.

    Since I can't seem to get it working on different servers I am wondering if anyone else who is running the same cPanel version is having the same issue?

  2. #2
    Member
    Join Date
    Aug 2009
    Location
    Houston, Tx
    Posts
    275

    Default Hotlink Protection

    Hello,

    I am sorry to hear that, and it does look like an issue. What I would reccomend would be to run

    /scripts/upcp --force

    and see if that resolves the issue. If it does not please submit a ticket so that we can make sure this isn't a bigger issue, and so we can get you all fixed up asap.

    Thank you,
    Matthew Curry

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2008
    Posts
    31
    cPanel/WHM Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by cPanelMattCurry View Post
    /scripts/upcp --force
    Hi Matthew,

    As the servers are in production at the moment, will running the above command take down cPanel or any of its services while its updating (except to restart the services).

    Thanks

  4. #4
    cPanel Development cPanelKenneth's Avatar
    Join Date
    Apr 2006
    Posts
    4,125
    cPanel/WHM Access Level

    Root Administrator

    Default

    Quote Originally Posted by ChrisFirth View Post
    Hi Matthew,

    As the servers are in production at the moment, will running the above command take down cPanel or any of its services while its updating (except to restart the services).

    Thanks
    It will restart cPanel at the end of the update process. Other services ( e.g. exim ) may restart if they are updated.
    Kenneth
    Product Manager
    cPanel, Inc.

  5. #5
    BANNED
    Join Date
    Jun 2005
    Posts
    2,023

    Default

    In plain English, no "/upcp --force" will not have any significant impact on your server operation other than a few "momentary" split second glitches as the processes are restarted after updating.

  6. #6
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2008
    Posts
    31
    cPanel/WHM Access Level

    DataCenter Provider

    Default

    Thanks Spiral and Kenneth for the advice.

    I have ran the update script and the problem still persists, I have just submitted a ticket for the issue.

Similar Threads

  1. mod_userdir Protection - Exclude Protection Not Working
    By PDM in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 07-05-2008, 07:10 PM
  2. Hotlinking Protection
    By Norco in forum Security
    Replies: 0
    Last Post: 06-23-2007, 10:58 PM
  3. Hotlinking Protection & Other Rewrite Rules Won't Work Together
    By vinyl-junkie in forum cPanel & WHM Discussions
    Replies: 6
    Last Post: 11-04-2005, 04:19 AM
  4. What is Hotlinking Protection
    By ene in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 12-31-2003, 01:21 PM