+ Reply to Thread
Page 2 of 2
FirstFirst 1 2
Results 11 to 17 of 17

Thread: uploading files to different folder

Share/Bookmark
  1. #11
    Super Moderator Michael Daly will become famous soon enough Michael Daly will become famous soon enough Michael Daly's Avatar
    Join Date
    May 2006
    Location
    Homeless and OTR, Canada
    Posts
    4,418
    Rep Power
    10

    Default

    You can leave everything in /images/ or change it to /files/. You can't have both, where pictures are in the images directory and other files are in the files directory. MW is not set up to do that.

    All Skizzerz has done is tell you how to change from /images/ to /files/, not to add /files/ in addition to /images/
    Private message are for private information. Please post public questions. Thanks

  2. #12

    Default

    OK, just for clarity, I've done the following:

    1. renamed the 'images' directory by 'files'

    2. added the following to LocalSettings.php:
    $wgUploadPath = "/files"
    $wgUploadDirectory = "/files"

    Then the page turns blank.

    Sorry, but I'm not really into this technical stuff. Can anyone just tell me what is wrong here and say what then exactly I have to change in order to save both images and files in the 'files' directory?

  3. #13

    Default

    does anyone know the solution to this?

  4. #14
    Super Moderator Michael Daly will become famous soon enough Michael Daly will become famous soon enough Michael Daly's Avatar
    Join Date
    May 2006
    Location
    Homeless and OTR, Canada
    Posts
    4,418
    Rep Power
    10

    Default

    Enable_PHP_error_logging and see what the error is.
    Private message are for private information. Please post public questions. Thanks

  5. #15

    Default

    Quote Originally Posted by Michael Daly View Post
    Enable_PHP_error_logging and see what the error is.
    I have done so, but I get no error message and the page is still blank, so I have renamed the folder to 'images' again and removed the new lines from the Localsettings.php

  6. #16
    Super Moderator Michael Daly will become famous soon enough Michael Daly will become famous soon enough Michael Daly's Avatar
    Join Date
    May 2006
    Location
    Homeless and OTR, Canada
    Posts
    4,418
    Rep Power
    10

    Default

    In LocalSettings.php, put:

    Code:
    error_log("Start error log");
    When you run the wiki, see if the text "Start error log" shows up in the error log you've set up. If not, there's a problem with the error logging. If so, you have an odd error - try enabling exception details - see: Manual:$wgShowExceptionDetails. If there's no regular PHP error, there may be an exception.

    If that produces nothing, and you're really desperate, you can try enabling debugging.
    Private message are for private information. Please post public questions. Thanks

  7. #17

    Default

    Quote Originally Posted by Michael Daly View Post
    In LocalSettings.php, put:

    Code:
    error_log("Start error log");
    When you run the wiki, see if the text "Start error log" shows up in the error log you've set up. If not, there's a problem with the error logging. If so, you have an odd error - try enabling exception details - see: Manual:$wgShowExceptionDetails. If there's no regular PHP error, there may be an exception.

    If that produces nothing, and you're really desperate, you can try enabling debugging.
    Helps nothing. Page is still blank. Yes, debugging works when I leave the rest normal, but not when I change the images directory into files etc.

    So does anyone know another way to change the standard uploading directory into 'files' instead of to 'images'?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Trouble Uploading XSL Files
    By cacois in forum Customizing MediaWiki
    Replies: 5
    Last Post: June 20th, 2009, 06:47
  2. uploading multiple files at once
    By Martijn in forum Wiki Editing
    Replies: 18
    Last Post: May 23rd, 2009, 15:33
  3. Uploading swf files
    By sun in forum Configuration
    Replies: 2
    Last Post: January 8th, 2009, 11:35
  4. Uploading .wav files to Wiki
    By JasonCacti in forum Customizing MediaWiki
    Replies: 2
    Last Post: November 13th, 2008, 20:29
  5. Problem with uploading files (ver 1.5.x)
    By meohoang in forum MediaWiki General Discussion
    Replies: 3
    Last Post: February 14th, 2006, 21:21

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts