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.

error log on server reaching 30 gb in days

9 years 11 months ago
  • Samer's Avatar
    Topic Author
  • Samer
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Expired

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

9 years 11 months ago
Licenses:

Hi, Samer.

Thank you for reporting this.
I'll pass it to our developers.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
The following user(s) said Thank You: Xristoph Conrad
9 years 11 months ago
  • Samer's Avatar
    Topic Author
  • Samer
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Expired

Great looking forward as this is the second time that we delete this file and it regenerates very fast.

9 years 11 months ago
  • Samer's Avatar
    Topic Author
  • Samer
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Expired

Morning dear,

Any news about our problem? as we have been receiving multiple warnings from our hosting company.


Thx

9 years 11 months ago
Licenses:

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.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
The following user(s) said Thank You: Samer
9 years 11 months ago
  • Samer's Avatar
    Topic Author
  • Samer
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Expired

Ok thx.. hope it will get resolved as soon as possible as we are receiving constant warning messages from hosting that capacity has exceeded 101% no matter how many times we delete the error_log file

9 years 11 months ago
  • Samer's Avatar
    Topic Author
  • Samer
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Expired

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!

9 years 11 months ago
Licenses:

Hi, Samer.

I assign developer to this thread and ask him to take action as soon he start his shift.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
9 years 11 months ago
Licenses:

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 . '"';
}
and replace it with
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 . '"';
    }
}

Regards

9 years 10 months ago
  • Samer's Avatar
    Topic Author
  • Samer
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Expired

Dear
this path doesn't Exist
[joomla site root]/templates/socialize/html/com_community/layouts/stream/
please can you enter to my website and fix it your self

9 years 10 months ago
Licenses:

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.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
9 years 10 months ago
  • Samer's Avatar
    Topic Author
  • Samer
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Expired

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"

9 years 10 months ago
Licenses:

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
it's not actually an error. It's just warning you that the server is limiting the download speed to 10mbps. The page is probably calling a large media file, like an MP3 or MP4. They limit the speed so that a visitor with a very fast connection doesn't suck down all the available bandwidth.

you can asking your server support about how to turn off waning message at server log
[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
this error because the PHP lack of memory. please increase memory_limit at php configuration from 256M to 512M or 1024M
you can asking your server support about how to increase it.

and please put this fix for prev issue:

This attachment is hidden for guests.
Please log in or register to see it.

unzip and put it at:
[joomla site root]/components/com_community/models/activities.php
[joomla site root]/components/com_community/models/stream.php
[joomla site root]/components/com_community/tables/activity.php

Regards

This message has an attachment file.
Please log in or register to see it.

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