Project

General

Profile

Bug #8482

Error On enable or dissable the plugin bbb:

Added by ashish kpaul about 3 years ago. Updated about 3 years ago.

Status:
Needs more info
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
31/10/2016
Due date:
% Done:

0%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

Chamilo 1.11.0 "An error has occured. Please contact your system administrator."


Files

History

#1

Updated by Julio Montoya about 3 years ago

  • Status changed from New to Needs more info
#2

Updated by ashish kpaul about 3 years ago

Oh.. you are very fast. Its working now for both teacher & student accounts, perfectly working ON/OF bbb plugin. But there is 2 error 1st is while clicking on "View For Administrators" giving nginx error link is http://lms.ll/plugin/bbb/admin.php and the 2nd is when i exit from global conference (Launch videoconference room) getting error (URL : - http://lms.ll/plugin/bbb/listing.php?) *"Sorry, you are not allowed to access this page, or maybe your connection has expired. Please click your browser's "Back" button or follow the link below to return to the previous page.

Return to Course Homepage"*

#3

Updated by Julio Montoya about 3 years ago

I cannot reproduced that error.

Can you check your error logs?
Can you try to reproduce the error in http://1.11.chamilo.org/
Make sure you bbb database tables are updated:

https://github.com/chamilo/chamilo-lms/blob/1.11.x/plugin/bbb/README.md

#4

Updated by ashish kpaul about 3 years ago

Hello Sir, Its a fresh installation of chamilo-1.11.0 and rsync -a todays_github_setup/ chamilo-1.11.0 . For error, Watch this video : https://youtu.be/ZA-lmin1Ft4

#5

Updated by Julio Montoya about 3 years ago

Check your server (apache/nginx) errors or put your platform in "test" mode check again for the error to show.

test mode as in here:

https://1.11.chamilo.org/main/admin/settings.php?search_field=server_type&category=search_setting

#6

Updated by ashish kpaul about 3 years ago

Thanks for connecting. yes there is nginx log as follows but it is requested to you if you are sure about it please don't devote your time on it because your time is very productive. I will be configure my server again and come back to you

2016/11/01 19:01:31 [error] 14849#0: *282 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught exception 'Exception' with message 'Missing parameter.' in /var/www/pUblic_Html/git/chamilo-lms-1.11.0/plugin/bbb/lib/bbb_api.php:90
Stack trace:
#0 /var/www/pUblic_Html/git/chamilo-lms-1.11.0/plugin/bbb/lib/bbb_api.php(208): BigBlueButtonBN->_requiredParam(NULL)
#1 /var/www/pUblic_Html/git/chamilo-lms-1.11.0/plugin/bbb/lib/bbb.lib.php(709): BigBlueButtonBN->getJoinMeetingURL(Array)
#2 /var/www/pUblic_Html/git/chamilo-lms-1.11.0/plugin/bbb/admin.php(24): bbb->getMeetings(0, 0, 0, true)
#3 {main}
thrown in /var/www/pUblic_Html/git/chamilo-lms-1.11.0/plugin/bbb/lib/bbb_api.php on line 90" while reading response header from upstream, client: 117.214.166.45, server: lms.ll, request: "GET /plugin/bbb/admin.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "lms.ll", referrer: "http://lms.ll/plugin/bbb/listing.php?cidReq=ALGEBRA&id_session=0&gidReq=0"

