Issue Details (XML | Word | Printable)

Key: MDL-9926
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Petr Skoda
Reporter: Bobberino
Votes: 0
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Add New Resource -> Add an IMS Content Package Errors for Moodle 1.8 (After Upgrade from 1.6.3)

Created: 24/May/07 07:13 AM   Updated: 01/Jul/07 10:34 PM
Return to search
Component/s: Resource
Affects Version/s: 1.8
Fix Version/s: None

File Attachments: 1. Zip Archive InfoTechnologySpring2003.zip (7.30 MB)

Environment:
Name Information Report Status
unicode is required to be installed/enabled. OK
database mysql version 4.1.16 is required and you are running 5.0.27 OK
php version 4.3.0 is required and you are running 5.2.0 OK
php_extension iconv is recommended to be installed/enabled OK
php_extension mbstring is recommended to be installed/enabled OK
php_extension curl is recommended to be installed/enabled OK
php_extension openssl is recommended to be installed/enabled OK
php_extension tokenizer is recommended to be installed/enabled OK
*************************************************************************

PHP Version 5.2.0

System Linux talitha.lunarservers.com 2.6.9-42.0.8.ELsmp #1 SMP Tue Jan 30 12:33:47 EST 2007 i686
Build Date Feb 9 2007 05:27:02
Configure Command './configure' '--prefix=/usr' '--with-xml' '--enable-bcmath' '--enable-calendar' '--with-curl' '--with-dom' '--with-dom-xslt' '--with-dom-exslt' '--enable-exif' '--with-swf=/usr/local/flash' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--with-gettext' '--with-imap=/usr/local/imap-2004g' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-mcrypt' '--with-mhash' '--enable-magic-quotes' '--with-mysqli' '--with-mysql=/usr' '--with-openssl' '--enable-discard-path' '--with-pear' '--with-pgsql=/usr' '--with-pspell' '--enable-sockets' '--enable-track-vars' '--with-ttf' '--with-freetype-dir=/usr' '--enable-gd-native-ttf' '--enable-versioning' '--with-zip' '--with-zlib'
Server API CGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /home/bschee2/public_html/php.ini
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, data, http, ftp, compress.zlib, https, ftps
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*, zlib.*

Database: MySQL
Participants: Bobberino and Petr Skoda
Security Level: None
Affected Branches: MOODLE_18_STABLE


 Description  « Hide
Dear Moodle Folks,

I just upgraded my Moodle from 1.6.3 to 1.8 and had no problems in the upgrade. After doing the following steps:

1. Log onto my new Moodle 1.8 site
2. In the Main Menu block, click on "Add a resource" -> select "Add an IMS Content Package"
3. Receive the "Add a New Resource" page -> enter a Name and Summary
4. Under the "Add an IMS Content Package", click on the "choose or upload a file" button

I receive the following fatal error:

Fatal error: Call to a member function get_id() on a non-object in /home/bschee2/public_html/lms/lib/blocklib.php on line 899


Is there something I should do to correct this?

Also is this the correct way to upload an IMC Content Course (I am trying to upload the following attached MIT OpenCourseware Class that is in Zip format) - as I assume after I upload this file I can just click ont he "reload" link?

Many Thank You's for the great site!

Cheers,

Bob
bscheele@hotmail.com

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Petr Skoda made changes - 01/Jul/07 10:33 PM
Field Original Value New Value
Assignee Roberto Pinna [ upo ] Petr Skoda [ skodak ]
Petr Skoda added a comment - 01/Jul/07 10:33 PM
with warnings but works otherwise fine for me, please describe exact steps needed to replicate it on another server, thanks

Petr Skoda made changes - 01/Jul/07 10:33 PM
Priority Blocker [ 1 ] Major [ 3 ]
Petr Skoda made changes - 01/Jul/07 10:34 PM
Component/s Resource [ 10061 ]
Component/s SCORM [ 10080 ]