×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Cannot add a map location. new error found

Cannot add a map location. new error found 12 years 8 months ago #15569

  • Seamus Smith
  • Seamus Smith's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 0
This problem I believe originated after I upgraded recently to Joomla 2.5.3. I am also running CB 1.8.

Fatal error: Cannot access protected property JMail::$cc in /home/techknow/public_html/cms/components/com_hotspots/controllers/hotspot.php on line 245

Now everyhting was working ok before the upgrade to first of all J 2.5.0, then eventually to 2.5.3 - I noted that none of my 500+ members was putting any locations on the map until I was advised by a member of the error. I checked this myself as Admin rights and I am getting the same error. No backend settings in Admin panel have been changed

Any help is appreciated regarding fixing this.

Re: Cannot add a map location. new error found 12 years 8 months ago #15570

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Disable the email to moderators feature in the settings for now. I'll let you what part of the code you will need to modify for this to work tomorrow.

This is already fixed for the next release.

Kind regards,
Daniel

Re: Cannot add a map location. new error found 12 years 7 months ago #15576

  • Seamus Smith
  • Seamus Smith's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 0
Hi Daniel,

I know that your busy, however do you have time to help me with the above request. I disabled the email function. I will be updating over the summer time to Hotspots 3, I want to try and correct this issue as soon as possible to allow colleagues on my site to add locations.

Thanks for your time and help

Seamus

Re: Cannot add a map location. new error found 12 years 7 months ago #15577

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Seamus,
Support has always higher priority than the new version - at the end you need to have a working site, right...

so here is what has changed for 2.5. Go to components/com_hotspots/controllers/hotspot.php line 245
JUTility::sendMail($mailer->From, $mailer->FromName, $mail, $subject, $message, true, $mailer->cc, $mailer->bcc, $mailer->attachment, $mailer->ReplyTo, $mailer->FromName);
and change it to:
JUTility::sendMail($mailer->From, $mailer->FromName, $mail, $subject, $message, true);

After that enable again the Mail function and test if you are able to properly submit a Hotspot.
Cheers,
Daniel
  • Page:
  • 1
Time to create page: 0.113 seconds