hi, for deploy actually i use a “slow” way which insures that things are fine as much as possible, although, it might seem to take longer, but i can track each step and fix if needed.
scenario A - if brand new project, needs to be deployed along with libraries and stuff, it will have big size,
- deploy all apps with libs, css, buttons…etc to your local server at your development computer e.g. d:/wamp or xamp/htdocs/myproject
- go to myproject folder and select everything then add to archive and make zip
- go to your production server, extract there in suitable folder (use cpanel file manager or remote desktop connection for windows, ftp doesn’t necessary able to extract files on remote server)
- upload db if mysql and setup user and password (i usually avoid using root, alternatively, i create specified dedicated user for each db)
- go to your www.site.com/projectpath/ and click anything to setup the connection once (if didnot work, or if it was used before and cashed in your browser, try www.site.com/projectpath/_lib/prod/lib/php/nm_ini_manager2.php"
- after all works ok, protect production, i usually remove the connection settings files things or rename some files not to be accessable easily
- done
scenario B
if the project needs to be updated only for few applications, again, deploy to local server, use filezella or any other ftp software to replace all folder of the effected application(s) from your httdocs folder to your suitable location on the remote server… do NOT upload the _lib folder unless you want to change in languages, themes, buttons, images…etc… even though, those are recommended to be uploaded one by one to suitable location(s) instead of uploading the entire _lib folder… update db stuff if required… done
finally if you care about secured FTP, then use it from your ftp software settings, not directly from sc to live server, there are many things that can prevent successful upload
hope that helps anybody having common issues with production
Regards,
Mike