Pages: 12Next
Current Page: 1 of 2
Reinstalled WAMP, no WAMP server icon
Posted by: eatc7402 (120.28.227.---)
Date: May 30, 2013 10:59AM

I removed and reinstalled my WAMP setup. The newly installed WAMP runs, as typing localhost
into my browser verifies. And there is a running Apache2 service running. But there is NO WAMP
icon in my system (Win7) taskbar. Boy, now what do I do?

Options: ReplyQuote
Re: Reinstalled WAMP, no WAMP server icon
Posted by: RiggsFolly (---.as13285.net)
Date: May 30, 2013 01:24PM

If the service is called Apache2 then it is not wamp's version of apache.

Wamp calls its services for Apache 'wampapache' and for MySQL 'wampmysql'

If you have a service called Apache2 its from another install of apache. You need to uninstall that before wamp will work correctly.

Options: ReplyQuote
Re: Reinstalled WAMP, no WAMP server icon
Posted by: eatc7402 (120.28.227.---)
Date: May 31, 2013 02:56AM

I've now done a compete uninstall of my former Apache. I then downloaded wampserver2.2e-php5.3.13-httpd2.2.22-mysql5.5.24-32b.exe, and then installed it. All SEEMED well as both the wampapache and wampmysqld services were running and the WAMP con was GREEN. But after stopping the services and
attempting a re-start (or even a full reboot) the wampapache service will not start, and the wamp icon
is now ORANGE. I even attempted to start the wampservice from the Windows (Win7) Services
panel. Same result no luck.

Now what? What's my next step(s)?

eatc7402

Options: ReplyQuote
Re: Reinstalled WAMP, no WAMP server icon
Posted by: RiggsFolly (---.as13285.net)
Date: May 31, 2013 01:27PM

When the wampmanager icon is orange one of the services has not started.

Find out which one by :-

Apache
left click wampmanager icon -> Apache -> Service ( if the menu item 'Start resume service' is green its not runnning)

MySQL
left click wampmanager icon -> MySQL -> Service ( if the menu item 'Start resume service' is green its not runnning)


So which one is not started?

If it is now MySQL, because you did not remove a previous MySQL install then uninstall that instance of MySQL.

Options: ReplyQuote
Re: Reinstalled WAMP, no WAMP server icon
Posted by: eatc7402 (180.190.147.---)
Date: June 01, 2013 02:55AM

It's the Apache thats not running.

eatc740

Options: ReplyQuote
Re: Reinstalled WAMP, no WAMP server icon
Posted by: RiggsFolly (---.as13285.net)
Date: June 01, 2013 07:57AM

Do this

left click wampmanager -> Apache -> Service -> Test port 80


What is using port 80? Whanever it is needs to be reconfigured or uninstalled

Options: ReplyQuote
Re: Reinstalled WAMP, no WAMP server icon
Posted by: eatc7402 (180.191.197.---)
Date: June 01, 2013 08:47AM

It reports nothing is using port 80

eatc7402

Options: ReplyQuote
Re: Reinstalled WAMP, no WAMP server icon
Posted by: RiggsFolly (---.as13285.net)
Date: June 01, 2013 09:03AM

Have a look at the apache error log and if hat does not tell you anything have a look in the windows Event Log

Start->Control Panel -> Administrative tools -> Event Viewer

Look in the Windows Logs -> Applications section for messages from Apache.

Options: ReplyQuote
Re: Reinstalled WAMP, no WAMP server icon
Posted by: eatc7402 (180.191.197.---)
Date: June 01, 2013 11:12AM

There are HUNDREDS of errors from Apache there.... which one do you want?

eatc7402

Options: ReplyQuote
Re: Reinstalled WAMP, no WAMP server icon
Posted by: RiggsFolly (---.as13285.net)
Date: June 01, 2013 04:09PM

Install TeamViewer and I will troubleshoot for you.

Install TV, then run it.

Send me a Private Message containing the TV ID and PASSWORD so I can connect.
Leave TV running as it will change the password each time you restart it.

Options: ReplyQuote
Re: Reinstalled WAMP, no WAMP server icon
Posted by: eatc7402 (120.28.220.---)
Date: June 02, 2013 02:42AM

Ahhh.... I;m sorry but TEAMVIEWER ?? Whats that?

eatc7402

Options: ReplyQuote
Re: Reinstalled WAMP, no WAMP server icon
Posted by: RiggsFolly (---.as13285.net)
Date: June 02, 2013 11:17AM

It will allow me to see your desktop, so I can actually see whats going on. Its quite secure as access is password protected, you have to send me that password so I can connect and each time you re-run it it has a new password.

When installed, send me a Private Message with the ID and PASSWORD, leave it running and I will connect.

Options: ReplyQuote
Re: Reinstalled WAMP, no WAMP server icon
Posted by: eatc7402 (120.28.216.---)
Date: June 03, 2013 06:37AM

Well I retried another install of WAMP, and did a minimal reconfiguration of it and it serms to work
fine EXCEPT that in most of my php files I reference several external php libraries. They are NOT
working, or rather not being accessed, and not outputting ANY results.

They all worked correctly in my former version of WAMP.


