Archive for January, 2008

Moodle server updates

Wednesday, January 23rd, 2008

Apache security updates on Moodle servers. PHP sync among servers, made sure following php modules were installed: php.x86_64 php-cli.x86_64 php-common.x86_64 php-dbase.x86_64 php-gd.x86_64 php-ldap.x86_64 php-mbstring.x86_64 php-mysql.x86_64 php-pdo.x86_64 php-pgsql.x86_64 php-soap.x86_64 php-xmlrpc.x86_64 mostly had to add soap, pgsql and xmlrpc packages for, respectively, connectors (QMP) , postgres DB and Moodle Network. Upgraded some clients to 1.x.4 security update; all well, except some style / css feature, known issue solved in this forum post.

Apache redirect

Wednesday, January 23rd, 2008

Client had wrong url on site and thus could not access Moodle. Added Redirect in Apache to new url.

Setup BbCourse Export Environment

Friday, January 18th, 2008

Setup environment for customisation client script. They have a php application with a MySQL database backend for teachers to request Blackboard courses. I duplicated the environment on my localhost and started dev, test and production instances. Restored DB tables and setup code dir but files are included that are not in the sc-tree. Sent email to ask for rest of code and tables. Acknowledged problem and now reconstructing database step by step. Terrible, they have CMS around it which even dynamically builds all the images (draws in fonts etc etc). I'm almost out of errors but ...

Enabled Java in Iceweasel

Friday, January 18th, 2008

To enable java in Debian iceweasel: cd /usr/lib/iceweasel/plugins ln -s /usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/plugin/i386/ns7/libjavaplugin_oji.so . et voila. Moreove, got maconomy working with iceweasel with the user agent switcher add-on in firefox

Client production environment upgrade

Friday, January 18th, 2008

Upgraded production environment of client to 1.8.4+ backup db backup codebase download new codebase set maintenance mode 'enable' set theme to standard cp new codebase over old codebase upgraded moodle from admin set theme back -> hide button gives problem copied custom files to production codebase apapted functional settings according to test site (no force loging, remove login block, show courses on front page) backed ...

User edit profile over https

Thursday, January 17th, 2008

Client called with strange behaviour in the edit-profile page. Is moodle bug so I made upgrade plan on the wiki. Upgraded client. After upgrade, I got a 'skip blocks' text that messed up the whole layout. Problem was described on the moodle forums and soltion worked for me.

Moodle Security Update

Wednesday, January 16th, 2008

Moodle released a security patch for all versions. Made a plan to upgrade all moodles. Download new moodle sc Backed up all code dirs on 3 servers Backed up all databases (should be done again immediately before upgrade) Login and set theme to default cp new source to production dir cp config.php from backed up source cp theme from backed up source go to admin page url ...

PostgreSQL

Wednesday, January 16th, 2008

Checked pgSQL mailing list: rpm yum resource with all nive postgres apps

Moodle Development

Tuesday, January 15th, 2008

We are planning to build a connector for Moodle. Therefor we have to get to know the Moodle API as efficient as possible. We planned a user workshop / brainstorm session to talk about the moodle code and how to approach building of the connector. Some interesting pages from the Moodle-docs: Developer Documentation Overview Setting up Eclipse Moodle phpDocs Moodle ...

Debugging crontab | wget

Tuesday, January 15th, 2008

The strangest thing happens when executing a script via cronta; the script works perfectly fine with command line but when I run it via cron the wget command does not get executed. Maybe because he is using output from another wget command to login to the site which is not ...