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 500 on group page

6 years 8 months ago
  • Yuriy's Avatar
    Topic Author
  • Yuriy
  • Offline
  • Fresh Boarder
  • Posts: 28
  • Thank you received: 0
Licenses:
JomSocial Active

Just migrated my site from old Joomla 2.5 to 3.7 and updated Jomsocial to latest version. When I try to open any group I get Error 500.
For example: new.lotsman.ru/index.php?option=com_comm...04&Itemid=59&lang=en
error.log:
2017/08/04 13:54:32 [error] 1161#1161: *115499 FastCGI sent in stderr: "PHP message: PHP Notice: Only variables should be assigned by reference in /var/www/clients/client1/web6/web/plugins/system/jsecure/jsecure.php on line 19
PHP message: PHP Notice: Undefined variable: isAdmin in /var/www/clients/client1/web6/web/components/com_community/templates/jomsocial/layouts/groups.bulletinlist.php on line 14" while reading response header from upstream, client: 79.142.162.152, server: new.lotsman.ru, request: "GET /index.php?option=com_community&view=groups&task=viewgroup&groupid=104&Itemid=59&lang=en HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php7.0-fpm/web6.sock:", host: "new.lotsman.ru", referrer: " new.lotsman.ru/index.php?option=com_comm...64&Itemid=59&lang=en "
access.log:
79.142.162.152 - - [04/Aug/2017:13:54:32 +0000] "GET /index.php?option=com_community&view=groups&task=viewgroup&groupid=104&Itemid=59&lang=en HTTP/1.1" 500 1851 " new.lotsman.ru/index.php?option=com_comm...64&Itemid=59&lang=en " "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36"


And another bug: groups entries are duplicated in the list on "my groups" page (see screenshots). That is the same on old site version on Joomla 2.5 and Jomsocial 3.2.1.6 (but groups pages open there without error).

Attachments:
6 years 8 months ago
  • Yuriy's Avatar
    Topic Author
  • Yuriy
  • Offline
  • Fresh Boarder
  • Posts: 28
  • Thank you received: 0
Licenses:
JomSocial Active

I resolved second problem by deleting duplicated entries in community_groups_members table. But Error 500 still remains.

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

Hi,

Seems your server is not fit with Jomsocial needs, please you check the server configuration and make sure use our recommendation value here documentation.jomsocial.com/wiki/JomSoci..._System_Requirements

If this issue still happens I suggest you contact your sys-admin to know the detail error, and let me know how it goes.

thank you

6 years 8 months ago
  • Yuriy's Avatar
    Topic Author
  • Yuriy
  • Offline
  • Fresh Boarder
  • Posts: 28
  • Thank you received: 0
Licenses:
JomSocial Active

I am the only sysadmin on my server. I checked requirements and all is OK. Connect_timeout in mysql was 10, I made it 120 then 1200. It still doesn't work. What configuration should I check exactly? And all other components and all other parts of jomsocial except group pages work correctly.

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

Hi,

Please you increase max_execution_time and max_input_time to 300, the current value is very low.

thank you!

6 years 8 months ago
  • Yuriy's Avatar
    Topic Author
  • Yuriy
  • Offline
  • Fresh Boarder
  • Posts: 28
  • Thank you received: 0
Licenses:
JomSocial Active

Increased to 300 seconds. Don't work. I guess it related to migration. I upgraded JS on old server (on Joomla 2.5) to version 3.2.1.6, then moved database tables to new server, installed 3.2.1.6, then installed 4.3.5. In that process installation hung on database update, so I made what you told here:
www.jomsocial.com/forum/installation/350...ging?start=14#169395
And it installed normally and it works except group page.
May be there's another bug in database update process...

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

yes, can be caused by it.. well please provide me cpanel / phpmyadmin access..

6 years 8 months ago
  • Yuriy's Avatar
    Topic Author
  • Yuriy
  • Offline
  • Fresh Boarder
  • Posts: 28
  • Thank you received: 0
Licenses:
JomSocial Active

I added phpmyadmin info to first message.

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

Hi Yuriy,

This issue is not related with phpmyadmin or php code, it can be caused by the files are broken or server configuration.

Anyway, where do you host your website? maybe you can contact the support from you hosting provider? i hope they able provide us some pointers.

thank you!

6 years 8 months ago
  • Yuriy's Avatar
    Topic Author
  • Yuriy
  • Offline
  • Fresh Boarder
  • Posts: 28
  • Thank you received: 0
Licenses:
JomSocial Active

I host it on Amazon ec2 instance, they provide only fresh installed system (my instance runs on Ubuntu), all installations and configurations are made by myself. But I tested Jomsocial on clear joomla installation, group page works:
test.lotsman.ru/index.php?option=com_com...1&Itemid=187&lang=ru
So it's ok with hosting.

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

Yes, it can be caused by file permission from old installation.. is that possible you ask amazon support team to help checking this issue, please? to know the detail issue why the internal server issue comes..

6 years 8 months ago
  • Yuriy's Avatar
    Topic Author
  • Yuriy
  • Offline
  • Fresh Boarder
  • Posts: 28
  • Thank you received: 0
Licenses:
JomSocial Active

Amazon can do nothing, they can't manage my server, they provide only clear Ubuntu virtual server without even php. All joomla and jomsocial files are fresh installed on new server, I moved only database tables. Some files I copied (images and videos) I chowned to web-user. You can get in by ftp and check. If I should check some permissions or configuration - tell me what exactly to check.

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

Hi There,

- A Permissions Error. In most cases, a 500 Internal Server Error is due to an incorrect permission on one or more files or folders. In most of those cases, an incorrect permission on a PHP and CGI script is to blame. These should usually be set at 0755 (-rwxr-xr-x).
- A PHP Timeout. If your script connects to external resources and those resources timeout, an HTTP 500 error can occur. Timeout rules, or better error handling in your script, should help if this is the cause of the 500 error.
- A Coding Error in .htaccess. While not as common, be sure to check that your site's .htaccess file is properly structured.

Please you check them..

another solution, please you post the issue inside amazon forum forums.aws.amazon.com/index.jspa

thank you!

6 years 8 months ago
  • Yuriy's Avatar
    Topic Author
  • Yuriy
  • Offline
  • Fresh Boarder
  • Posts: 28
  • Thank you received: 0
Licenses:
JomSocial Active

I checked permissions: all joomla and jomsocial folders are 755, all files are 640. The same are on test site test.lotsman.ru where groups work.
I don't know if Jomsocial connects to external resourses. I increased 2 variables values as you told. Now I tryed to unpublish all modules for JS menu item and checked again - still don't work. I also removed all menu items related to JS except original JS menu.
Htaccess is original from joomla installation, I didn't change it.
You have ftp access and can check htaccess and permissions.
As to aws support - I can ask them only the questions related to instance running, volumes creating, access problems etc, they won't resolve problems with some soft I installed, they even have no access to server console.

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