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.

3.1.1 Update - 500 - DB function failed with the following faultcode 2006

10 years 1 month ago
  • Andrew's Avatar
    Topic Author
  • Andrew
  • Offline
  • Junior Boarder
  • Posts: 264
  • Thank you received: 2
Licenses:
JomSocial Expired

500 - DB functie is mislukt met het volgende foutnummer 2006
MySQL server has gone away SQL=SELECT a.`userid` as _userid , a.`status` as _status , a.`points` as _points, a.`posted_on` as _posted_on, a.`avatar` as _avatar , a.`cover` as _cover , a.`thumb` as _thumb , a.`invite` as _invite, a.`params` as _cparams, a.`view` as _view, a.`friends` as _friends, a.`groups` as _groups, a.`events` as _events, a.`friendcount` as _friendcount, a.`alias` as _alias, a.`profile_id` as _profile_id, a.`storage` as _storage, a.`watermark_hash` as _watermark_hash, a.`search_email` as _search_email, s.`userid` as _isonline, u.* FROM `cca_community_users` as a LEFT JOIN `cca_users` u ON u.`id`=a.`userid` LEFT OUTER JOIN `cca_session` s ON s.`userid`=a.`userid` AND s.`client_id` !='1' WHERE a.`userid`='0'

Attachments:
10 years 1 month ago
  • Andrew's Avatar
    Topic Author
  • Andrew
  • Offline
  • Junior Boarder
  • Posts: 264
  • Thank you received: 2
Licenses:
JomSocial Expired

also getting this:

JUser: :_load: Gebruiker bestaat niet

(User does not exist)

Attachments:
10 years 1 month ago
Licenses:

Hi Andrew,

Pls ask your hosting support to double increase the 'max_allowed_packet' at MySQL configuration.

Cheers,
Albert

10 years 1 month ago
  • Andrew's Avatar
    Topic Author
  • Andrew
  • Offline
  • Junior Boarder
  • Posts: 264
  • Thank you received: 2
Licenses:
JomSocial Expired

We are hosting with SiteGround and have not experienced this error until we did the upgrade to 3.1.1. Why are we getting this issue now? I really need to get an explanation of this.

Pls, this is urgent!

Thanks

10 years 1 month ago
Licenses:

Hi Andrew,

you must set max_allowed_packet=64M at MySQL config.

The reason it too technical:
max_allowed_packet sets an upper limit on the size of any single message between the MySQL server and clients, including replication slaves. If you are replicating large column values (such as might be found in TEXT or BLOB columns) and max_allowed_packet is too small on the master, the master fails with an error, and the slave shuts down the I/O thread. If max_allowed_packet is too small on the slave, this also causes the slave to stop the I/O thread.

Row-based replication currently sends all columns and column values for updated rows from the master to the slave, including values of columns that were not actually changed by the update. This means that, when you are replicating large column values using row-based replication, you must take care to set max_allowed_packet large enough to accommodate the largest row in any table to be replicated, even if you are replicating updates only, or you are inserting only relatively small values.

Simple say:
This issue happen because your site DB still growing (getting much) and our query getting complex to handle big DB.

Regards,
Albert

10 years 1 month ago
  • Andrew's Avatar
    Topic Author
  • Andrew
  • Offline
  • Junior Boarder
  • Posts: 264
  • Thank you received: 2
Licenses:
JomSocial Expired

This can not be true, I'm sorry. Well not in our case!

1) Our database is not that big, especially not for JomSocial part
2) This was not an issue before 3.1.1
3) It only happens in the two places, Edit My Profile - Profile & Details
4) It does not happen anywhere else on our site, even in areas which has a lot more data e.g. jReviews, EasyBlog, etc...

The changes can not be made at SiteGround as we are already on a Joomla Optimized hosting solution with SiteGround.

Please escalate and get back to me urgently.


Thanks

10 years 1 month ago
  • Andrew's Avatar
    Topic Author
  • Andrew
  • Offline
  • Junior Boarder
  • Posts: 264
  • Thank you received: 2
