|
Deployed site on PCS cloud test fails to show first page |
Débuté par Stefan BUTENEERS, 04 sep. 2017 23:10 - 3 réponses |
| |
| | | |
|
| |
Membre enregistré 23 messages |
|
Posté le 04 septembre 2017 - 23:10 |
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 |
| |
| |
| | | |
|
| | |
| |
Posté le 05 septembre 2017 - 15:32 |
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 |
| |
| |
| | | |
|
| | |
| |
Membre enregistré 23 messages |
|
Posté le 09 septembre 2017 - 10:52 |
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 ? |
| |
| |
| | | |
|
| | |
| |
Posté le 09 septembre 2017 - 17:32 |
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 ? |
| |
| |
| | | |
|
| | | | |
| | |
|