nginx conf is
server {
listen 80;
server_name lms.ll edu.ll;
access_log /var/log/nginx/lms.ll-access.log;
error_log /var/log/nginx/lms.ll-error.log;
index index.html index.htm index.php;
root /var/www/pUblic_Html/git/chamilo-lms-1.11.0;

  1. ESSENTIAL : Configure 404 Pages
    error_page 404 /404.html;
  1. ESSENTIAL : Configure 50x Pages
    error_page 500 502 503 504 /50x.html;
  2. location = /50x.html {
  3. root /usr/share/nginx/html;
  4. }
  1. Add your own "server {" header here with listen, server_name, access_log, error_log, index, root and error_page params

    charset utf-8;

    location @rewrite{
    rewrite /courses/([/]+)/scorm/(.*)$ /main/document/download_scorm.php?doc_url=/$2&cDir=$1 last; # Alternatively, you can choose to give direct access to all SCORM files, which is much faster but less secure # rewrite "^/courses/([^/]+)/scorm/(.*)$" /app/courses/$1/scorm/$2 break;
    rewrite "^/courses/([^/]+)/document/certificates/(.*)$" /app/courses/$1/document/certificates/$2 last;
    rewrite /courses/([/]+)/document/(.*)$ /main/document/download.php?doc_url=/$2&cDir=$1 last;
    rewrite /courses/([/]+)/work/(.*)$ /main/work/download.php?file=work/$2&cDir=$1 last;
    rewrite /courses/([/]+)/upload/(.*)$ /app/courses/$1/upload/$2 last;
    rewrite ^/main/upload/users/(.*)/(.*)/my_files/(.*)$ /app/upload/users/$1/$2/my_files/$3 last;
    try_files $uri /index.php;
    break;
    }
    location / {
    rewrite /courses/([/]+)/$ /main/course_home/course_home.php?cDir=$1 last;
    rewrite /courses/([/]+)/index.php$ /main/course_home/course_home.php?cDir=$1 last;
    rewrite ^/skill/(\d+)/user/(\d+)$ /main/badge/issued_all.php?skill=$1&user=$2 last;
    rewrite ^/badge/(\d+)/user/(\d+)$ /main/badge/issued_all.php?skill=$1&user=$2 last;
    try_files $uri @rewrite;
    }
    location /main {
    rewrite ^/main/admin/$ /main/admin/index.php last;
    }
    location ~ \.php$ {
    client_max_body_size 20M;
    try_files $uri /index.php$is_args$args;
    rewrite /certificates/$ /certificates/index.php?id=%1  last;
    rewrite ^/courses/([
    /]+)/$ /main/course_home/course_home.php?cDir=$1 last;
    rewrite /courses/([/]+)/index.php$ /main/course_home/course_home.php?cDir=$1 last;
    rewrite /session/([/]+)/about/?$ /main/session/about.php?session_id=$1 last;
    rewrite /badge/([/]+) /main/badge/issued.php?issue=$1 last;
    rewrite ^/main/exercice/(.+)$ /main/exercise/$1 last;
    rewrite ^/main/newscorm/(.+)$ /main/lp/$1 last;
    fastcgi_pass unix:/var/run/php5-fpm.sock;
    fastcgi_split_path_info ^(.+\.php)(/.*)$;
    include fastcgi_params;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    fastcgi_param HTTPS off;
    }
    1. Serve static files directly
      location ~* \.(png|jpe?g|gif|ico|js|css|mp3|swf|flv|mp4|ogg)$ {
      expires 1y;
      access_log off;
      rewrite /courses/([/]+)/course-pic85x85.png$ /app/courses/$1/course-pic85x85.png last;
      rewrite /courses/([/]+)/course-pic.png$ /app/courses/$1/course-pic.png last;
      rewrite /courses/([/]+)/scorm/(.*)$ /main/document/download_scorm.php?doc_url=/$2&cDir=$1 last;
      rewrite /courses/([/]+)/document/(.*)$ /main/document/download.php?doc_url=/$2&cDir=$1 last;
      rewrite /courses/([/]+)/work/(.*)$ /main/work/download.php?file=work/$2&cDir=$1 last;
      rewrite /courses/([/]+)/upload/(.*)$ /app/courses/$1/upload/$2 last; # For all these media resources not treated by previous rewrites, give direct access (no permission check)
      rewrite ^/courses/(.*)$ /app/courses/$1 break;
      try_files $uri @rewrite;
      }
      location ~ \.(ht|git){
      deny all;
      }
      location ^
      /tests/ {
      deny all;
      }

}

Also available in: Atom PDF