Pages: 12Next
Current Page: 1 of 2
localhost
Posted by: ddobie (---.vc.shawcable.net)
Date: February 12, 2014 08:07PM

I installed wampserver 2.3
I get a green light on the icon in the tray.
Skype is not using port 80.
But clicking localhost produces "not found" in IE.
Help.

Options: ReplyQuote
Re: localhost
Posted by: ddobie (---.vc.shawcable.net)
Date: February 12, 2014 08:12PM

I do not have c:\windows\system32\drivers\etc\hosts. Should I?

Options: ReplyQuote
Re: localhost
Posted by: RiggsFolly (---.as13285.net)
Date: February 12, 2014 10:49PM

Yes.

Try WAMPServer 2.4 its more recent

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: localhost
Posted by: ddobie (---.vc.shawcable.net)
Date: February 12, 2014 11:49PM

Do I use Notepad to make a blank hosts file? I tried already, I could not save in etc. Permission denied. Help.

Options: ReplyQuote
Re: localhost
Posted by: ddobie (---.vc.shawcable.net)
Date: February 13, 2014 12:14AM

Run as admin, made hosts, content 127.0.0.1 localhost, still IE can't display ...
There was another file, lmhosts.sam, in the etc, looks like it has the same function.

Options: ReplyQuote
Re: localhost
Posted by: RiggsFolly (---.as13285.net)
Date: February 13, 2014 10:07AM

No ignore lmhosts.

Have you tried another browser?

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: localhost
Posted by: ddobie (---.vc.shawcable.net)
Date: February 13, 2014 08:40PM

Thanks for helping me.

I changed to chrome.
Same problem: Wamp tray green, click localhost, chrome says "can not display page".

Options: ReplyQuote
Re: localhost
Posted by: RiggsFolly (---.as13285.net)
Date: February 13, 2014 09:28PM

Have you checked the c:\windows\system32\drivers\etc\hosts file

It should have this line at least

127.0.0.1   localhost

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: localhost
Posted by: ddobie (---.vc.shawcable.net)
Date: February 13, 2014 11:17PM

Yes, hosts contains 127.0.0.1 localhost

Options: ReplyQuote
Re: localhost
Posted by: ddobie (---.vc.shawcable.net)
Date: February 14, 2014 12:06AM

The apache error log contains:

[Thu Feb 13 11:47:19.355904 2014] [mpm_winnt:error] [pid 3260:tid 1108] (OS 10038)An operation was attempted on something that is not a socket. : Child: Encountered too many AcceptEx faults accepting client connections. Possible causes: dynamic address renewal, or incompatible VPN or firewall software.
[Thu Feb 13 11:47:19.355904 2014] [mpm_winnt:notice] [pid 3260:tid 1108] (OS 10038)An operation was attempted on something that is not a socket. : winnt_mpm: falling back to 'AcceptFilter none'.

And:
Parent ...
Child ...

Options: ReplyQuote
Re: localhost
Posted by: RiggsFolly (---.as13285.net)
Date: February 14, 2014 09:57AM

Try this


Open a command prompt as Administrator

Run
>netsh winsock reset

Reboot if necessary

Try apache again

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: localhost
Posted by: ddobie (---.vc.shawcable.net)
Date: February 14, 2014 06:32PM

netsh winsock reset worked, much appreciated. RiggsFolly you are the man.

but testmysql.php does not work. Nor does my project.
I believe it is because a dbase is not in the right place.
For my project I exported 2 dbases, added them to the www directory.

again help

Options: ReplyQuote
Re: localhost
Posted by: RiggsFolly (---.as13285.net)
Date: February 14, 2014 07:01PM

The testmysql.php needs to be edited before it will work!



You are going to have to explain exactly what does not work in your project. Maybe check your apache error log and php error log even the mysql error log, for any clues!

What kind of databases are they?

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: localhost
Posted by: ddobie (---.vc.shawcable.net)
Date: February 14, 2014 07:22PM

When I type localhost/BinBros/index.php I get a blank page.

My index.php is:
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/

/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);

/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . '/wp-blog-header.php' );

My dbases are 2 sql files that I exported from my server.

Options: ReplyQuote
Re: localhost
Posted by: ddobie (---.vc.shawcable.net)
Date: February 14, 2014 08:28PM

I think I have to have wordpress installed. Right?

Options: ReplyQuote
Re: localhost
Posted by: ddobie (---.vc.shawcable.net)
Date: February 14, 2014 08:36PM

Right? Wrong. My project that I downloaded contains all the wordpress info/files. Still stuck, help.

Options: ReplyQuote
Re: localhost
Posted by: ddobie (---.vc.shawcable.net)
Date: February 14, 2014 09:14PM

wp-config.php has all the db info:

// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'wrd_3eacamd1ej');

/** MySQL database username */
define('DB_USER', 'wrdxsjLBfdM');

/** MySQL database password */
define('DB_PASSWORD', 'NHZlGtSsIK');

/** MySQL hostname */
define('DB_HOST', 'binbros.netfirmsmysql.com');

/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');

/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');

Options: ReplyQuote
Re: localhost
Posted by: ddobie (---.vc.shawcable.net)
Date: February 14, 2014 10:55PM

This all produces:
www.binbros.ca hosted at netfirms.ca.

I want to see everything on my HD before transferring it to another server.

Help still.

Options: ReplyQuote
Re: localhost
Posted by: RiggsFolly (---.as13285.net)
Date: February 15, 2014 01:47AM

Well you have to restore the database to a database you create locally.... thats why you have installed MySQL.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: localhost
Posted by: ddobie (---.vc.shawcable.net)
Date: February 15, 2014 09:29PM

Could you help me getting started? Where is mysql program installed?

Options: ReplyQuote
Pages: 12Next
Current Page: 1 of 2


Sorry, only registered users may post in this forum.