Page 1 of 1

Xampp won't retrieve internet data

PostPosted: 31. October 2005 19:47
by Bobby12
I am a somewhat newbie to apache.

I am running MSAS with Joomla as my local developement enviroment, on a windows Xp Home machine everything is fine.
I wanted the extra functionality that Xampp offers so migrated to Xampp, everything works fine except the weather Module in Joomla gives an error message " :( Fatal error: Cannot redeclare mosWeather::$access in C:\xampp\htdocs\joomla\components\com_zweather\zweather.class.php on line 43". The weather program works normal under MSAS.
The program is supposed retrieve data from the national weather service and display it.
I believe it is a problem accessing the internet from with in Xampp but don't know how to solve it. I changed ports for apache with the same results. The site works fine on the production Hosting server.

PostPosted: 01. November 2005 09:25
by alucard01
This erro occur because a function mosWeather::$access is declared twice

You can check the code and all other configuration and see if this function is declared twice.

Hope it helps.

Xampp won't retrieve internet data

PostPosted: 01. November 2005 15:30
by Bobby12
alucard01

The problem only happens when running under Xampp.