Only index.html Showing
Posted by: Dingus (---.vm12.cable.virginm.net)
Date: June 06, 2024 01:44PM

Hi all.

I've had Ver 3.3.5 x64 running for a while now, but it's got a weird problem I can't figure out.

When I use either the URL or IP address of my server it's looks fine. I runs the index file as it should.
However, If I try to access another file it fails.

For example I type my URL of my site I get the home page.

If I type for example "home page/test" or "home page/test.html" it fails.

I've checked the httpd.conf, httpd-vhost.conf and host but all seems ok.

I haven't changed anything since I upgraded, so all should still be working ok.

Any idea folks?

Options: ReplyQuote
Re: Only index.html Showing
Posted by: Otomatic (Moderator)
Date: June 06, 2024 03:42PM

Hi,

Clear the browser cache, if necessary several times, usually with Ctrl-F5

What is the exact error message?

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Only index.html Showing
Posted by: Dingus (---.vm12.cable.virginm.net)
Date: June 11, 2024 12:05PM

Hi and thanks for helping Otomatic.

I've cleared the cache multiple times.

On boot the icon stays orange. I check the services and get:

State of services:

The service 'wampapache64' is NOT started
EXIT error code:1066
Help message for error code 1066 is:The service has returned a service-specific error code.
>>> AH00015: Unable to open logs .
>>> AH00451: no listening sockets available, shutting down .

The service 'wampmysqld64' is started
Start type : DEMAND_START
Service Session : LocalSystem

The service 'wampmariadb64' is started
Start type : DEMAND_START
Service Session : LocalSystem

WampServer (Apache, PHP and MySQL) will not function properly if any service
'wampapache64'
'wampmysqld64'
'wampmariadb64'
is not started.

all services BINARY_PATH_NAME are OK
all services START_TYPE are OK


I need to take some action the get wampapache64 running.
When I run:

Get-Process -Id (Get-NetTCPConnection -LocalPort 80).OwningProcess

I get:
Handles NPM(K) PM(K) WS(K) CPU(s) Id SI ProcessName
------- ------ ----- ----- ------ -- -- -----------
189 30 13056 25828 0.63 5320 0 httpd

So I run:

taskkill /f /PID 5320
This kills httpd

Now all WAMP services will start and the icon is green

Checking the ports before or after any action gives:

httpd.exe 13100 TCP 80 http 0.0.0.0 0.0.0.0 Listening d:\wamp64\bin\apache\apache2.4.59\bin\httpd.exe Apache HTTP Server Apache HTTP Server 2.4.59 Apache Software Foundation 11/06/2024 11:01:05 NT AUTHORITY\SYSTEM wampapache64 C 11/06/2024 11:03:40 11/06/2024 11:01:05

Options: ReplyQuote
Re: Only index.html Showing
Posted by: Otomatic (Moderator)
Date: June 11, 2024 01:46PM

Hi,

> >>> AH00451: no listening sockets available, shutting down .

You should have seen which application was occupying port 80!

Right-click -> Tools -> Test port 80

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Only index.html Showing
Posted by: Dingus (---.vm12.cable.virginm.net)
Date: June 17, 2024 11:45PM

***** Test which uses port 80 *****

===== Tested by command netstat filtered on port 80 =====


Test for TCP
Your port 80 is used by a processus with PID = 12304
The processus of PID 12304 is 'httpd.exe' Session: Services
The service of PID 12304 for 'httpd.exe' is 'wampapache64'
This service is from Wampserver - It is correct

Test for TCPv6
Your port 80 is used by a processus with PID = 12304
The processus of PID 12304 is 'httpd.exe' Session: Services
The service of PID 12304 for 'httpd.exe' is 'wampapache64'
This service is from Wampserver - It is correct



===== Tested by attempting to open a socket on port 80 =====

Your port 80 is actually used by :

Server: Apache/2.4.59 (Win64) PHP/8.2.18 mod_fcgid/2.3.10-dev

--- Do you want to copy the results into Clipboard?
--- Press the Y key to confirm - Press ENTER to continue...

When I close the service and restart all services it seems to work ok.

Options: ReplyQuote
Re: Only index.html Showing
Posted by: Otomatic (Moderator)
Date: June 18, 2024 08:40AM

Right-Click -> Restart from zero

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Only index.html Showing
Posted by: Dingus (---.vm12.cable.virginm.net)
Date: June 18, 2024 11:44AM

Otomatic I've done that numerous times.

The good news though.
I deleted all the log files as advised, removed WAMP and deleted an reference in the registry.
Also removed ALL C++ that I could find.

Reinstalled WAMP and all C++
It's now been running without the original problem occuring again. Fingers crossed.

Unfortunately I now seem to have generated a new problem. I'll start a different post on that issue.


Thanks again everyone for your help.

Options: ReplyQuote
Re: Only index.html Showing
Posted by: Dingus (---.vm12.cable.virginm.net)
Date: June 18, 2024 11:59AM

Otomatic I must have done that dozens of times.
Even rebooted my PC MANY times.
Reinstalled WAMP many times including different ver.
I've removed all anti-virus programs.

It's really strange I had to kill a service httpd and restart that service for WAMP to run. At least that has stopped.

I tried allowing links on the home page, but no luck there.

I'm at a loss with this one.

Options: ReplyQuote
Re: Only index.html Showing
Posted by: Otomatic (Moderator)
Date: June 18, 2024 01:49PM

Hi,

> Reinstalled WAMP and all C++
- Best way to install Visual C++ Redistributable Packages
The simplest, easiest, least error-prone, fastest way to install the VC++ redistributables that are essential to Wampserver (and to many other softwares) is to use a program that installs everything that is needed with a single executable.
No, this is not a utopia ! It exists and it's 'AIO Repack' named VisualCppRedist AIO created by addobi1406, always updated with the latest versions from Microsoft.
The files to download are here: VisualCppRedist AIO All Releases
Download the latest version of the VisualCppRedist_AIO_x86_x64.exe file and run it as administrator, all necessary redistributable VC++ will be installed and excess or obsolete files will be removed. To ensure that everything runs smoothly, some applications will need to be disabled when requested by the Redist VC++ installer.

> Reinstalled WAMP many times including different ver.
Recurring problems indicate a problem on your system
Are you up to date with Windows updates?
In a command window opened as administrator, type: "sfc /scannow" (without quotes)

> I've removed all anti-virus programs.
To uninstall third-party anti-virus software correctly, you need to use the uninstaller provided by the anti-virus manufacturer.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Only index.html Showing
Posted by: Dingus (---.vm12.cable.virginm.net)
Date: June 27, 2024 10:23AM

Otomatic.
Everything is uptodate on my system.
Did SFC right at the beginning.
I had removed all anti virus but hadn't used their own tool. Have now.

I'm going to try using Xampp just to check if it's something other than Wamp.

Will report any update.

Options: ReplyQuote


Sorry, only registered users may post in this forum.