popart Posted December 13, 2008 Share Posted December 13, 2008 I'm trying to install WHMCS for the first time. I'm putting it in a subdomain: http://my.hostsite.net However, I'm having problems with the Further Security Steps. First, I'm unable to move the three folders ("attachments", "downloads" and "templates_c"). Could some please explain, what does 'outside of the public accessible folder file tree' mean? Where exactly do I move those folders? When I try to move them into the "my" subdirectory, I get a permissions error. And I can't change permissions on my subdirectory. Second, what should my file path be? Please tell me how I should edit this code: $templates_compiledir = "/home/whmcs/templates_c/"; $attachments_dir = "/home/whmcs/attachments/"; $downloads_dir = "/home/whmcs/downloads/"; Thanks! 0 Quote Link to comment Share on other sites More sharing options...
bear Posted December 13, 2008 Share Posted December 13, 2008 Assuming a cpanel hosting server, your document root is "/home/username/public_html". Files to show visitors go in "public_html", and anything above that (/home/username) will be unreachable via the web, but fine for WHMCS to access. The paths would be: $templates_compiledir = "/home/username/templates_c/"; $attachments_dir = "/home/username/attachments/"; $downloads_dir = "/home/username/downloads/"; In all the above cases, "username" is your actual cpanel username. 0 Quote Link to comment Share on other sites More sharing options...
popart Posted December 13, 2008 Author Share Posted December 13, 2008 Same thing if I'm installing into a subdomain? And I assume "httpdocs" is the same as "public_html" ?? (I'm on mediatemple with Plesk.) 0 Quote Link to comment Share on other sites More sharing options...
popart Posted December 13, 2008 Author Share Posted December 13, 2008 using a subdirectory "my" (with Plesk), I think my paths would be... (can someone tell me if this is correct??) $templates_compiledir = "/subdomains/my/templates_c/"; $attachments_dir = "/subdomains/my/attachments/"; $downloads_dir = "/subdomains/my/downloads/"; BUT, I'm unable to move those folders to the subdirectory. Plesk doesn't allow me to change the permissions for my subdirectory. So, how can I move the folders? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.