Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Strange things in the Skelton Dir

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

  1. webdude12

    webdude12 Member

    Feb 22, 2005
    Likes Received:
    Trophy Points:
    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

    Nov 29, 2006
    Likes Received:
    Trophy Points:
    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.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice