Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Joomla Error Reporting settings affecting activity loading after new post

6 years 6 months ago
  • Vladimir's Avatar
    Topic Author
  • Vladimir
  • Offline
  • Junior Boarder
  • Posts: 283
  • Thank you received: 40
Licenses:
JomSocial Active

When Joomla / Global Configuration / Server Settings / Error Reporting is set to None after new post is made button More appears and no activities are loaded. After manual page refresh new post is displayed along with all the others.
When Joomla / Global Configuration / Server Settings / Error Reporting is set to System Default new post is displayed after "button" 1 New message is displayed and clicked on.
Posting on Group, Event and Profile pages works like it should.
Where did I made an error?

6 years 6 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

It can be coming from 3rd party, please provide me backend and FTP access, so I can inspect this directly.

thank you!

6 years 6 months ago
  • Vladimir's Avatar
    Topic Author
  • Vladimir
  • Offline
  • Junior Boarder
  • Posts: 283
  • Thank you received: 40
Licenses:
JomSocial Active

No it is not 3rd party it was me :)
Can you point me in right direction so I can find my error. What is different in loading activity list on frontpage and groups/events/profile? I think that theme is not the culprit this time?

6 years 6 months ago
  • Vladimir's Avatar
    Topic Author
  • Vladimir
  • Offline
  • Junior Boarder
  • Posts: 283
  • Thank you received: 40
Licenses:
JomSocial Active

Checked with original jomsocial theme and posting on frontpage acts the same as on my theme. So it is not to the theme. Some of the core files are messing thing up.
On clean install all works OK regardless of Joomla / Global Configuration / Server Settings / Error Reporting setting. FUUUUUUUU :)

6 years 6 months ago
  • Vladimir's Avatar
    Topic Author
  • Vladimir
  • Offline
  • Junior Boarder
  • Posts: 283
  • Thank you received: 40
Licenses:
JomSocial Active

Error was in modified
...\components\com_community\libraries\activities.php
in
public function getHTML
added new parameter in

$default = array(
            'actid' => $actid,
            'actor' => $actor,
            'target' => $target,
            'date' => $date,
            'maxList' => $maxList,
            'type' => $type,
            'exclusions' => $exclusions,
            'displayArchived' => $displayArchived);
when it was not needed there :)
Also function _getData was messed up.

6 years 6 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Wait wait.. I dont really understand.. if possible you provide me the site URL, steps to replicate and the screenshot of your issue..

6 years 6 months ago
  • Vladimir's Avatar
    Topic Author
  • Vladimir
  • Offline
  • Junior Boarder
  • Posts: 283
  • Thank you received: 40
Licenses:
JomSocial Active

Everything is fine, error was in my modification in mentioned function. You can close this topic.
Functions getHTML and _getData had my modifications in it and that caused the issues.

6 years 6 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

glad to know that :)

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW