The Elearning Community • Scorm and PDF uploads not working
Page 1 of 2

Scorm and PDF uploads not working

Posted: Wed Jan 30, 2019 10:16 pm
by gbslearning
Hello
I created a course and tried to add a pdf learning object but it never appeared. So I tried to upload a sample scorm file with demo content and this uploaded but returned the message "please wait" and the rest of the page was blank / white.

I tested the scorm file and it worked at https://cloud.scorm.com

Is there something I need to do regarding permissions on the server for file uploads? If so what should they be on each folder or the files folder please?

I am using Version 2.0

Thanks for any help

Re: Scorm and PDF uploads not working

Posted: Thu Jan 31, 2019 4:55 pm
by canelli
Hi
filesfolder and all subfolder must have read / write permission for the user running the web server

folder files (and subfolder) : drwxr-xr-x ( 755 )

default apache webserver user
ubuntu / debian / suse : www-data (id 33)
read-hat EL, centos , .., oraclelinux , amazon ami : apache (id 48)

Re: Scorm and PDF uploads not working

Posted: Thu Jan 31, 2019 6:01 pm
by gbslearning
Hi Canelli
Thanks for responding. I can confirm the files folder and all sub-folders and files have (755) permissions. Is there anything else I can try?
Thanks

Re: Scorm and PDF uploads not working

Posted: Fri Feb 01, 2019 12:33 pm
by canelli
check
a) that file esxtensions you are using are listed in the general config parameter "white list"
b) thet you have enabled fileinfo module into php

there are other threads in the forum with a deeper help

Re: Scorm and PDF uploads not working

Posted: Fri Feb 01, 2019 1:12 pm
by alfa24
Try to turn on debug in config.php and come back with the error both on the page (if any) and the network tab of developer console.

Re: Scorm and PDF uploads not working

Posted: Fri Feb 08, 2019 8:45 pm
by gbslearning
Sorry for the delay in responding everyone. I have been ill for the past week.

So I have checked the following as you suggested:

1)Yes to: check file extensions are included in the settings/config/advanced/whitelist
2) Yes to: fileinfo is enabled in php
3) enable php warnings in confg.php (OMG this is a very big list of warnings)

Login page:

Warning: Illegal string offset 'browser' in /siteroot/mydomain/public_html/formalms/lib/layout/lib.layout.php on line 301

Strict Standards: Non-static method PlatformManager::createInstance() should not be called statically in /siteroot/mydomain/public_html/formalms/lib/lib.platform.php on line 342

Warning: Creating default object from empty value in /siteroot/mydomain/public_html/formalms/lib/lib.platform.php on line 50

Strict Standards: Non-static method PlatformManager::createInstance() should not be called statically in /siteroot/mydomain/public_html/formalms/lib/lib.utils.php on line 552

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 88

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 88

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 88

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 88

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 88

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 88

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 88

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 88

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 111

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 111

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 111

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 111

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 111

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 111

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 111

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 88

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 111

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Strict Standards: Non-static method LoginLayout::social_login() should not be called statically in /siteroot/mydomain/public_html/formalms/lib/layout/lib.layout.php on line 351

Strict Standards: Non-static method LoginLayout::isSocialActive() should not be called statically in /siteroot/mydomain/public_html/formalms/lib/layout/lib.layout.php on line 361

Strict Standards: Non-static method PlatformManager::createInstance() should not be called statically in /siteroot/mydomain/public_html/formalms/lib/lib.utils.php on line 552
Left logo

Strict Standards: Non-static method PlatformManager::createInstance() should not be called statically in /siteroot/mydomain/public_html/formalms/lib/lib.utils.php on line 552

Notice: Use of undefined constant Docebo - assumed 'Docebo' in /siteroot/mydomain/public_html/formalms/appCore/Template/TwigManager.php on line 43

+++++++++++++++++++
Course Page:
+++++++++++++++++++

Warning: Illegal string offset 'browser' in /siteroot/mydomain/public_html/formalms/lib/layout/lib.layout.php on line 301

Strict Standards: Non-static method PlatformManager::createInstance() should not be called statically in /siteroot/mydomain/public_html/formalms/lib/lib.platform.php on line 342

Warning: Creating default object from empty value in /siteroot/mydomain/public_html/formalms/lib/lib.platform.php on line 50

Strict Standards: Non-static method PlatformManager::createInstance() should not be called statically in /siteroot/mydomain/public_html/formalms/lib/lib.utils.php on line 552

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 88

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 88

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 88

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 88

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 88

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 88

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 88

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 88

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 111

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 111

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 111

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 111

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 111

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 111

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: in_array() expects parameter 2 to be array, null given in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 111

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Warning: strpos(): Empty needle in /siteroot/mydomain/public_html/formalms/lib/lib.jquerylib.php on line 156

Strict Standards: Non-static method TrackUser::getUserPreviousSessionCourseTime() should not be called statically in /siteroot/mydomain/public_html/formalms/lib/layout/lib.layout.php on line 501

Strict Standards: Non-static method TrackUser::getUserCurrentSessionCourseTime() should not be called statically in /siteroot/mydomain/public_html/formalms/lib/layout/lib.layout.php on line 502

