Web deploy problems

Develop and Deploy Cross-Browser Web Apps .

Web deploy problems

Postby joedarock » Thu Jan 21, 2016 8:47 pm

I have an app that I wrote with CrossUi 1.3. It runs as expected in the debug mode, but not in a deploy package. In the deploy file set, the index.html code is something very different that I did 3 weeks ago, not the code I see in the IDE right now.

Suggestions?

Joe
joedarock
 
Posts: 161
Joined: Thu Nov 19, 2015 8:39 pm

Re: Web deploy problems

Postby support » Fri Jan 22, 2016 2:44 am

It's weird!
Do you have any online demo?
support
 
Posts: 352
Joined: Sat Apr 27, 2013 9:22 am

Re: Web deploy problems

Postby joedarock » Fri Jan 22, 2016 10:20 am

No online demo availabel, but it would be somewhat academic since the wrong file is being published. All I can think of is to uninstall CrossUI, scrub the file folders and registry, and start over. That's rather dire and difficult, so I'd like to pursue alternative solutions first.
joedarock
 
Posts: 161
Joined: Thu Nov 19, 2015 8:39 pm

Re: Web deploy problems

Postby joedarock » Fri Jan 22, 2016 12:22 pm

OK, I seem to have gotten past that last problem by re-booting the PC - weird! Now, when I unzip the deploy package to my desktop and try to load the index.html into my browser (Chrome), I just get a screen that says "Loading...". Does the code have to be loaded onto an actual server?
joedarock
 
Posts: 161
Joined: Thu Nov 19, 2015 8:39 pm

Re: Web deploy problems

Postby joedarock » Fri Jan 22, 2016 12:44 pm

With the deploy package loaded on an Apache server running at port 8080, here is the console printout while trying to execute the index.html:

Failed to load resource: the server responded with a status of 404 (Not Found)
http://192.168.0.104:8080/runtime/xui/js/xui-debug.js Failed to load resource: the server responded with a status of 404 (Not Found)
index.html:31 Uncaught ReferenceError: xui is not defined
chrome-extension://bmagokdooijbeehmkpknfglimnifench/firebug-lite.js:11883 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.

Note that /runtime/xui/js/xui-debug.js not present in the deploy package. The only file in the /js folder is xui-all.js.
joedarock
 
Posts: 161
Joined: Thu Nov 19, 2015 8:39 pm

Re: Web deploy problems

Postby support » Fri Jan 22, 2016 1:24 pm

Per your description, I guess maybe you fogot to copy one or some files.

Press F12 to show the chrome's debug window please.
support
 
Posts: 352
Joined: Sat Apr 27, 2013 9:22 am

Re: Web deploy problems

Postby joedarock » Fri Jan 22, 2016 1:51 pm

I thought the "Web Deploy Package" automatically packaged all the necessary files. I simply unzipped the package and FTP'd to my server.

As to F12, which screen(s) do you want?
joedarock
 
Posts: 161
Joined: Thu Nov 19, 2015 8:39 pm

Re: Web deploy problems

Postby support » Sat Jan 23, 2016 12:30 am

The default package config didn't include "adv-all.js", maybe you used some controls in the file.
You can try to package it ,and try again.

Untitled.png
Untitled.png (15.1 KiB) Viewed 7457 times
support
 
Posts: 352
Joined: Sat Apr 27, 2013 9:22 am

Re: Web deploy problems

Postby joedarock » Mon Jan 25, 2016 8:36 pm

I tried this, but still getting a page that just says

"Loading...//"
joedarock
 
Posts: 161
Joined: Thu Nov 19, 2015 8:39 pm

Re: Web deploy problems

Postby support » Tue Jan 26, 2016 1:45 am

Press "F12" to open the Browser's debug window please!
support
 
Posts: 352
Joined: Sat Apr 27, 2013 9:22 am

Next

Return to CrossUI for Web Apps

Who is online

Users browsing this forum: No registered users and 0 guests

cron