Moodle

Wiki bug with uploading large pictures

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Won't Fix
  • Affects Version/s: 1.4.2
  • Fix Version/s: None
  • Component/s: Wiki (1.x)
  • Labels:
    None
  • Environment:
    Linux

Description

As discussed here:

https://learn.gold.ac.uk/mod/wiki/view.php?id=4821

It seems that when ewiki resizes uploaded pictures, the upload process fails because move_uploaded_file() returns false. This seems to be because the renaming process alters the file beforehand. Turning off image resizing in the wiki is a workaround (with obvious disavantages).

Issue Links

Activity

Hide
Martin Dougiamas added a comment -

From Martin Wellard (veg at fatsquirrel.org) Wednesday, 24 November 2004, 05:17 PM:

Ack - sorry, got the IRL rong in the initial submission. The thread that discussed this topic is:

http://moodle.org/mod/forum/discuss.php?d=14221

From Martin Langhoff (martin at catalyst.net.nz) Thursday, 25 November 2004, 08:11 AM:

Reassigning to Mike - he's put together the wiki integration stuff.

From Mike Churchward (mike at churchward.ca) Thursday, 25 November 2004, 11:11 PM:

I'm not seeing this behaviour. Images using the wiki upload attachment function are stored as binary objects in the database rather than files. What type of files are you uploading?

see: http://moodle.org/mod/forum/discuss.php?d=14221&parent=74190

From Gustav Delius (gwd2 at york.ac.uk) Sunday, 16 January 2005, 05:33 AM:

Everything is explained quite well in the referenced forum discussion. However there seems to be a problem when the user tries to upload a large file (but smaller than the upload size limit for the course). No error message is produced but the upload does not succeed. Does the wiki module use a different upload size limit from the limit set for the course?

Show
Martin Dougiamas added a comment - From Martin Wellard (veg at fatsquirrel.org) Wednesday, 24 November 2004, 05:17 PM: Ack - sorry, got the IRL rong in the initial submission. The thread that discussed this topic is: http://moodle.org/mod/forum/discuss.php?d=14221 From Martin Langhoff (martin at catalyst.net.nz) Thursday, 25 November 2004, 08:11 AM: Reassigning to Mike - he's put together the wiki integration stuff. From Mike Churchward (mike at churchward.ca) Thursday, 25 November 2004, 11:11 PM: I'm not seeing this behaviour. Images using the wiki upload attachment function are stored as binary objects in the database rather than files. What type of files are you uploading? see: http://moodle.org/mod/forum/discuss.php?d=14221&parent=74190 From Gustav Delius (gwd2 at york.ac.uk) Sunday, 16 January 2005, 05:33 AM: Everything is explained quite well in the referenced forum discussion. However there seems to be a problem when the user tries to upload a large file (but smaller than the upload size limit for the course). No error message is produced but the upload does not succeed. Does the wiki module use a different upload size limit from the limit set for the course?
Hide
Rahim Virani added a comment -

We have also experienced this issue, in fact after recieving a 'blank' screen after uploading a file, that same day I was able to upload the same file with no problems. (Moodle 1.8.3 browser: FF2.0.12/Windows XP)

Show
Rahim Virani added a comment - We have also experienced this issue, in fact after recieving a 'blank' screen after uploading a file, that same day I was able to upload the same file with no problems. (Moodle 1.8.3 browser: FF2.0.12/Windows XP)
Hide
Michael de Raadt added a comment -

Thanks for reporting this issue.

We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported.

If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed.

Michael d;

lqjjLKA0p6

Show
Michael de Raadt added a comment - Thanks for reporting this issue. We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported. If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed. Michael d; lqjjLKA0p6
Hide
Michael de Raadt added a comment -

I'm closing this issue as it has become inactive and does not appear to affect a current supported version. If you are encountering this problem or one similar, please launch a new issue.

Show
Michael de Raadt added a comment - I'm closing this issue as it has become inactive and does not appear to affect a current supported version. If you are encountering this problem or one similar, please launch a new issue.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: