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

TOPIC: Unable to upload images

Unable to upload images 5 years 10 months ago #287

  • AJ Cann
  • AJ Cann's Avatar
  • Offline
  • Junior Boarder
  • Posts: 32
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?
Last Edit: 5 years 10 months ago by John Smith.
The administrator has disabled public write access.

Unable to upload images 5 years 10 months ago #288

  • Julian Tenney
  • Julian Tenney's Avatar
  • Offline
  • 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 administrator has disabled public write access.
The following user(s) said Thank You: AJ Cann

Unable to upload images 5 years 10 months ago #289

  • John Smith
  • John Smith's Avatar
  • Offline
  • 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 administrator has disabled public write access.
The following user(s) said Thank You: AJ Cann

Unable to upload images 5 years 10 months ago #290

  • AJ Cann
  • AJ Cann's Avatar
  • Offline
  • Junior Boarder
  • Posts: 32
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".
The administrator has disabled public write access.

Unable to upload images 5 years 10 months ago #291

  • John Smith
  • John Smith's Avatar
  • Offline
  • 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 administrator has disabled public write access.
The following user(s) said Thank You: AJ Cann

Unable to upload images 5 years 10 months ago #292

  • John Smith
  • John Smith's Avatar
  • Offline
  • 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 administrator has disabled public write access.
The following user(s) said Thank You: AJ Cann
Moderators: Julian Tenney, John Smith
Time to create page: 0.331 seconds
Powered by Kunena Forum

Donate

Sponsor us

The Xerte Community is a volunteer-based organization. Please help us to continue that!