Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
Questions on getting Xerte Toolkits installed on your server and questions about authentication and user logins.
  • Page:
  • 1
  • 2

TOPIC:

Media upload doesn't work with new XOT 2 install 11 years 6 months ago #44

  • Mark7801
  • Mark7801's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 42
  • Thank you received: 0
Hi folks,
I thought I had this trouble fixed but did not.
I can't get any media files to upload. I get the message that the upload is successful and it shows the file info in the image box but when I try to preview I get a message "You must select media before you preview it" There are no media files uploading to the USER_FILES folder
- upload_max_filesize (2M)
- post_max_size (8M)
A fresh install of XOT 2.0 using Xampp on Win Vista and choosing either the Xampp or Full Setup option seemed to load correctly with one difference. The lower pod links do not work unless I use the Full Install option.
Any suggestions?
Thx
Mark

Please Inloggen or Create an account to join the conversation.

Media upload doesn't work with new XOT 2 install 11 years 6 months ago #46

  • robb
  • robb's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 54
  • Thank you received: 3
Can you check what size the file is you tried to upload?
Your php.ini has (as you posted) a max of 2MB files for upload files. This is quite small, especially if you want to have video files embedded in your project.
Find the upload_max_filesize entry in php.ini and change it to 50MB or even 100MB. Also the post_max_size is a bit low, give it some 25-50MB too.

Please Inloggen or Create an account to join the conversation.

Last edit: by robb.

Media upload doesn't work with new XOT 2 install 11 years 6 months ago #63

  • Mark7801
  • Mark7801's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 42
  • Thank you received: 0
Hi Rob,
I changed the upload_max_filesize and post_max size as you suggested. It didn't seem to have any effect. After some troubleshooting here's what I found.
1) In the USER_FILES folder the media folder is not created when I create a new project. If I create a media folder manually the function seems to work as expected.
2) When I delete a project from the project page list it does not remove it from the USER_FILES folder. There is nothing in the recycle list to delete.
All else seems to function properly. Any suggestions?
Thanks for your help!
Mark

Please Inloggen or Create an account to join the conversation.

Media upload doesn't work with new XOT 2 install 11 years 6 months ago #64

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1286
  • Thank you received: 324
Mark,

This sounds like permission issues. In what folder did you install XAMPP?
What is in <xot folder>\modules\xerte\templates\Nottingham? There should be an empty media folder.

If you create a new LO, what is exactly generated in USER_FILES?

Tom

Please Inloggen or Create an account to join the conversation.

Media upload doesn't work with new XOT 2 install 11 years 6 months ago #65

  • Mark7801
  • Mark7801's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 42
  • Thank you received: 0
Hi Tom,
I installed XAMPP in the root c:\Xampp and installed XOT in the htdoc folder.
c:\xampp\htdocs\<myfolder>\(all the XOT files). the files were unzipped into another folder then copy/paste into <my folder> as per page 17 of the instruction guide. (April 2013). Did I misunderstand this process?

The <xot folder>\modules\xerte\templates\Nottingham folder contains two files <data.xml> and <Nottingham.info> only. There is no <media> folder.

The new LO contains two files, <data.xml> and <preview.xml>

Mark

Please Inloggen or Create an account to join the conversation.

Media upload doesn't work with new XOT 2 install 11 years 6 months ago #66

  • Mark7801
  • Mark7801's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 42
  • Thank you received: 0
FYI...
Not sure if this has anything to do with this problem but... I also had to use the full install choice since I had an existing Xampp installed. If I installed using the Xampp choice, the links at the bottom of the screen and export functions didn't work.

Mark

Please Inloggen or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Time to create page: 0.049 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search