I Need Advice On Installing a Script

by 5 replies
6
I am trying to install a script on my domain and am beyond frustrated

So I use CPanel file mangaer to upload zip file to my root directory (public_html)

I extract the the file, however, it creates a directory first the the files extracted into that directory.

I end up with public_html/folder/contents instead of navigating to mydomain.com/install , I have to navigate to mydomain.com/folder/install where it sets up and runs perfectly.

I just want the contents in the public_html so it is in the root.

I tried unzipping on my desktop first and ftp files direct to public_html to no avail.

Any pointers appreciated
#programming #advice #installing #script
  • Why didnt it work, what happened
  • Go into /folder, and move all the files to the /public_html folder. Send me a PM if you'd like some help. No charge.
    • [1] reply
    • site just hangs, cant access the install page

      tried that, no joy. It seems like the whole site will not run if files are not contained in the folder.

      thanks for the offer, going to PM u now
      • [1] reply
  • Most beginners doing what you said end up failing to realize that windows uses cr/lf, and linux uses lf and ftp "converts to ascii" by default CORRUPTING the files. The simple solution is to type binary, after logging into ftp, and NEVER edit on windows.

    Changing directories is fine as long as they aren't actually in the install, or installed with an install program. If either IS true, removing or changing a directory may require changes elsewhere.

    ANOTHER thing! They must be readable, I believe they must be executable, they generally must be owned by the sites owners user. The directory must be accessible, generally below the websites hierarchy. ALSO, the extension must be right, often php, and php must be enabled in the webserver.

    Actually, there ARE things to consider. As I recall, there are two major versions. ALSO, if mysql, or whatever database it uses, isn't setup and compatible, good luck.

    Steve

Next Topics on Trending Feed