Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Install Directory (Dissapears on HostGator) Rate Topic   - - - - -

 
  • Galactica
  • Advanced Member
  • Members
  • Join Date: 20-Jun 13
  • 50 posts

Posted 28 June 2013 - 03:52 PM #1

I just finished installing CS-Cart version 4 on a Hostgator VPS and when I went to perform the final step of the installation ( renaming the "install" directory) I noticed that it was mysteriously gone...

I contacted the host and they were unable to locate it, and there was no mention of it in the logs as being moved or deleted.

My question is, after install, how important is the "install" directory? Do we still need it?

If it is still needed can I re-name my local copy of it and re-upload that to the server?

Thanks,
Paul

 
  • Struck
  • Teetering on Genious
  • Members
  • Join Date: 07-Mar 09
  • 2502 posts

Posted 28 June 2013 - 03:56 PM #2

I just finished installing CS-Cart version 4 on a Hostgator VPS and when I went to perform the final step of the installation ( renaming the "install" directory) I noticed that it was mysteriously gone...

I contacted the host and they were unable to locate it, and there was no mention of it in the logs as being moved or deleted.

My question is, after install, how important is the "install" directory? Do we still need it?

If it is still needed can I re-name my local copy of it and re-upload that to the server?

Thanks,
Paul


You are supposed to delete the install directory after you are finished installing for security reasons, so you must have been following the installation instructions and forgot you did it ! :-)

PS: You should "Rename" the admin directory
Cooking with Gas on Version 4.1.2 (But proceeding with caution....)

 
  • Galactica
  • Advanced Member
  • Members
  • Join Date: 20-Jun 13
  • 50 posts

Posted 28 June 2013 - 04:01 PM #3

You are supposed to delete the install directory after you are finished installing for security reasons, so you must have been following the installation instructions and forgot you did it ! :-)

PS: You should "Rename" the admin directory


New install docs, said to rename and that was what I went into cPanel to do and it wasn't there... The host also did NOT have a log file of it being deleted or moved... very strange.

At least I know it's not needed and I don't have some strange server glitch to track down now... Thanks for the reply :-)

Also, v4 does not use an admin directory, the final steps are as follows:

Once the installation is complete, it is strongly recommended that you take the following steps to protect the current installation and the CS-Cart source code.
1. Rename the directory install/ or make it password protected.
2. Change the default administrator password.
3. Remove the distribution package from the web accessible directory on your server.
4. Change the access permissions for the configuration file config.local.php as advised below.
> chmod 644 config.local.php



 
  • Struck
  • Teetering on Genious
  • Members
  • Join Date: 07-Mar 09
  • 2502 posts

Posted 28 June 2013 - 04:15 PM #4

Well then, take my suggestions above with a grain of salt because it was based upon versions prior to 4.0x of which I have not dug into yet!

You can always just re-upload your install directory and continue re-naming or password protect it per the updated instructions they provide.

PS: With a Hostgator VPS you most likely need to change your permissions to 755 for directories and 644 for files, this may be causing some of your current problems......
Cooking with Gas on Version 4.1.2 (But proceeding with caution....)

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11764 posts

Posted 29 June 2013 - 04:03 AM #5

Note the install directory contains all the language translation files. So if you're planning to add a language in the future you will need it.

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • Galactica
  • Advanced Member
  • Members
  • Join Date: 20-Jun 13
  • 50 posts

Posted 30 June 2013 - 02:45 AM #6

@ Struck

PS: You should "Rename" the admin directory


Just a quick FYI, as I mentioned earlier I didn't see an admin directory , but I did rename the "admin.php" file in v4 per your suggestion.

 
  • Galactica
  • Advanced Member
  • Members
  • Join Date: 20-Jun 13
  • 50 posts

Posted 30 June 2013 - 02:47 AM #7

@ tbirnseth

Note the install directory contains all the language translation files. So if you're planning to add a language in the future you will need it.


Thanks for the tip, I will keep that in mind :grin: