View previous topic :: View next topic |
Author |
Message |
mrdee -
Joined: 24 Oct 2007 Posts: 3
|
Posted: Wed Oct 24, 2007 3:53 pm Post subject: Problems with Abbyss |
|
|
Rcently Abbyss seems to have developed problems.
When it starts up with Windows, it gives the message: "Could not listen", as a result of which I constantly have to open it manually and let it autodetect a port.
This is really annoying.
It keeps happening although I have not changed any settings.
Also, when I open the console, it says: "Default Host on Port 80: Listening error".
When I dor "Restore" in the taskbar I get this: '-- Default host on port 80 has a listening problem (Local URL http://127.0.0.1)
Console local URL: http://127.0.0.1:10001'
Any idea what the fault could be?
Thanks, Mr. Dee.
Last edited by mrdee on Wed Oct 24, 2007 4:04 pm; edited 2 times in total |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Wed Oct 24, 2007 3:57 pm Post subject: |
|
|
Moved to General Questions
Do you have any other software running on the same port as Abyss? Eg, Skype or another HTTP server? Also check you are not accidentally running Abyss twice (this will show up in the task manager processes list as you having 4 abyss executables (2 per instance of Abyss; one is the anti-crash feature)) _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
mrdee -
Joined: 24 Oct 2007 Posts: 3
|
Posted: Thu Oct 25, 2007 2:41 pm Post subject: |
|
|
I set the port to 8080 and now it works.
Now I have a different problem, of which I don't know whether it is an Abbyss, PHP or MySQL issue, I don't know who to turn to.
When I develop PHP scripts, everything seems to work, except when PHP has to communicate with MySQL.
for example, here is a short script:
Code: |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>There you are</title>
</head>
<body>
<?php
$user="root";
$password="************";
$database="home_tester";
mysql_connect(localhost,$user,$password);
@mysql_select_db($database) or die( "Unable to select database");
$query="CREATE TABLE contacts (id int(6) NOT NULL auto_increment,first varchar(15) NOT NULL,last varchar(15) NOT NULL,phone varchar(20) NOT NULL,mobile varchar(20) NOT NULL,fax varchar(20) NOT NULL,email varchar(30) NOT NULL,web varchar(30) NOT NULL,PRIMARY KEY (id),UNIQUE id (id),KEY id_2 (id))";
mysql_query($query);
mysql_close();
print "<b>That's it.</b>";
?>
</body>
</html>
|
When I execute the script, depending on whether I use the opening tag <?php or <?, in the first case, the webpage displays That's it!>";, in the second case, nothing is displayed.
But no matter what, nothing has happened to my database, no table has been added.
No matter what, I cannot get PHP to communicate with MySQL on my local machine.
Also, when I set up PHP, which kind of server should I select for it to work with Abbyss?
There are loads of options, Apache 1.0 up to 2.1, loads of IIS servers, so which one is the right one for Abbyss?
Sorry if this is not an Abbyss issue, but I don't know where to search anymore.
Thanks,
Mr. Dee. |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Thu Oct 25, 2007 2:44 pm Post subject: |
|
|
Follow the tutorials on www.abyssunderground.co.uk as these were written by me a year ago specifically for Abyss. They all work 100% and have been used by thousands of members.
Try them out and if you still have issues, come back and we'll see what we can do for you. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
mrdee -
Joined: 24 Oct 2007 Posts: 3
|
Posted: Fri Oct 26, 2007 11:41 am Post subject: |
|
|
I tried there, but I don't know where to look to find my specific problem.
yesterday, everything worked after setting the port to 8080 and re-installing PHP 5 (The one modified for Abbyss). I have no other software running on port 80, and Abbyss is not running twice.
I set the port back to 80 yesterday and it still worked perfectly.
However, this morning, when i switched my PC on, once again Abbyss did not start up with Windows (A sign that there was going to be trouble), and yes, once again, after starting Abbyss manually it said port 80 had a listening error, and a PHP program, which worked perfectly yesterday after the re-install and that, does not work anymore.
When I type in the address, a box comes up saying "Open with Firefox" or "Save to disk".
Does that explain the problem any clearer? |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Fri Oct 26, 2007 11:47 am Post subject: |
|
|
You definitely have another program running on port 80. I suggest you get a port scanner to see exactly whats running on it. Skype is a very common culprit if you have that running.
The browser asking to save the file suggests the interpreter is no longer installed or is missing. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri Oct 26, 2007 1:44 pm Post subject: |
|
|
mrdee,
You may be having 2 copies of Abyss Web Server installed on the same computer and which are interfering. Search your hard disk for abyssws.exe . How many copies do you have? If you have more than one, remove all but one.
Next stop any copy of Abyss Web Server that may be running (use the Windows Task Manager to kill all abyssws.exe processes). Next rerun the remaining copy and reset its startup mode. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
pkSML -
Joined: 29 May 2006 Posts: 955 Location: Michigan, USA
|
|
Back to top |
|
 |
rrinc -
Joined: 24 Feb 2006 Posts: 725 Location: Arkansas, USA
|
Posted: Sat Oct 27, 2007 3:59 am Post subject: |
|
|
Another option is the Web Developer add-on for Firefox, it can display headers as well (if you use Firefox). _________________ -Blake | New Server :D
SaveTheInternet
Soy hispanohablante. Puedes contactarme por mensajes privados. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|