Quantcast
Channel: Installing and upgrading help
Viewing all 46758 articles
Browse latest View live

Re: Halfway there but................ tar.gz ?????????

$
0
0

by Howard Miller.  

It really depends what is inside your tar.gz file?  What exactly are you trying to do?


Re: Halfway there but................ tar.gz ?????????

$
0
0

by Christopher Britt.  

Hello Howard,

For reasons beyond my control, inodes, I've had to reinstall moodle again. I've installed moodle and now want to reinstall the site and the courses that were on it. They are backed up in the tar.gz files, I think?

TTFN

Chris

moodle 2.6

Hostgator

Re: Halfway there but................ tar.gz ?????????

$
0
0

by Howard Miller.  

Doesn't really help... I'll try another approach.... who made these files and how?

I'd just be guessing what they might be... a backup of your moodledata area? Your database dump zipped? Moodle's own course backup files? Who knows?

Re: Popup error

$
0
0

by Francesca Alloatti.  

Thanks!!! I've changed theme and it works perfectly!

Great!

Bye from Italy!

Francesca


Re: Popup error

$
0
0

by Francesca Alloatti.  

Yes!!! Perfect!

I've changed theme and it works perfectly!

Great!

Bye from Italy!

Francesca



Re: Halfway there but................ tar.gz ?????????

$
0
0

by Christopher Britt.  

Sorry Howard,

They are backups that were made on / taken from my moodle site.

TTFN

Chris

Moodle2.6/Hostgator

Re: Moodle 3.3.1+ - Build 08242017 - Fatal error: require_once(): Failed opening required - Notice: Undefined variable: CFG

$
0
0

by Ken Task.  

See:
http://php.net/manual/en/function.getcwd.php
which says:
"On some Unix variants, getcwd() will returnFALSE if any one of the parent directories does not have the readable or search mode set, even if the current directory does. See chmod() for more information on modes and permissions."

Ownerships/Permissions?

'spirit of sharing', Ken

Re: Moodle 3.3.1+ - Build 08242017 - Fatal error: require_once(): Failed opening required - Notice: Undefined variable: CFG

$
0
0

by Brad Howe.  

Thanks for the recommendations. 

I'm going to try it a brand new clean install on the same server, new DB, new vhost, new url and see if we get the same symptoms.


Php was compiled from source. 

Unix is centos 7


#Compile Source PHP

cd ..

cd php-7.1.6/

./configure --prefix=/usr/local/php-7.1.6 --with-apxs2=/usr/local/apache2/bin/apxs --with-zlib-dir --with-freetype-dir --enable-mbstring --enable-filter --with-libxml-dir=/usr --enable-soap --enable-calendar --with-curl --with-mcrypt --with-zlib --with-gd --disable-rpath --enable-inline-optimization --with-bz2 --with-zlib --enable-sockets --enable-sysvsem --enable-sysvshm --enable-pcntl --enable-mbregex --enable-exif --enable-bcmath --with-mhash --enable-zip --with-pcre-regex --with-pdo-mysql --with-mysqli --enable-mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-mysql-sock=/var/lib/mysql/mysql.sock --with-jpeg-dir=/usr --with-png-dir=/usr --enable-gd-native-ttf --with-openssl --with-fpm-user=www-data --with-fpm-group=www-data --with-libdir=/lib/x86_64-linux-gnu --enable-ftp --with-kerberos --with-gettext --with-xmlrpc --with-xsl --enable-opcache --enable-fpm

make

make install

 

#

ln -s /usr/local/php-7.1.6/bin/php /usr/sbin/php

ln -s /usr/local/php-7.1.6/bin/phpize /usr/sbin/phpize

php -v


Re: Moodle 3.3.1+ - Build 08242017 - Fatal error: require_once(): Failed opening required - Notice: Undefined variable: CFG

$
0
0

by Ken Task.  

Have a CentOS 7.x and use Webtatic repo for the PHP ... 7.0.x right now but 7.1 available ... gave up compiling AMP stack years ago .... binaries from repos just fine for Moodle.

Besides ... the reference to ownerships/permissions are not on PHP but on moodle code directories/files I thought.

To whom does /var/www/html/ belong?

To whom does any of the subdirectories located there belong?

/var/www/html/moodle/?

'spirit of sharing', Ken

Re: Moodle 3.3.1+ - Build 08242017 - Fatal error: require_once(): Failed opening required - Notice: Undefined variable: CFG

$
0
0

