Deploy Scriptcase Application to ftp Cpanel took forever

Hi gurus,

I tried to deploy my scriptcase application by using deploy, but always freeze at same percent , i thought it was just slow or some calculation, so I just let it “doing deployment”, but after waiting for almost 5 hours, still same at same percent without any progress.
What happen ?? can i do something about it ?

I want to deploy to Cpanel using ftp. is there any way ? I even try to zip the files, but still same result.

the Production site for your application is not the same as the Development site ?

It happened to me a lot until I got a new laptop so I think its a memory issue. It helped me to use Edge or firefox rather than Chrome. Also you do not need to deploy the whole 100-220 megs each time. Only do that the first time and after each SC update to the core local system. So do not check the options “deploy common libraries” unless you must. Secondly if you use the advanced option, SC will give you a separate zip file for your apps and the common libraries and this often helped too. Finally you can deploy the common libraries without generating them in SC at all. You can zip them up yourself. You can get these from your local development environ under _lib and zip those up instead - they are the same. And finally you can also download them for the SC website. Go to the downloads section and you find them there. Unzip those manually to your dev environ and you should be good to go.

nice…it’s true i am using chrome, might try my luck with firefox, .

going to update whether i am succeed or not…thanks

sorry, the production site ? and development site ??? i am using SC in chrome …and now I want to deploy to web hosting

update : i try mozilla firefox and not freeze, but shown error with message like this :

" Content Encoding, the web unable to be shown because wrong compression format not supported or unknown, please contact web owner"

can someone help me to get through this, I am uploading to Cpanel.

thank you

Sure. This method works for me in Firefox but since the files generated by SC locally are smaller it will work in Chrome too.

  1. Go here and download the production files for your version of SC (the latest I would assume). https://www.scriptcase.net/download/additional/
  2. If you unzip this file you will see it has all the files you need under a directory called scriptcase_prodxxxx. Unzip it and zip it up again without this directory (otherwise when you unzip it on Cpanel it will have the this folder in the root which you do not want).
  3. Generate your files without the "Common Libraries’ but do include the much smaller CSS and buttons etc as these have required images in them. Without the common files this should take 30 secs - 2 minutes to generate depending on the size of your apps and be less than 15 meg. I think either advanced or typical will do. Advanced definitely works.
  4. Upload both files to the root of you website using FTP. The zip file file from SC is usually too big to upload using CPanel alone unless you have altered configs in php.ini. So FTP is usually a must. . upload to your website directory usually /public_html or public_html/yourwebsite.
    5… Unzip both zip files using the file browser built into Cpanel. At some point delete these zip files as they mess up security when you sync apps if you use it, (another topic altogether). Avoid FTPing the unzipped files. It will work but will take 20x longer if not more.
  5. Set up a database in Cpanel (using phphMyadmin if you can). Export db from local machine (dev enviroment) and import it into web machine (prod environment)
  6. Point your browser to yourwebsite.com/_lib/prod/lib/php/?login . Follow instructions and set up db.
  7. Next time you update, you only need the smaller zip file. And only use typical as advanced can mess up your db configs. If you do, don’t panic, just access the backend configs again using the link above.
  8. If you get a HTML error after unzipping, you need to change the permission for the unzipped files. Search the forum for this answer.

thank you very much, need to try this before i go insane, trying every way i can think off. let you know for update

Thank you very much, now my web SC already up and running, thank you.
Just a little modification i made,

  1. I zip all files using firefox, and upload the files to cpanel file manager, extract
  2. the rest for production I follow as written.

Excellent news. It gets easier after the first time!!

thank you…sir