Error Connecting to Server

Error Connecting to Server

by Andrew Johnson -
Number of replies: 7

I updated to moodle 3.1.1 and everything seemed to go fine.  However, when I try to upload files into a course, I get "Error Connecting to Server".  This is happening with a large MP4 file as well as an html file.  I am able to upload some pdf's and jpg files without a problem.  the MP4 file is 176 mb and the html file is only 1kb.


I have the upload file size set for 300 mb, which is what it was prior to the upgrade.


Any help would be greatly appreciated.  I have spent two days working on this issue with no luck except driving myself crazy.


Thanks,

Andy

Average of ratings: -
In reply to Andrew Johnson

Re: Error Connecting to Server

by Ken Task -
Picture of Particularly helpful Moodlers

Could be lots of things ... not enough info shared ... so please turn on debugging, try uploading one of those files that failed to upload before.    When/if debugging reports some info, please come back here and post the output of the debugging text here.

'spirit of sharing', Ken


In reply to Ken Task

Re: Error Connecting to Server

by Andrew Johnson -

Thanks Ken.   I actually tried debugging, but no error messages came up.  The error box pops up about unable to connect to server and when I click on "ok", it goes back to the edit page where I am trying to upload the file.  Only other errors on the site are referenced to the theme and font for the theme.


AJ

In reply to Andrew Johnson

Re: Error Connecting to Server

by Ken Task -
Picture of Particularly helpful Moodlers

In debugging for Moodle, *no* 'error box pops up' (am taking that to mean a separate little window popped up).   Mind describing that or take a screen shot of that and share back here.

Those other errors  ... look like what?    Sometimes things that don't appear to be related actually are. :\

When it comes to size of file to upload ... not only PHP is involved but Apache (limitbodyrequest) and the way one is running apache ... fastcgi/mod?

You might be able to find your 'antidote' (fix) from the 'poisons' (service/configs) listed on this page:

https://www.dokuwiki.org/faq:uploadsize

'spirit of sharing', Ken

In reply to Ken Task

Re: Error Connecting to Server

by Andrew Johnson -

Well, I figured out a work-around.   Made a repository in moodledata following the process on this page:  https://docs.moodle.org/20/en/File_system_repository


I was able to add the file to the course using this method.

In reply to Andrew Johnson

Re: Error Connecting to Server

by Ken Task -
Picture of Particularly helpful Moodlers

Congrats!     Think not out of the yet ...

Go here:
http://vitalsignsconference.com/server/
and you'll get HostGators help for 403 forbidden errors.

Reason for pointing you there ... site is running a WordPress at root of site.
IE, you have moodle (directory) inside a 'server' directory which is mixed in with WordPress directories.  there could be .htaccess or other web server setup that might/could mess with Moodle.

The theme in Moodle is creatif and from the download page for the theme
located at:
https://moodle.org/plugins/pluginversions.php?plugin=theme_creatif
it shows NO downloads for version 3's ... highest available is 2.1.
Out of date themes have been known to create problems with newer versions of
Moodle where there is no theme for the version of Moodle.
Author of themes blog:
https://rolleys.wordpress.com/moodle-themes/

"Please note, I haven’t had time to maintain the themes for years, and they’re very well outdated now."

Other warnings show when uploading a different theme?
lagomorph
which also shows last release was for 2.1

https://moodle.org/plugins/pluginversions.php?plugin=theme_lagomorph

"A css3 based theme intended to be suitable for tablet/mobile use. This theme also incorporates new block positions in the centre section"

Suggest switching moodle to other themes might avoid some strange errors.

'spirit of sharing', Ken


In reply to Ken Task

Re: Error Connecting to Server

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

I created Lagomorph and can state that it is NOT supported for Moodle3! I would be very surprised if it didn't cause some issues randomly around the site - eg. it does not pull in javascript the way modern themes/plugins do, amongst other things and probably doesn't have a version.php, so shouldn't even install on Moodle3!

I'm not familiar with creatif, but my advice if you are using themes that haven't been supported since Moodle2.1 and you are now on Moodle3 is that you definitely need to upgrade your themes!