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.

Strange things in the Skelton Dir

Discussion in 'General Discussion' started by webdude12, Apr 29, 2008.

  1. webdude12

    webdude12 Member

    Joined:
    Feb 22, 2005
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Ok, I have a skelton directory setup with a custom application installed in it. I then use the WHM api to create new accounts, and my custom application gets copied over automatically. :)

    Yeah! No more large uploads, but some strange is going on now.

    As you can imagine with any custom application, there are updates. So I upload the updates to the Skelton directory. But when a new account is created, it some how uses the old file. I double check the skelton directory, and sure enough it has the new files....

    I use the API through a reseller account, and the cpanel3-skel is created in that reseller's account.

    Does cPanel cache these files anywhere else. I have already looked in /root/cpanel3-skel and there is nothing.... Any other ideas?
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    These files are not cached.

    Are you uploading the updates via File Manager or FTP?

    If it is File Manager, I've made this mistake myself before. The trick is to extract the contents of the archive containing the updated script to an empty directory (presumably one you create just prior to extraction). Then you can move those files to the directory they need to be in and delete that empty directory if you desire.

    File Manager currently does not have the capability to overwrite existing files directly from an archive, something I admit is a pain when updating PHP scripts manually.
     
Loading...

Share This Page