by Brad Howe.  

Apache is running as daemon with dir set at 777. I even enabled all the modules in Apache and still have the same issue. 


I'm going to try completely clean install of Moodle I'm not server. I combed the database as well and couldn't find anything that would cause this. 

Re: Moodle 3.3.1+ - Build 08242017 - Fatal error: require_once(): Failed opening required - Notice: Undefined variable: CFG

$
0
0

by Howard Miller.  

While compiling PHP from source is an interesting challenge, I would really not recommend it. Your chances of finding all the correct (versions of) library files that all play nicely together is remote. 

Re: Halfway there but................ tar.gz ?????????

$
0
0

by Howard Miller.  

I give up....

"I have some boxes... they have stuff in them from my house"

Saying "I have a .tar.gz file" is only a tiny, tiny step away from saying "I have a file". If you can't tell me what the file is then we can't help. 

Re: Popup error

$
0
0

by Tom Prosch.  

popup error might be due to virus in your system

Re: Moodle 3.3.1+ - Build 08242017 - Fatal error: require_once(): Failed opening required - Notice: Undefined variable: CFG

$
0
0

by Brad Howe.  

Hi All, 


So, the clean install worked. 

A new class on the old install didn't.


I renamed Moodle, downloaded latest, upgraded, chown'd directory, chcon'd directory for selinux, copied config.php and it works. 


I don't get it but no errors. Same process I do each time. 


Anyways, thanks for helping out. 

Re: Moodle 3.3.1+ - Build 08242017 - Fatal error: require_once(): Failed opening required - Notice: Undefined variable: CFG

$
0
0

by Ken Task.  

Glad to hear you've got it resolved.   Could have been compiling php-fmp (or whatever that was) with group www-data (that's a Ubuntu/Debian thang where as default CentOS uses apache:apache.   And seLinux also a factor.

'All is well that ends well, I guess. ;)

'spirit of sharing', Ken


Re: DISASTER has struck and I need to reload Moodle on Hostgator

$
0
0

by Rick Jerz.  

Chris, not fun, but maybe doable.

It is not clear, do you have your Moodle2.6 moodledata folder?  If so, you can progress.  If not, you are out of luck because the moodledata folder contains user data.

If you do, you should consider installing a copy of Moodle 2.6, let's call it moodle26-exp, manually.  Then, you can import the database and restore the moodledata folder.  We can guide you with this.

Then, upgrade your moodle26-exp in the proper steps to 3.3.  Then it might be good enough to go, or you can backup the database and moodledata folders from it, and restore them in your production moodle33.

I am leaving out a lot of the detail because I am not sure about your skill level.  If you skills are high, this guidance might be enough for you.

Re: Converting innoDB tables to Barracuda

$
0
0

by Mitchell Turner.  

Sorry to post so long after last reply, but having same issue on same host (Bluehost). There are philosophical issues there for another time (e.g., if they don't support you doing the upgrades, then they should not allow the software under shared hosting).

I just upgraded to 3.3 and it runs fine with the Antelope tables... Barracuda is a recommendation. HOWEVER, another thing that is recommended for 3.3 is to upgrade the Unicode support to utf8mb4. And THAT requires the Barracuda format (at least for the CLI script to run, because I got "Error: 'utf8mb4_unicode_ci' requires the file format to be set to Barracuda. An attempt was made to change the format, but it failed. Please try doing this manually."

Here are the tech questions. Can ALTER commands or some other command to convert to Barracuda be run for each table without setting the Globals?

Also, the showsql option of the CLI script to change to Barracuda only shows 8 tables that need to be modified. There are 278 tables in that DB. If those tables are converted, will the collation script run, when there are 1353 columns in the 278 tables that are listed by the collation script list option?

Google Drive Parameter missing after upgrade

$
0
0

by Jason Touw.  

I recently upgraded from 3.1 to 3.3.  After the upgrade, I am having difficulty using the file picker to pull up Google Drive.  

1. File Picker opens

2.  Click on Google Drive and the "Login to your account" button appears.

3.  Then this screen:



I appreciate any suggestions or thoughts for troubleshooting this error!


Re: Google Drive Parameter missing after upgrade

$
0
0

by Jason Touw.  

I need to revise what I stated in my prior post.  I am also encountering this error in OneDrive and DropBox.

Thank you.

Re: Google Drive Parameter missing after upgrade

$
0
0

by Jason Touw.  

OneDrive Error:



Viewing all 46758 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>