|
| [WB23] How to make WW_CMS sample running? |
| Iniciado por guest, 24,ago. 2018 11:45 - 8 respuestas |
| |
| | | |
|
| |
| Publicado el 24,agosto 2018 - 11:45 |
Hi all,
I am just starting to try and learn Webdev, which isn't too easy:
[Webdev23 ver. 53k] Trying to test run WW_CMS sample, first without WAMP then with WAMP on. Both showed the same error in Firefox browser (here translated from Finnish):
Tab header: IIS 7.5 error info - Not... (address: http://localhost/WW_CMS_WEB/UK/index.awp) Server error in application DEFAULT WEB SITE HTTP-error 404.0 - Not Found The resource you are searching for has been deleted, its name has been changed or it is temporarily not in use. Detailed information about the error: Module CgiModule Announcement ExecuteRequestHandler Handler WB_.awp Error code 0x00000000 Requested URL http://localhost:80/WW_CMS_WEB/UK/index.awp Physical path D:\My Sites\My Examples\WW_CMS\WW_CMS_WEB\UK\index.awp Sign up method Anonyme Signed-up user Anonyme The handler name "WB_.awp" looks like being crippled? Searching for "WB_.awp" and "WB_" found no occurrences in the project. When I check my localhost there is no directory named WW_CMS_WEB. Checking the configuration found no problems. So what's up? What do I need to do to get this sample running?
Best regards Ola |
| |
| |
| | | |
|
| | |
| |
| Publicado el 24,agosto 2018 - 13:25 |
Hi again!
I am absolutely no expert in these internet server things, rather a total novice, but it seems to me that my localhost has been messed up.
Before starting to play around with Webdev, my localhost was served by Apache and created by WAMP. It is in c:\wamp\www\. There I have two sites. One uses html only, so it works OK, but the other one is using PHP, and it doesn't work locally anymore, even though WAMP is ON. It works OK on my ISP.
The problem seems to be that my development machine's localhost has been automagically changed to c:\inetpub\, which is served by IIS and obviously created by Webdev when I first tested version 22 in may this year.
So how to make both the Webdev sample WW_CMS and my own php-based site work? There are similar, and different, errors with some other WB samples too (while some simpler ones like "Photo Gallery" and "WW_Static_Company" seem to work OK!), but obviously I need to solve this localhost problem first, so any help will be highly appreciated.
Best regards Ola |
| |
| |
| | | |
|
| | |
| |
| Publicado el 24,agosto 2018 - 13:38 |
Hi Ola,
one thing is sure, you can have only ONE webserver running on a machine at any given time
So if you NEED wamp, then you need to inactivate IIS, and you need to reinstall webdev to tell, during the install, that you are using apache/wamp so that webdev knows to configure it. Be aware that not ALL configurations of apache/wamp are supported by webdev, soi it is possible that you would have to configure each site by hand.
personnaly, I prefer to use IIS as I know it a little bit and as webdev knows how to configure all versions older than itself. But I understand that you may have constrains that I do not have...
Best regards |
| |
| |
| | | |
|
| | |
| |
| Publicado el 24,agosto 2018 - 16:28 |
Hi Fabrice,
Thank you for the guidelines. I am sure I have constrains that you do not have...
I am not sure whether I NEED Wamp, but it's overwhelmingly nice and easy and supplies all the major components needed to run web pages, without problems or needs for special tweaking. And it worked like an old-time train's toilet, until I installed Webdev...
If I decide to go with IIS solely, do I then also have to install Php and MySql separately?
When I installed Webdev, I didn't notice that there would have been any options regarding the apache/wamp configuration? But I will check this.
I found these when searching solutions to this problem:
"Can't set up the environment with WAMP localhost": https://forum.pcsoft.fr/fr-FR/pcsoft.us.webdev/569-can-set-environment-with-wamp-localhost/read.awp
And Webdev help: "Configuring the Apache 2.2 server": https://doc.windev.com/en-US/…
"Configuring the Apache server (1.3.x and 2.0.x)": https://doc.windev.com/en-US/…
My Apache server's version is 2.4.4., so am I out of luck as far as Apache is concerned?
When reading the help pages, it seems that it is necessary to configure the server differently for different types of sites, like AWP, PHP... Is this correct?
Best regards Ola |
| |
| |
| | | |
|
| | |
| |
| Publicado el 25,agosto 2018 - 15:29 |
Hi Ola,
I use IIS because webdev does the configuration for me 95% of the time and I NEVER do PHP... So, sorry, but I won't be able to help you with wamp and apache...
I KNOW that when you install webdev (we are talking about your development machine/test environment, here), you have the choice between IIS and apache (and both can be installed+configured for you) but as I was saying before, not ALL configuration of apache (or of wamp containing apache) are supported...
So your choice, basically is: - you use one of the options procided by webdev in the hope that everything will be done for you - you decide to use something else and you will have to configure everything by hand
Best regards |
| |
| |
| | | |
|
| | |
| |
| Publicado el 27,agosto 2018 - 12:40 |
Hi Fabrice,
Thank you for the guidelines. I decided to simplify my setup and go completely with IIS. I installed also PHP and MySQL separately according to instructions given in MickeySoft's homepage, and obviously and hopefully they got properly integrated with IIS. I also moved my old sites to under c:\inetpub\ and they work nicely there.
But the WB samples are not placed int the IIS localhost, they are in D:\My Sites\... So obviously the test sites can be anywhere on the computer, if the physical path is specified in IIS's advanced settings?
Now also many more WB samples started working, but not all, for example the one mentioned in in my first message of this thread:
First I re-downloaded the WW_CMS sample and then tried again to test run it, under IIS. It gave this error in the browser (here translated from Finnish):
Tab header: IIS 7.5 error info - Not... (Browser address: http://localhost/WW_CMS_WEB/UK/index.awp) Server error in application DEFAULT WEB SITE HTTP-error 404.0 - Not Found The resource you are searching for has been deleted, its name has been changed or it is temporarily not used. Detailed information about the error: Module CgiModule Announcement ExecuteRequestHandler Handler WB_.awp Error code 0x00000000 Requested URL http://localhost:80/WW_CMS_WEB/UK/index.awp Physical path D:\My Sites\My Examples\WW_CMS\WW_CMS_WEB\UK\index.awp Sign up method Anonyme Signed-up user Anonyme
"Localhost:80"? What is this ":80" here? It does not exist in all the sample addresses. The handler name WB_.awp appears to be crippled. Is it? Where can it be fixed? Searching for "WB_.awp" and "WB_" found no occurrences in the project. Checking the configuration found NO problems. In IIS settings the physical path is different from the one in the error display: D:\My Sites\My Examples\WW_CMS\WW_CMS_WEB The index.awp file is actually in this directory. The UK subdirectory only has another subdirectory "res" containing css, js, gif, png, swf and svg files, otherwise "UK" is empty.
IF I take the UK-part away from the address, I still get the almost the same error (eg. there is no :80 in the localhost and the handler is now WB_/WW_CMS). So what's up? What do I need to do to get this stubbornly reluctant "Dynamic Webdev" sample running?:confused:
Another very, very annoying bug in WB is that when downloading samples, the "My Sites" directory always becomes invisible! Same applies also to WD and (if I remember correctly, also to) WM, to their respective project directories. I wonder what causes this.:eek:
Best regards Ola [Webdev23 ver. 53k, Win 7 home premium, IIS 7.5.7601.17514, PHP 7.2.9, MySQL 8.0.12] |
| |
| |
| | | |
|
| | |
| |
| Publicado el 27,agosto 2018 - 13:53 |
Hi Ola,
The configuration of a site is managed by WDAdmin. (Tools, WDAdmin) You can go to the Advanced tab and click on the Diagnostic button. Then check the box before Site or Webservice, choose the site you are testing and click the Start button. If there are errors you can click the "Correct" button. If that doesn't work do a repair of the project first and try again.
Kind regards, Piet |
| |
| |
| | | |
|
| | |
| |
| Publicado el 27,agosto 2018 - 13:53 |
Hi Ola,
try running the webdev administrator (it stats automatically when youdo a go, or you can start it from the tool menu.
In it, there is an advanced pane (I'm saying all that from memory, so things may be different) where you have a server/repair/configuration tool... It allows to test the configuration of your server AND of any of the web sites you used in webdev. When erors are detected, it also allows to repair autoatically.
Best regards |
| |
| |
| | | |
|
| | |
| |
| Publicado el 27,agosto 2018 - 21:59 |
Hi Piet and Fabrice,
Thank you for the instructions. Repairing the project finally solved the problem:spos:. The sample runs. Now eagerly towards new adversities, hardships and calamities...
Best regards Ola |
| |
| |
| | | |
|
| | | | |
| | |
|