I Need Advice On Installing a Script

5 replies
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
#advice #installing #script
  • Profile picture of the author Valdor Kiebach
    Originally Posted by susie haynes View Post

    I tried unzipping on my desktop first and ftp files direct to public_html to no avail
    Why didnt it work, what happened
    {{ DiscussionBoard.errors[8134005].message }}
  • Profile picture of the author john_kennedy
    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.
    {{ DiscussionBoard.errors[8134288].message }}
    • Profile picture of the author Climb Online
      Originally Posted by Valdor Kiebach View Post

      Why didnt it work, what happened
      site just hangs, cant access the install page

      Originally Posted by john_kennedy View Post

      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.
      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
      Signature

      "It is your choice of message that targets the customer, not your choice of media. There are rare exceptions, of course. But not many."
      - Roy H. Williams

      {{ DiscussionBoard.errors[8134440].message }}
  • Profile picture of the author seasoned
    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
    {{ DiscussionBoard.errors[8144173].message }}

Trending Topics