• Resolved nishant

    (@nishant)


    Whenever I press the [transload] button, I get this error,

    “The admin disabled this function”

    I’ve already CHMOD’ed my uploads folder to 777. Any ideas?

    Cheers!

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter nishant

    (@nishant)

    bumped:P

    Do NOT bump posts! If you think bumping it will make anyone help you, you are quite mistaken. I however will offer you the following solution, simply so no one else has to waste their time.

    If you had bothered to search at all and I don’t mean mashing the keypad until something like “transloader” comes up and then smacking the ‘enter’ key and saying “Gee, I’m stumped *humf*”. If you had at least done the keyboard mashing, you would see that the WordPress site offers no results, but it does suggest you search Google for answers. So how about you mash your keyboard on over to Google and then search for your plugin there and you will easily find the answer.

    And remember when you *BUMP* or in your case, bump :P, you will not receive any help, only a lecture and/or vague directions from cranky, condescending people such as myself.

    Ta!

    Thread Starter nishant

    (@nishant)

    I did do a google search, none of the results offered any help. All it said was to make sure I did a chmod on my uploads directory to 777. Which I did. Still have the same problem.

    pls do as soon as possible

    Thread Starter nishant

    (@nishant)

    I’ve already done it. It still hasn’t helped. πŸ™

    Reinstall the plugin as per the instructions on the plugin site: http://pcspot.net/2005/11/06/wordpress-image-transload-plugin/ or ask the developer of the plugin for help. It would appear no one here knows anything about this plugin.

    Thread Starter nishant

    (@nishant)

    I’ve re-installed the plugin as per the instructions stated. Still no luck.

    Okay this may sound like a noobish question but, how exactly do you “ACTIVATE UPLOADS” other than just stating a correct path for uploads?

    Cheers.

    I’m not completely sure, but I’m actually going to download the plugin and try it out, it’s really a very novel idea, but it makes perfect sense, kind of removing the middle man.

    I’m not sure what version of WP you’re own, in WP 2.0.1, if you go options->miscellaneous there is a place to specify the upload folder and such, make sure that the folder specified is readable and writable (chmod 666).

    I’ll post whether and how I got it working as soon as I do and please do the same, as there are no other threads about this plugin, we should try and make sure that this at least resolves itself into a “go” or “no-go” solution for anybody else having a similar issues.

    Cheers,
    Michael.

    Thread Starter nishant

    (@nishant)

    Thanks Michael. But I think you meant CHMOD 777 right? Yes I’ve already specified the upload folder and made such that the folder specified is readable and writable.

    Looking to hear from you.

    Cheers!

    Ok, I think I know what’s wrong, the script calls for several get_settings things that do not exist in the DB, at least in mine. Doing a little searching, it seems that the upload manager or something like that has been changed with 2.0.

    So, when I installed it and all that, I got the same error as you. Since, I’ve altered the script a bit, replacing some of the get_settings with hard-coded variables and have gotten a bit further, at least up until it tries to upload the file, which it fails to do. I’m sure if all of the settings where hard-coded into the transloader.php file it would work just fine.

    The problem is, I really have not the foggiest idea what alot of those settings are. Here is a list of the settings the script requests but that do not exist:

    get_settings(‘use_fileupload’))
    get_settings(‘fileupload_minlevel’)
    get_settings(‘fileupload_allowedtypes’)
    get_settings(‘fileupload_realpath’)

    And after that, there is at least 1 missing semicolon. Good idea for a script, but it seems to have been written carelessly or in a hurry.

    I have to step out for awhile, but now that I’m obsessed with this script (which I know I’ll never use), I’ll be back at it later. Try searching for some workarounds for this, I only started using WP at 2.0, so I have no idea what things would have been like in the previous versions.

    See Below.

    GOT IT!

    First, you need to download and activate this plugin, Filosofo Old Style Uploads. Set the options, including the upload directory you want and make sure the directory has the proper permissions so your server can write to it (possibly upto 777). Once that’s all done and working, next comes transloader.

    You have to edit the script a tiny bit. Now keep in mind that I have no idea what effect the edits might have, so all of this is as-is and at your own risk…

    Comment out line 11 & 12, so changes this:
    if (!get_settings(‘use_fileupload’)) //Checks if file upload is enabled in the config
    die (__(“The admin disabled this function”));

    to:
    //if (!get_settings(‘use_fileupload’)) //Checks if file upload is enabled in the config
    // die (__(“The admin disabled this function”));

    And then add a semicolon on 35, the line starts with “printf(__(“It doesn’t look” and ends with “…fileupload_realpath’))” so just add a semicolon after the last bracket like so: fileupload_realpath’)); and you should be good to go!

    If this all works out for you (which I hope it does), make sure you change this thread to resolved!

    Cheers,
    Michael.

    Thread Starter nishant

    (@nishant)

    Oh my god it works! Michael you’re a gem!

    Finally someone who actually HELPED instead of just telling me “google it”.

    Thank you so much!

    Cheers!
    Nishant

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Transloader Plugin problem’ is closed to new replies.