Apparently I have not configured something correctly, the question is WHAT?

eatc7402

Options: ReplyQuote
Re: Reinstalled WAMP, no WAMP server icon
Posted by: RiggsFolly (---.as13285.net)
Date: June 03, 2013 07:53PM

Can we see some examples of the include/require lines of code that are not working please.

Options: ReplyQuote
Re: Reinstalled WAMP, no WAMP server icon
Posted by: eatc7402 (112.198.247.---)
Date: June 04, 2013 01:34AM

Like this...

//=======================================

include_once("../../php/lib/GoogleMapAPI-3.0/GoogleMap.php"winking smiley;
include_once("../../php/lib/GoogleMapAPI-3.0/JSMin.php"winking smiley;

//==================================================
// Map object definitions

$MAP_OBJECT = new GoogleMapAPI(); $MAP_OBJECT->_minify_js = isset($_REQUEST["min"])?FALSE:TRUE;
$MAP_OBJECT->setMapType("map"winking smiley ;
$MAP_OBJECT->setWidth('600px'); $MAP_OBJECT->setHeight('800px');
$nb_spaces ="   " ;
$MAP_OBJECT->disableZoomEncompass( ) ;
$MAP_OBJECT->setZoomLevel('12') ;
//====================================

eatc7402

Options: ReplyQuote
Re: Reinstalled WAMP, no WAMP server icon
Posted by: eatc7402 (112.198.247.---)
Date: June 04, 2013 02:51AM

Here is an example of how the code looks like on the production server, which is correct.

[www.extraalarm.org]

All the 'placemarks' and the MAP right side vertical scrollbar info are dynamically generated in
javascript by the GoogleMaps 3.0 API, from mysql data. On prod it works and always had.
I do not recall anything needed to be set on the prod server to 'enable' it, other than simply
installing the Maps API into their directories on prod.

On my localhost, it also worked correctly, until the re-installation of WAMP. The javascript does not
seem to be 'recognized', or the Maps API library does not seem to work apparently ONLY when
displayable output to the browser screen is needed. Nothing has changed on my local system
other than the new installation of WAMP.

Just a thought...have I forgotten a .htaccess setting someplace?

eatc7402

Options: ReplyQuote
Re: Reinstalled WAMP, no WAMP server icon
Posted by: eatc7402 (112.198.247.---)
Date: June 04, 2013 06:11AM

I've done more investigation regarding the mysql data my
WAMP was using. I had reloaded a former mysql data backup into my new mysql installation, and from the wiews
in PhpMyAdmin it okay, however queries returned some 'strange' (wrong values) data.

So I made a backup of my productin server mysql database, and then imported THAT data.

ALMOST everything returned to normal on my localhost.

EXCEPT for the following..
On production I have this line of php...
$two_two_icon = "[www.extraalarm.org]; ;
$two_two_icon = "[www.extraalarm.org]; ;

But on my localhost I have this ...
$host= gethostname();
$my_ip = gethostbyname(trim($host));
$two_two_icon = "[$my_ip]; ;
$two_two_icon = "[$my_ip]; ;


When I run the second (localhost) example I now
get the following error...
GoogleMapAPI:createMarkerIcon: Error reading image: [192.168.254.104]

Which indicated it could'nt access the local .png file.
This formerly worked fine in my previous WAMP install.
The local IP address is correct.

What I don't know if this happening because of a misconfiguration which won't allow 'external' images
to be loaded... or what?

If I load the needed .png files from an EXTERNAL
server, it works, but is verrrrry slow. Hence the need
to load it locally. However the GoogleMaps 3.0 API
does nor allow $some_icon= xyz.png. It must be
$some_icon = "[$my_ip]; ; for a 'fake'
remote load.

This being fixed will return me to 'normal', as in
BEFORE my new WAMP.



Edited 1 time(s). Last edit at 06/04/2013 06:16AM by eatc7402.

Options: ReplyQuote
Re: Reinstalled WAMP, no WAMP server icon
Posted by: eatc7402 (112.198.247.---)
Date: June 04, 2013 06:13AM

My previous reply did not work correct;y. It left OUT the http info. Is there way to fix that?

Options: ReplyQuote
Re: Reinstalled WAMP, no WAMP server icon
Posted by: RiggsFolly (---.ppp.as43234.net)
Date: June 04, 2013 11:59AM

If you are goin to use that method woudl you not have to put a 'http://' in front of the ip address.

I think you are making this to complex, whats wrong with passing '/mult_alarm_data/graphics/2-2_alarm.png'
or better still 'graphics/2-2_alarm.png'

Options: ReplyQuote
Re: Reinstalled WAMP, no WAMP server icon
Posted by: eatc7402 (112.198.247.---)
Date: June 04, 2013 12:22PM

I must pass the whole http because the GoogleMaps 3.0 API REQUIRES it.

getimagesize is a php function - [php.net]

"It also happens to be the php function that the PHPGoogleMapAPI class
relies on in order to add custom markers to the map.."

I've already tried all the SIMPLE choices, and they DON'T work... you need to lpad fron
an http address, even if it's a local http.


eatc7402

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


Sorry, only registered users may post in this forum.