PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WEBDEV 2024 → Deployed site on PCS cloud test fails to show first page
Deployed site on PCS cloud test fails to show first page
Started by Stefan BUTENEERS, Sep., 04 2017 11:10 PM - 3 replies
Registered member
23 messages
Posted on September, 04 2017 - 11:10 PM
Hi all,

I don't understand this behaviour: in development mode the test of my site runs just fine, but when I deploy to the PCS test cloud I get this error:

"Le site a mal fonctionné car le Serveur d'Application WEBDEV n'a pas pu renvoyer de page.
Pour corriger ce problème :
- Vérifiez qu'une première page dynamique est bien définie
- Vérifiez que les éventuels appels à la commande FinProgramme() ou ContexteFerme() sont bien précédés d'un appel à une commande d'affichage (PageAffiche, ScriptAffiche, ChaîneAffiche, FichierAffiche, ASPAffiche, PHPAffiche)
(5, ERR_NO_CURRENT_PAGE)"

First page is defined and it is a dynamic page.
The current status of the development is simply lay-out which I want to show to my customer so he can evaluate the look and feel of the site before continuing the development. The project barely contains any code at this time and surely no end program or context close commands.

Development is done in version 21, could this be the problem ?

Anyone ?

Thanks
Stefan
Posted on September, 05 2017 - 3:32 PM
Hi Stefan

this messages indicates that an error occurred in your page code, and
that it was not properly managed and is not returning an error message
in a way that could be displayed in the browser.

Most of the time, it means that your data access code is incorrect

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)

More information on http://www.fabriceharari.com


Le 9/4/2017 à 3:10 PM, Stefan BUTENEERS a écrit :
Hi all,

I don't understand this behaviour: in development mode the test of my
site runs just fine, but when I deploy to the PCS test cloud I get this
error:

"Le site a mal fonctionné car le Serveur d'Application WEBDEV n'a pas pu
renvoyer de page.
Pour corriger ce problème :
- Vérifiez qu'une première page dynamique est bien définie
- Vérifiez que les éventuels appels à la commande FinProgramme() ou
ContexteFerme() sont bien précédés d'un appel à une commande d'affichage
(PageAffiche, ScriptAffiche, ChaîneAffiche, FichierAffiche, ASPAffiche,
PHPAffiche)
(5, ERR_NO_CURRENT_PAGE)"

First page is defined and it is a dynamic page. The current status of
the development is simply lay-out which I want to show to my customer so
he can evaluate the look and feel of the site before continuing the
development. The project barely contains any code at this time and
surely no end program or context close commands.

Development is done in version 21, could this be the problem ?

Anyone ?

Thanks
Stefan
Registered member
23 messages
Posted on September, 09 2017 - 10:52 AM
Thank you for your reply Fabrice.
I deleted all code from the home page but still no luck though.
As the Home page is based upon a page template I also deleted all code in the page template, but the same error remains.
What else could this be ?
Posted on September, 09 2017 - 5:32 PM
Hi Stefan,

it could be that in your analysis, you described a connection to a DB
that is NOT accessible when deployed on your server, and therefore
creates an error.

If that is the case, REMOVE ALL CONNEXIONS from the analysis, and use a
changeconexion in your project init to connect to the correct DB

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)

More information on http://www.fabriceharari.com


Le 9/9/2017 à 2:52 AM, Stefan BUTENEERS a écrit :
Thank you for your reply Fabrice.
I deleted all code from the home page but still no luck though.
As the Home page is based upon a page template I also deleted all code
in the page template, but the same error remains.
What else could this be ?