FoxInCloud
Error in concept Project
Gravatar is a globally recognized avatar based on your email address. Error in concept Project
  Arcadio Bianco
  All
  Sep 12, 2019 @ 07:37am

I am creating a new project for FIC studies. But I can't make it work. My other project works normally, I checked and compared the configuration of a project that I use a long time ago and apparently all similar, but only the old project works and not in new. What may I be forgetting to check?

Gravatar is a globally recognized avatar based on your email address. re: Error in concept Project
  FoxInCloud Support - Thierry N.
  Arcadio Bianco
  Sep 12, 2019 @ 09:29am

An AJAX request fails… please review the ‘network’ tab of browser development tools

Gravatar is a globally recognized avatar based on your email address. re: Error in concept Project
  Arcadio Bianco
  FoxInCloud Support - Thierry N.
  Sep 12, 2019 @ 10:07am

Captura de Tela 2019-09-12 a`s 14.06.57

Gravatar is a globally recognized avatar based on your email address. re: Error in concept Project
  FoxInCloud Support - Thierry N.
  Arcadio Bianco
  Sep 12, 2019 @ 10:28am

I prefer to see the whole network panel however, set in hewo.js:

CGI : 'hewo'
Gravatar is a globally recognized avatar based on your email address. re: Error in concept Project
  Arcadio Bianco
  FoxInCloud Support - Thierry N.
  Sep 12, 2019 @ 11:37am

I used XXX.js from another project and the issue was resolved. The JS that FIC generated was sent by email.

Gravatar is a globally recognized avatar based on your email address. re: Error in concept Project
  FoxInCloud Support - Thierry N.
  Arcadio Bianco
  Sep 13, 2019 @ 02:16am

The JS that FIC generated was sent by email

Generated by FAA? nothing received yet.

To analyse why it went wrong, the Adaptation Log would be helpful.

Gravatar is a globally recognized avatar based on your email address. re: Error in concept Project
  Arcadio Bianco
  FoxInCloud Support - Thierry N.
  Sep 13, 2019 @ 05:58am

I sent it back now using a link.

Gravatar is a globally recognized avatar based on your email address. re: Error in concept Project
  Arcadio Bianco
  Arcadio Bianco
  Sep 26, 2019 @ 06:49am

Hello,

Have you checked? I believe the FAA is not creating a CSS correctly.

Gravatar is a globally recognized avatar based on your email address. re: Error in concept Project
  FoxInCloud Support - Thierry N.
  Arcadio Bianco
  Sep 26, 2019 @ 09:08am

Hello Arcadio,

FAA is a VERY complex program and it's impossible to tell, just by reading code, what may not work in your case (no one else ever reported this issue).

However we fixed a bug that made step 4. not in the log. Updated on our site.

The issue seems to be in replacing xxx by the application code… can you check in which file the replacement is OK or not? The source files that FAA copies into the app's folder are located in home(1) + "Tools\AB\AW\App\"

UPDATE: I can see nothing wrong in the files of the project you've sent a link of by email (code hewo).

Gravatar is a globally recognized avatar based on your email address. re: Error in concept Project
  Arcadio Bianco
  FoxInCloud Support - Thierry N.
  Sep 26, 2019 @ 12:00pm

I'm sorry, the problem is in hewo.js and not in hewo.css, can you check?

Gravatar is a globally recognized avatar based on your email address. re: Error in concept Project
  FoxInCloud Support - Thierry N.
  Arcadio Bianco
  Sep 26, 2019 @ 11:47pm

As I wrote earlier, I can't see nothing wrong in the files of the project just by reading the code.

If you suspect hewo.js to be wrong, have you checked for a JavaScript error in the Browser Developer Tools?
When you have a client-side error, it's the first place to look at.

Gravatar is a globally recognized avatar based on your email address. re: Error in concept Project
  Arcadio Bianco
  FoxInCloud Support - Thierry N.
  Sep 27, 2019 @ 06:12am
  • FAA/xxx.js: Fix unterminated comment issue

Apparently, I was right and you found the problem. Thanks!

Gravatar is a globally recognized avatar based on your email address. re: Error in concept Project
  FoxInCloud Support - Thierry N.
  Arcadio Bianco
  Sep 27, 2019 @ 06:16am

OK however you should have debugged the issue in the Browser Developer Tools and reported here.

I waisted a lot of time trying to guess the issue by reading code.

PLEASE always debug in the Browser Developer Tools before raising an issue.

Thanks

Gravatar is a globally recognized avatar based on your email address. re: Error in concept Project
  Arcadio Bianco
  FoxInCloud Support - Thierry N.
  Sep 27, 2019 @ 06:29am

That's fine, but you know most FIC developers don't understand this part much and I include myself in it. Anyway I explained that I had a problem with XXX.js and opening it in a text editor the error was quite clear. But anyway I will try to improve on the explanations of the problems.

Gravatar is a globally recognized avatar based on your email address. re: Error in concept Project
  FoxInCloud Support - Thierry N.
  Arcadio Bianco
  Sep 27, 2019 @ 06:39am

As you use the VFP debugger, you MUST use the Browser Developer Tools.

I would even recommend to keep it open whenever you develop your FoxinCloud application if ever you have a screen large enough for that.

Any error reported here (in red) is meaningful and needs your attention.

I've written it over and over, PLEASE do take some time to get familiar with the Browser Developer Tools; at the end you'll find that this environment is very close and similar to VFP IDE, and you'll get comfortable using it.

presentation: https://developer.mozilla.org/en-US/docs/Learn/Common_questions/What_are_browser_developer_tools

tutorial (among many others): https://www.youtube.com/watch?v=wcFnnxfA70g

Gravatar is a globally recognized avatar based on your email address. re: Error in concept Project
  Arcadio Bianco
  FoxInCloud Support - Thierry N.
  Sep 27, 2019 @ 08:43am

Ok! Thanks for your tips.

© 1996-2019