Strict Standards: Non-static method TrackUser::getWhoIsOnline() should not be called statically in /siteroot/mydomain/public_html/formalms/lib/layout/lib.layout.php on line 528

Strict Standards: Non-static method PlatformManager::createInstance() should not be called statically in /siteroot/mydomain/public_html/formalms/lib/lib.utils.php on line 552

Notice: Use of undefined constant Docebo - assumed 'Docebo' in /siteroot/mydomain/public_html/formalms/appCore/Template/TwigManager.php on line 43

Strict Standards: Non-static method PlatformManager::createInstance() should not be called statically in /siteroot/mydomain/public_html/formalms/lib/lib.utils.php on line 552
Jump to module content Course documents

Strict Standards: Non-static method PlatformManager::createInstance() should not be called statically in /siteroot/mydomain/public_html/formalms/lib/lib.utils.php on line 552


++++++++++++++++++
COURSE DOCUMENTS (scorm powerpoint)
++++++++++++++++++
Loads an XML error popup window and this shows on the brwser window:

Strict Standards: Declaration of Mysql_DbConn::real_escape_string() should be compatible with DbConn::real_escape_string() in /siteroot/mydomain/public_html/formalms/db/drivers/docebodb.mysql.php on line 0

Notice: Undefined variable: browser_locale in /siteroot/mydomain/public_html/formalms/lib/lib.preference.php on line 597

Strict Standards: Non-static method Format::init() should not be called statically in /siteroot/mydomain/public_html/formalms/i18n/lib.format.php on line 32

Deprecated: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in /siteroot/mydomain/public_html/formalms/db/drivers/docebodb.mysql.php on line 159

Deprecated: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in /siteroot/mydomain/public_html/formalms/db/drivers/docebodb.mysql.php on line 159

Deprecated: Non-static method DDomNode::createDDomObject() should not be called statically, assuming $this from incompatible context in /siteroot/mydomain/public_html/formalms/appLms/modules/scorm/xmlwrapper.php on line 363

Strict Standards: Only variables should be passed by reference in /siteroot/mydomain/public_html/formalms/appLms/modules/scorm/xmlwrapper.php on line 363

Deprecated: Non-static method DDomNode::_getNodeType() should not be called statically, assuming $this from incompatible context in /siteroot/mydomain/public_html/formalms/appLms/modules/scorm/xmlwrapper.php on line 221

Deprecated: Non-static method DDomNode::createDDomObject() should not be called statically, assuming $this from incompatible context in /siteroot/mydomain/public_html/formalms/appLms/modules/scorm/xmlwrapper.php on line 363

Strict Standards: Only variables should be passed by reference in /siteroot/mydomain/public_html/formalms/appLms/modules/scorm/xmlwrapper.php on line 363

Deprecated: Non-static method DDomNode::_getNodeType() should not be called statically, assuming $this from incompatible context in /siteroot/mydomain/public_html/formalms/appLms/modules/scorm/xmlwrapper.php on line 221

Deprecated: Non-static method DDomNode::createDDomObject() should not be called statically, assuming $this from incompatible context in /siteroot/mydomain/public_html/formalms/appLms/modules/scorm/xmlwrapper.php on line 363

Strict Standards: Only variables should be passed by reference in /siteroot/mydomain/public_html/formalms/appLms/modules/scorm/xmlwrapper.php on line 363

Deprecated: Non-static method DDomNode::_getNodeType() should not be called statically, assuming $this from incompatible context in /siteroot/mydomain/public_html/formalms/appLms/modules/scorm/xmlwrapper.php on line 221
11836not attemptedUser,Name,creditnormalab-initio0000:00:00.00

Re: Scorm and PDF uploads not working

Posted: Fri Feb 08, 2019 9:28 pm
by alfa24
Ok, I think I found it, but I need more control. Contact me in private and I will debug it for you for free.

Re: Scorm and PDF uploads not working

Posted: Sat Feb 09, 2019 11:32 am
by canelli
It seems you are using php 7.1 or greater

try using php 7.0

Re: Scorm and PDF uploads not working

Posted: Sat Feb 09, 2019 12:29 pm
by gbslearning
Hi Canelli
Thanks for your reply. I switched it up from php 5.6 to php 7.0 and set the config.php from mysql to mysqli but it has not made any difference. Could it be missing extensions? Is there a list of php extensions which need to be enabled anywhere do I can check they are all active?
Thanks for your patience

Re: Scorm and PDF uploads not working

Posted: Sat Feb 09, 2019 12:35 pm
by gbslearning
Just to add guys: Please do not contact me asking for ftp and admin access pretending you want to help then when I refuse (because it would be a massive security breach) refuse to help or give the solution you claim to know. No need to be a dick. If you do not want to help then don't offer. simples!

Not aimed at you Canelli. Thanks

This site uses cookies.

Some of the cookies we use are essential for parts of the site to operate and have already been set. We also use Google Analytics scripts, which all use cookies.
You may delete or block all cookies from this site in your browser options.