ISSUE SUMMARY: as reported by our technical team and partners:
I deleted the file, loaded some pages, and saw that it is getting filled with dozens of notices, all similar and all coming from the same file and not related to JReviews. They look like this repeated over and over:
[17-May-2015 15:58:39 America/Chicago] PHP Notice: Undefined property: stdClass::$type in /home/revbu14/public_html/components/com_community/templates/jomsocial/layouts/stream/single-comment.php on line 117
[17-May-2015 15:58:39 America/Chicago] PHP Notice: Undefined property: stdClass::$type in /home/revbu14/public_html/components/com_community/templates/jomsocial/layouts/stream/single-comment.php on line 119
This is obviously an issue with the template in question inside JomSocial that you need to take up with them.
Regards
Samer
STEPS TO REPLICATE:
1
2
3
4
5
RESULT
EXPECTED RESULT
BROWSER
Hi, Samer.
Thank you for reporting this.
I'll pass it to our developers.
HI, Samer.
I reported this issue to our developers.
They are currently working on it.
I'll update you with a fix as soon it will be ready.
All our platform is jammed because of that error_log as received by our hosting provider:
"The account with the username 'xxx' (businelize.com), is running out of disk space.
Please remove some files from this account, or ask the administrator to increase your disk quota.
This account has used 100.11% (30032.48/30000.00 MB) of its allocated disk space."
Awaiting your urgent actions!
Hi, Samer.
I assign developer to this thread and ask him to take action as soon he start his shift.
Hi,
here the fix:
1. copy single-comment.php from [joomla site root]/components/com_community/templates/jomsocial/layouts/stream/ to [joomla site root]/templates/socialize/html/com_community/layouts/stream/
2. around line 117, find this code
if ( $wall->type === 'albums' ) {
echo ' data-tag-func="album" data-tag-id="' . $wall->contentid . '"';
} else if ( $wall->type === 'videos' ) {
echo 'data-tag-func="video" data-tag-id="' . $wall->contentid . '"';
}
if (isset($wall->type)) {
if ( $wall->type === 'albums' ) {
echo ' data-tag-func="album" data-tag-id="' . $wall->contentid . '"';
} else if ( $wall->type === 'videos' ) {
echo 'data-tag-func="video" data-tag-id="' . $wall->contentid . '"';
}
}
Hi, Samer.
If path doesn't exist just create it. Create folder "com_community" in ROOT/templates/socialize/html
Then folder "layouts" inside "com_community" and then folder "stream" inside "layouts". Its simple like that.
Finally just copy single-comment.php to folder "stream" and edit it like Albertus wrote.
Hello dear my developer is saying that the problem persists even though he had created the folders.. accordingly, can you ask your developers to fix the error for us?
jreview are suggesting the following too:
"Hello
You should not wait until the file gets to 30GB before deleting it yourself or renaming it. Via CPANEL error log icon you can see the last 300 lines of the file which I paste below. I removed the duplicates. Do you see JReviews mentioned there anywhere? The only thing I continue to see is JomSocial (com_community). I have no idea what the first line means, but it's not pointing specifically to JReviews so it could be anything. Fix your issues with JomSocial or remove the extension. I would also talk to the hosting company to figure out if it's possible to have a new log file written to every day instead of having it write to the same file all the time. Then after a week or so the older files are removed.
[Wed Jun 17 08:01:13 2015] [warn] ID: 139762530779148 File: /home/revbu14/public_html/index.php Rate : 10000000 Minimum : 256 Size rate : 10000000 IP: 192.185.30.26 hostname:
www.businelize.com
[Wed Jun 17 08:01:13 2015] [error] [client 192.185.30.26] Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 217845761 bytes) in /home/revbu14/public_html/components/com_community/libraries/cron.php on line 848
Regards"
Hi Samer,
[Wed Jun 17 08:01:13 2015] [warn] ID: 139762530779148 File: /home/revbu14/public_html/index.php Rate : 10000000 Minimum : 256 Size rate : 10000000 IP: 192.185.30.26 hostname: www.businelize.com
[Wed Jun 17 08:01:13 2015] [error] [client 192.185.30.26] Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 217845761 bytes) in /home/revbu14/public_html/components/com_community/libraries/cron.php on line 848