Page trys to load twice

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Page trys to load twice

Postby kenhigg » 03. November 2010 00:27

I think this is an Apache issue - When I request a page via local host the page loads, then a few seconds later a message comes up saying the url is not valid and can't be loaded. This is in Firefox but the issue happens with IE as well. Any ideas where I can start looking for a fix? Thanks for any help - :)
kenhigg
 
Posts: 2
Joined: 03. November 2010 00:19

Re: Page trys to load twice

Postby kenhigg » 03. November 2010 00:33

F/U

I deleted these meta tags and it fixed the issue:

Code: Select all
<meta name="generator" content="Bluefish 2.0.0" >
<meta name="author" content="Ken" >
<meta name="date" content="2010-11-02T18:59:14-0500" >
<meta name="copyright" content="">
<meta name="keywords" content="">
<meta name="description" content="">
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8">
<meta http-equiv="content-style-type" content="text/css">
<meta http-equiv="expires" content="0">
<meta http-equiv="refresh" content="5; URL=http://">


Any idea which one the culprit was???
kenhigg
 
Posts: 2
Joined: 03. November 2010 00:19

Re: Page trys to load twice

Postby Sharley » 03. November 2010 05:17

kenhigg wrote:When I request a page via local host the page loads, then a few seconds later a message comes up saying the url is not valid and can't be loaded.

Any idea which one the culprit was???
Code: Select all
<meta http-equiv="refresh" content="5; URL=http://">

You need to specify an address in this meta tag, for example:
URL=http://www.someaddress.com
Or delete the tag completely (preferred).

This meta redirect tag means it will 'refresh' (redirect) the page in 5 seconds with the 'content' (URL) you specify.

Just using http:// will give you an error that may also be visible in the apache error log file...
xampp\apache\logs\error.log
...which should always be consulted first when ever you get an error when developing using XAMPP.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 65 guests