Licenses:
JomSocial Expired

Urgent help required on this please.

10 years 1 month ago
  • Andrew's Avatar
    Topic Author
  • Andrew
  • Offline
  • Junior Boarder
  • Posts: 264
  • Thank you received: 2
Licenses:
JomSocial Expired

This is becoming a bigger issue, can someone from JS Support please get back to me on this issue urgently?

10 years 1 month ago
Licenses:

Hi Andrew,

Do you have the live copy/mirror site at you localhost? (using same DB data with live site)
if yes, this error happen in your localhost?

I saw your akeeba backup filesize. Main site database only file size 122 MB, that very big DB.

Can you hosting provider changing this settings:

php.ini
max_execution_time = 120
max_input_time = 120

my.cnf
wait_timeout = 120
connect_timeout = 120
max_allowed_packet = 64M

If your hosting not allowed to changing the my.cnf, pls try with php.ini first. and pls check again that error still appear or not. if still, re-install your Jomsocial. Maybe somethings timeout at installing process.

if your hosting can't changing that both config. it will be hard to resolve this issue.

Cheers,
Albert

10 years 1 month ago
  • Andrew's Avatar
    Topic Author
  • Andrew
  • Offline
  • Junior Boarder
  • Posts: 264
  • Thank you received: 2
Licenses:
JomSocial Expired

We have a copy of the site, however it is NOT using the same database.

my.cnf CANNOT be changed as we are on SiteGround hosting account.

Do you want to tell me that 122MB database is very big? Well, that is not that big in my opinion. We are still going to add a lot more data to it.

Can you give me a clear, detailed and direct explanation why we have this issue?

Now the strange thing is that this was never an issue until we did the update to 3.1.1. I can not believe that it would be so much more resource hungry than 3.1.0.4, that the same hosting setting would fail.

We have jReviews and EasyBlog which have a lot more data in MySQL than what JomSocial has on our current site, and we have absolutely no issues anywhere else on the site except for these two pages:

www.opgroeigids.nl/mijn-details/profiel/edit

www.opgroeigids.nl/mijn-details/profiel/editDetails


This is just very strange as it does not give us any errors anywhere else on the site not even in JomSocial.

10 years 1 month ago
  • Andrew's Avatar
    Topic Author
  • Andrew
  • Offline
  • Junior Boarder
  • Posts: 264
  • Thank you received: 2
Licenses:
JomSocial Expired

Further info:

We have a dev site running on the same server with the same database and pretty much an exact copy of the live site. Also upgrade JomSocial to 3.1.1 and it works there so something went wrong during the update on our live site...

Can we reinstall 3.1.1 without affecting our site in anyway, e.g. loosing changes, etc... We have custom default avatars, custom profile images for Male, Female, Groups, Events, etc...

10 years 1 month ago
Licenses:

Hi, Andrew.

I confirm, when I browse to profile edit, page become offline (see att.)
here is 504 explained: www.checkupdown.com/status/E504.html

Could you ask your hosting company for assistance? Could they (and maybe you have access to it) share server logs. Then we'll see what exactly throws that error.


- 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
Attachments:
10 years 1 month ago
  • Andrew's Avatar
    Topic Author
  • Andrew
  • Offline
  • Junior Boarder
  • Posts: 264
  • Thank you received: 2
Licenses:
JomSocial Expired

PLEASE read the ticket, the full detail I sent. We have spoken to our host (Siteground) already (as per details).

We have also a DEV site on the same server, same account and same Host (Siteground), the DEV site works perfectly. It is only the live site which has the issue.

Can you please make this issue a priority and help us resolve it today. We have been struggling the whole week to get this resolved.

10 years 1 month ago
  • Andrew's Avatar
    Topic Author
  • Andrew
  • Offline
  • Junior Boarder
  • Posts: 264
  • Thank you received: 2
Licenses:
JomSocial Expired

We also have Cloudflare and Siteground now looking into this issue. I will update you as soon as I know more.

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