Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
Report any technical problems you discover and discuss solutions.
  • Page:
  • 1
  • 2

TOPIC:

Old LO not importing into XOT 2.0 10 years 9 months ago #1147

  • ronm
  • ronm's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 852
  • Thank you received: 261
Jorge
can you test again on the Techdis Sandpit with the same file you were trying to import previously and report back whether it now works or not? Logout and close all browser windows first if you are already logged in.
HTH
Ron
Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/

Please Inloggen or Create an account to join the conversation.

Old LO not importing into XOT 2.0 10 years 9 months ago #1149

  • jamdsf
  • jamdsf's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 9
  • Thank you received: 0
Hi Ron,

Thank you for your email.
I've tried it and it works!
How did you fix it?

Please Inloggen or Create an account to join the conversation.

Old LO not importing into XOT 2.0 10 years 9 months ago #1150

  • ronm
  • ronm's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 852
  • Thank you received: 261
Hi Jorge
glad it works for you now.
I suspect at some point as the 2.1 code evolved there was a bug with importing (might have depended on the authentication method used) which must have been directly or indirectly fixed by newer code. So if you still have the same issue with your XAMPP install then download the latest 2.1 revision available via this site and try again. That said your issue with XAMPP may be different and as Tom suggested due to default PHP limits which need changing in your XAMPP install.
HTH
Ron
Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/

Please Inloggen or Create an account to join the conversation.

Old LO not importing into XOT 2.0 10 years 9 months ago #1159

  • jamdsf
  • jamdsf's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 9
  • Thank you received: 0
Hi Tom,

I've been able to upload most of my LOs, but I have a few that are 50 and 60 MB. You said:

PHP by default limits the size of uploads to about 8Mb. If your LO's are bigger, you haev to change the php.ini settings.


Could you tell me how I can do that?

Please Inloggen or Create an account to join the conversation.

Old LO not importing into XOT 2.0 10 years 9 months ago #1161

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1286
  • Thank you received: 324
First of all, you have to have control over the installation. For example. you won't be able to do this for the sandpit!

So, suppose you have a local install you have to find out where php.ini is stored. This is a text file. Then you need to change two entries, max_upload_size and max_file_size.

Could you let me know what kind of installation you're working with (XAMPP?), then I can give you more details.
The following user(s) said Thank You: jamdsf

Please Inloggen or Create an account to join the conversation.

Old LO not importing into XOT 2.0 10 years 9 months ago #1162

  • jamdsf
  • jamdsf's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 9
  • Thank you received: 0
Hi Tom,

Thank you for this.
I have a local XAAMP installation.
I've opened C:/XAAMP/PHP/php.ini and changed those two entries in the text file to:

; Maximum allowed size for uploaded files.
; php.net/upload-max-filesize
upload_max_filesize=200M

and


; Maximum number of files that can be uploaded via a single request
max_file_uploads=50

(please ee image attached, please to confirm I've done it in the right file)

I've saved that file, opened XAAMP and started XOT. I've tried to import a LO which exceeds the 8 MB limit, but I keep receiving an error message.

Should I do something else?

UPDATE:

I saw that the error message mentioned an 8M limit to the Post data, so I looked for that entry in the php.ini file and changed it to:

Maximum size of POST data that PHP will accept.
; Its value may be 0 to disable the limit. It is ignored if POST data reading
; is disabled through enable_post_data_reading.
; php.net/post-max-size
post_max_size=100M


And it works!
Thank you for the help with these huge LOs.
Attachments:

Please Inloggen or Create an account to join the conversation.

Last edit: by jamdsf. Reason: Found solution
  • Page:
  • 1
  • 2
Moderators: ronmjultenJohnSmith
Time to create page: 0.054 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search