Supporting each other

Community forums

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

TOPIC: Unable to upload images

Unable to upload images 6 years 2 months ago #287

  • AJCann
  • AJCann's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 32
  • Thank you received: 0
I'm working on a new Xerte installation, 2.0.
Tried lots of different browsers, can't upload/insert images.
Xerte gives the error: "Upload Failed: HTTPError"
Any suggestions of how to fix this?

Please Log in or Create an account to join the conversation.

Last edit: by jjs.

Unable to upload images 6 years 2 months ago #288

  • julten
  • julten's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 137
  • Thank you received: 18
Can you upload anything? Sounds? Video?
Rights on the USER-DATA folder?
php.ini settings?

You had an install working, right? So this is a new one - on a different server?
The following user(s) said Thank You: AJCann

Please Log in or Create an account to join the conversation.

Unable to upload images 6 years 2 months ago #289

  • jjs
  • jjs's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 360
  • Thank you received: 55
Can you try uploading a really small image... does that work?

This could be related to how much memory is allocated to Apache/PHP where the whole file needs to be loaded into Ram before being written to disk...

Can you upload from the Media and Quota tab in the Properties for the Learning Object in the Workspace? And do any of your attempts at uploading appear there?
The following user(s) said Thank You: AJCann

Please Log in or Create an account to join the conversation.

Unable to upload images 6 years 2 months ago #290

  • AJCann
  • AJCann's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 32
  • Thank you received: 0
How small is small? I can't upload a 45k JPEG.

Media and Quota tab in the Properties for the Learning Object says "Sorry you do not have rights to this template".

Please Log in or Create an account to join the conversation.

Unable to upload images 6 years 2 months ago #291

  • jjs
  • jjs's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 360
  • Thank you received: 55
45k is definitely small enough... i suspect a database or sessions problem because of that error on Media and Quota tab

Not near a computer just now but will look into it tonight.

John
The following user(s) said Thank You: AJCann

Please Log in or Create an account to join the conversation.

Unable to upload images 6 years 2 months ago #292

  • jjs
  • jjs's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 360
  • Thank you received: 55
Hi,

Ok lets get to the bottom of this...

What authentication are you using and what does your /version.txt file in the root read?

Next thing to try - can you see the contents of the /USER-FILES folder in the root? If you look there you should see a number of folders that have been created when you have created a new project. The should be of the format number-username-template so for example if you are using guest auth you might see a folder 1-guest2-Nottingham. Take note of the max number.

Now go back to the workspace and refresh the browser and login again if required. Then create a new XOT project - give it a recognisable name. Did the edit window open? Close it and check that the project is listed in the workspace window. Whilst there, under the 3 "Create a new Project" templates on the right, do you see "Logged in as YOURNAME". Don't worry if you don't see anything and you are using Guest auth as it doesn't show in that mode...

Now check the /USER-FILES folder again. Has a new one been created?

Right try that and let me know how you get on and we can then deduce whether it's the file system or the database that is the issue.

Regards

John
The following user(s) said Thank You: AJCann

Please Log in or Create an account to join the conversation.

Moderators: jultenjjs
Time to create page: 0.061 seconds
Copyright © 2019 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search