Results 1 to 16 of 16

Thread: FancyUpload not working on 1 website only

  1. #1
    Experienced user
    Join Date
    06-10-09.
    Location
    Cape Town, South Africa
    Posts
    1,387

    Default FancyUpload not working on 1 website only

    I've got a website that supports normal uploads using the original/standard method. As soon as I activate the FancyUpload (the new flash/js method), it throws an error.

    I've never had a website that had this error before, so I have absolutely no idea why this is happening.

    Hopefully someone can point me in the right direction.

    [attachment=0:2icec2dr]fancyupload-fail.jpg[/attachment:2icec2dr]

  2. #2
    User
    Join Date
    07-26-09.
    Posts
    175

    Default Re: FancyUpload not working on 1 website only

    I had the same error and after the long fight with it I stayed with the original uploader.

    If anyone finds out why this happens, please post the solution here. I'd be glad to know what's wrong with it.

  3. #3
    User FloB's Avatar
    Join Date
    06-21-09.
    Posts
    157

    Default Re: FancyUpload not working on 1 website only

    Try to find out where the #400 error is thrown (should be somewhere in upload.php, initialize.php, or DC_Folder.php). That'll help us debugging it.

  4. #4
    Experienced user
    Join Date
    06-10-09.
    Location
    Cape Town, South Africa
    Posts
    1,387

    Default Re: FancyUpload not working on 1 website only

    its impossible to figure out where the error occurs, because its part of Fancy Upload, and apart from figuring out how it works, and investing lots of time into this, I just disable the little bugger...

  5. #5
    User
    Join Date
    07-08-10.
    Location
    Madrid, Spain
    Posts
    145

    Default Re: FancyUpload not working on 1 website only

    Hello

    I encounter the same problem since I changed the hosting provider... Do you have found a solution ?

    Thank's
    Eric
    Contao 2.8 -> 3.0
    Evizer Web Agency

  6. #6
    User FloB's Avatar
    Join Date
    06-21-09.
    Posts
    157

    Default Re: FancyUpload not working on 1 website only

    Nah, the #400 is thrown by Contao – FancyUpload just instantiates a HTTP connection and listens for the return code. Check the files I mentioned. A simple exception or error logging should reveal the abort position.

  7. #7
    User
    Join Date
    04-27-10.
    Posts
    134

    Default Re: FancyUpload not working on 1 website only

    I've got the same issue too - so did the same and disabled it.
    Solution would be great

  8. #8
    User FloB's Avatar
    Join Date
    06-21-09.
    Posts
    157

    Default Re: FancyUpload not working on 1 website only

    Quote Originally Posted by vinchenzison
    Solution would be great
    Then please provide us with some debugging information.

  9. #9
    User
    Join Date
    04-27-10.
    Posts
    134

    Default Re: FancyUpload not working on 1 website only

    Would me more than happy to it I know how.
    How can I provide this information?

  10. #10
    User FloB's Avatar
    Join Date
    06-21-09.
    Posts
    157

    Default Re: FancyUpload not working on 1 website only

    Quote Originally Posted by FloB
    Try to find out where the #400 error is thrown (should be somewhere in upload.php, initialize.php, or DC_Folder.php).
    If you don't know a thing about PHP, you might not be able to help us (except you'll let someone access your server).

    Ever tried to use FancyUpload on another computer? Does the original FancyUpload work?

  11. #11
    Experienced user
    Join Date
    06-10-09.
    Location
    Cape Town, South Africa
    Posts
    1,387

    Default Re: FancyUpload not working on 1 website only

    what's really annoying is that it works 100% from the same browser, same computer, same contao version 2.9.1 but only to a different hosting provider (rsaweb - ok!) than the one with the error (hetzner - bad!). Then the support staff at the provider tried it using my BE logon, and for him it works perfectly. Now I really don't understand what the problem could be....

  12. #12
    New user
    Join Date
    10-12-10.
    Posts
    2

    Default Re: FancyUpload not working on 1 website only

    Quote Originally Posted by FloB
    Try to find out where the #400 error is thrown (should be somewhere in upload.php, initialize.php, or DC_Folder.php). That'll help us debugging it.
    its impossible to figure out where the error occurs, because its part of Fancy Upload, and apart from figuring out how it works, and investing lots of time into this, I just disable the little bugger...

  13. #13
    New user
    Join Date
    04-18-10.
    Posts
    1

    Default Re: FancyUpload not working on 1 website only

    Hi there,

    I join the club of having problems with fancyUpload, getting a similar 401 error:

    I password protected the entire website folder by adding the following lines on top of contaos .htaccess:

    AuthType Basic
    AuthName "environment"
    AuthUserFile /folder/of/my/contao/webroot/.htpasswd
    require valid-user

    Can someone tell me how to make an exception to unprotect the upload folder in .htaccess to enable fancyUpload ?
    Is there any other workaround?

    The regular upload form works well. Let me know if there is an unwritten rule that says one must never password protect the contao folder.

    Mike

  14. #14
    Experienced user
    Join Date
    06-10-09.
    Location
    Cape Town, South Africa
    Posts
    1,387

    Default Re: FancyUpload not working on 1 website only

    I logged a ticket, but leo says it's just a server config error.

    I disagree. I installed Fancy Upload's test demo system directly on the same hosting. Then I modified it to actually complete the upload process by creating the files and storing them in a folder.

    I run the demo FancyUpload and it works 100%, no 400 message or anything. This means that there must be something wrong with the Contao files, as this doesn't occur in the upload.php file inside the demo config.

    This is annoying, because most of my customers are now choosing the Hertzer option, preventing ALL of them (5 in total now) from using Fancy Upload. This is really annoying....

  15. #15
    User
    Join Date
    06-20-09.
    Location
    Middlesbrough, UK
    Posts
    246

    Default Re: FancyUpload not working on 1 website only

    I had a nightmare with FancyUpload.

    It worked on some browsers and some computer but not others of the same kind, I couldn't nail down anything specific as it also worked on some servers but not others and then it would work and not work on the same servers but using different computers.

    Here is a link to the thread: http://www.contao-community.org/view...t=fancy+upload

    Hope this may help.

    I don't use it for most sites unless they have galleries where a site admin needs to upload a lot of images at once.
    360fusion: Virtual Tours - Web Design
    Social Media: Twitter - Facebook Page

  16. #16
    Experienced user
    Join Date
    06-10-09.
    Location
    Cape Town, South Africa
    Posts
    1,387

    Default Re: FancyUpload not working on 1 website only

    with my unzip extension, it's also pretty much moot.... just upload the single ZIP containing all the images or PDFs or whatever, and then they can click unzip and voila it explodes on the server...

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
  •