Member Login

Resources

Developers Blog
GMapsPRO Demo
Bug Tracker
-----------------------------------
GMaps Community Forums
GMaps Subscriber Forums
-----------------------------------
Google Maps API Reference
Google Maps Group Forum

Who's Online

We have 1 guest and 3 members online
  • Oak Ridge
  • thiliopoulos
  • lab
Advertisement

Affiliates



Community Forums

NOTE: Subscribers, please post in the SUBSCRIBER FORUMS - NOT IN THE COMMUNITY FORUMS

homepost replythreaded viewruleshelp
 
bslayter
Fresh Boarder
 
error with new install - Constant _GM_DEBUG - 2008/01/24 12:29
Paid membership today because I could not get older version (1.0.0-03042007) to work any more with site.

Using Joomla 1.0.13.

Uninstalled v1 component, maplist module, and mambot plugin gmaps 1.0.0-03042007.

Installed GMAPS PRO 1.6.6 Plugin and 1.0.rc1 components. No joy.

Manually dropped GMAPS db tables.

No joy.
uninstalled, reinstalled x 3.

Notice: Constant _GM_DEBUG already defined in /home/sganet/public_html/joomla/components/com_gmapspro/classes/adapterengine.class.php on line 14

Notice: Constant _GMAPS_CLASSES_DIR already defined in /home/sganet/public_html/joomla/components/com_gmapspro/classes/adapterengine.class.php on line 17 is current error, displaying on the component configuration page, and also when trying to use {MOS} convention. Please advise what I"m doing wrong here, or how to fix it.

TY
Ben
The administrator has disabled public write access.

cs1559
Admin
 
Re:error with new install - Constant _GM_DEBUG - 2008/01/24 18:20
Hi Ben.
So you're saying that the NOTICE messages are causing it to crash?

Hmmm ....

Doesn't the code in the adapterengine.class.php look like the following:

Code:

  if (!defined(_GM_DEBUG)) {     define('_GM_DEBUG',false); } if (!defined(_GMAPS_CLASSES_DIR)) {     define'_GMAPS_CLASSES_DIR'$mosConfig_absolute_path '/components/com_gmapspro/classes/' ); }



That code shouldn't try to define the constant if it already exists. Please me know. Please shoot me an email and we can work this out.

Chris
The administrator has disabled public write access.

bslayter
Fresh Boarder
 
Re:error with new install - Constant _GM_DEBUG - 2008/01/28 10:11
Chris-

That's exactly what my code says, not sure what's going on here.

As for what is causing the error, I'm not sure but am getting all sorts of weird "Notices" as you call them.

I will try to contact you offline.

-Ben
The administrator has disabled public write access.

cs1559
Admin
 
Re:error with new install - Constant _GM_DEBUG - 2008/01/28 17:55
the issue has been addressed offline. The issue(s) were several:

1. Missing confguraton data (maybe from the removal of gmaps tables)
2. Missing google api key
3. Version of mysql ... they are using 4.0.27.. need to be up to 4.1

Part of the problem here with the database is that pro uses a complex subselect in retrieval of the markers. Version 4.0.x is no longer available for download. See http://downloads.mysql.com/archives.php?p=mysql-4.0. it will only be supported to 12/2008.

If anyone has a similar issue and there hostiing provider won't upgrade to at least 4.1, please let me know.

-Chris
The administrator has disabled public write access.

computerpsychologist
Fresh Boarder
 
Re:error with new install - Constant _GM_DEBUG - 2008/08/20 21:46
i am also receiving the same problem:

Notice: Constant _GM_DEBUG already defined in /var/www/html/components/com_gmapspro/classes/adapterengine.class.php on line 14

Notice: Constant _GMAPS_CLASSES_DIR already defined in /var/www/html/components/com_gmapspro/classes/adapterengine.class.php on line 17

Notice: Undefined variable: mapArray in /var/www/html/components/com_gmapspro/classes/gmapdao.class.php on line 71

Notice: Undefined variable: data in /var/www/html/components/com_gmapspro/classes/mapcontroller.class.php on line 60


I am using the following system specs:

PHP built On: Linux siamzipmap.com 2.6.26 #1 SMP Fri Aug 8 14:51:38 ICT 2008 x86_64
Database Version: 5.0.45
PHP Version: 5.2.6
Web Server: Apache/2.2.6 (Fedora)
WebServer to PHP interface: apache2handler
Joomla! Version: Joomla! 1.0.15 Stable [ Daytime ] 22 February 2008 23:00 UTC


HOpe to receive an immediate reply.

Thanks a lot for such a great component!
The administrator has disabled public write access.