Duplicating a site onto subdomain - Worked a 50 times before.. what would cause this now? Server?

a 100% sure its not a Wappler bug… but what would cause this to happen all of a sudden? A server change?

I have a subdomain with eg demo.mysite.com where the client make their changes.
Once the client is happy with the changes. Then i move it to the clients subdomain.
eg… john.mysite.com - its uses the same database … the same data… I just FTP myself a copy of demo.mysite.com and then upload it to john.mysite.com… and this has worked 50 times before the same process… ( * not touching or updating at all in Wappler… its merely taking a working copy… duplicating it…)

Today… i did the same… made copy… and reload it to the sever! But then when i open say. john.mysite.com the site loads… but with Uncaught SyntaxError: Unexpected identifier

Could it be a change on the server? or the FTP software… eg FileZilla?

The original - and working…

then i make a duplicate download and load it to the server on john.mysite.com then this happens.

any ideas why it would not work all of a sudden… when it was working 50times before…

Are you sure all the files are uploaded to your server?
Can you access them like http://john.mysite.com/dmxAppConnect/dmxAppConnect.js ?

Can I PM you please… @Teodor

Yes, please go ahead.

Let me just do a few test with he FTP settings, as i don’t want to waste your time.

Ok FOUND the problem. With the latest ver of FileZilla. When you download a copy. It changes the character set… so when you then take that copy from FileZilla and upload it…

I have now uploaded from my “dev” folder and not the FileZilla copy… and its working… sorry for the trouble.

Why not just using the built in Wappler FTP functionality and define a new target, then publish there?

i know but long story. have many subdomains with different files. but only one master dev in my wappler… I know it sounds silly. But it works for me :wink: I do it with other sites but not with this specific site.