Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

[Solved] Images not uploading

124»

Comments

  • Options
    x00x00 MVP
    edited March 2013

    You have a FileUpload directory in uploads?

    grep is your friend.

  • Options

    yeah if I upload using the FileUpload program it uploads no problem, pictures show up and everything. If it use the PLupload, it uploads too, but the file is 0 bytes.

  • Options

    It is creating folders and sub folders and copies of what is supposed to be images.

    Example :

    uploads/FileUpload/6f/ce4ab7d5ef0f1b92010a9c1169566f.jpg

  • Options

    @BrandonP said:
    yeah if I upload using the FileUpload program it uploads no problem, pictures show up and everything. If it use the PLupload, it uploads too, but the file is 0 bytes.

    That's an excellent clue. This is on a fresh install, correct?

    There was an error rendering this rich post.

  • Options

    Yeah. It did the same thing before though too. It would upload using the regular FileUpload program, but every time I would upload with PL Plugin it would give me an error and upload a 0byte file

  • Options

    you know the previous test can you put this in its place.

    throw new PlUploadErrorException(var_export(base64_encode(file_get_contents("php://input")),TRUE), 0, __FILE__);          
    

    grep is your friend.

  • Options

    no problem.

    Retested with that script installed,

    On the actual site it said:
    Error: -200, Message: HTTP Error., File: 4725587287_4e1eb839f6_o.jpg

    On Flashbug it says 500Internal Server Error:

    Header

    Response Headersview source
    Cache-Control   private, no-cache, no-store, must-revalidate
    Connection  close
    Content-Type    application/json
    Date    Mon, 25 Mar 2013 21:23:38 GMT
    Expires Sat, 01 Jan 2000 00:00:00 GMT
    Last-Modified   Mon, 25 Mar 2013 21:23:47 GMT
    Pragma  no-cache
    Server  Apache
    Transfer-Encoding   chunked
    X-Garden-Version    Vanilla 2.0.18.4
    Request Headersview source
    Accept  text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Encoding gzip, deflate
    Accept-Language en-US,en;q=0.5
    Cache-Control   no-cache
    Connection  keep-alive
    Content-Length  123138
    Content-Type    multipart/form-data; boundary=----pluploadboundaryp17mhmun6ftauv4l9q7prr7cd4
    Cookie  wp-settings-time-1=1364228625; wp-settings-1=editor%3Dhtml%26hidetb%3D1%26libraryContent%3Dbrowse; wordpress_logged_in_85672006ef55582711787d9bf9e5e3d2=Brandon%7C1364952184%7Cf6dee8a53096a325e143a57b6584d3a1; Vanilla=1-1366820807%7C8d2b7284c87f98f24cf7291b06e0d793%7C1364228807%7C1%7C1366820807; PHPSESSID=2493317e3ae1a303fa62d7260b5f0f99; Vanilla-Volatile=1-1364419396%7Ce599e25d2de705d8a1aaae6a0bcd609a%7C1364246596%7C1%7C1364419396
    DNT 1
    Host    safeoperator.net
    Pragma  no-cache
    Referer http://safeoperator.net/vanillaforums/index.php?p=/post/discussion
    User-Agent  Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0

    Post

    ------pluploadboundaryp17mhmun6ftauv4l9q7prr7cd4 Content-Disposition: form-data; name="name" 4725587287_4e1eb839f6_o.jpg ------pluploadboundaryp17mhmun6ftauv4l9q7prr7cd4 Content-Disposition: form-data; name="file"; filename="4725587287_4e1eb839f6_o.jpg" Content-Type: image/jpeg ÿØÿà�JFIF������ÿáExif��II*���������Ú�������à��������������õ�������ý���(�������1������2����!��������������������� ��¤��������¤��������¤��������¤����5��¤��������i‡����@��è��Canon�Canon PowerShot A620�@w�'��@w�'��Adobe Photoshop CS3 Windows�2013:03:16 20:59:13�����������š‚����f��‚����n�������0220����v������Š��‘�����‘����ž��’ ����¦��’����®��’ ����¶��’����¾��’������� ’����X��� ’����Æ��†’���Î��� ����0100 ������� ����X�� ���� ��¢����Ö��¢����Þ��¢�������¢��������£��������������€��(��� ���2010:06:16 14:07:12�2010:06:16 14:07:12�������*�� ���€��� ����������_��� ���„��è���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������(#�Õ����à.�����������������6������>��(�����������F������´������H������H������ÿØÿà�JFIF���H�H��ÿí�Adobe_CM�ÿî�Adobe�d€���ÿÛ�„�   

    Response

    {"Code":0,"Exception":"''"}
  • Options

    Can anyone install a copy of these add-ons on their own forum and please test the image upload for me? I wonder if my server is causing these issues

  • Options

    You're so close to finding out what's really going on...

    @BrandonP said:

    Retested with that script installed,

    On the actual site it said:
    Error: -200, Message: HTTP Error., File: 4725587287_4e1eb839f6_o.jpg

    On Flashbug it says 500 Internal Server Error:

    From a programmer's perspective that's good info. An internal server error is kogged in either the Apache error log or the user's error log, by that I mean your error log on your space with your host

    Response

    {"Code":0,"Exception":"''"}

    That's really interesting

    There was an error rendering this rich post.

  • Options

    ErrorLog

    [Sat Mar 23 17:42:16 2013] [error] [client] File does not exist: /var/chroot/home/content/86/10747586/html/robots.txt
    [Sun Mar 24 15:48:14 2013] [error] [client] File does not exist: /var/chroot/home/content/86/10747586/html/robots.txt
    [Sun Mar 24 22:47:30 2013] [error] [client] File does not exist: /var/chroot/home/content/86/10747586/html/robots.txt
    [Sun Mar 24 22:47:31 2013] [error] [client] File does not exist: /var/chroot/home/content/86/10747586/html/wp/sitemap_index.xml
    [Mon Mar 25 10:09:53 2013] [error] [client] File does not exist: /var/chroot/home/content/86/10747586/html/forums/entry
    [Mon Mar 25 10:17:07 2013] [error] [client] File does not exist: /var/chroot/home/content/86/10747586/html/robots.txt
    [Mon Mar 25 10:32:57 2013] [error] [client] File does not exist: /var/chroot/home/content/86/10747586/html/forums/entry
    [Mon Mar 25 13:16:29 2013] [error] [client] File does not exist: /var/chroot/home/content/86/10747586/html/robots.txt
    [Mon Mar 25 13:16:29 2013] [error] [client] File does not exist: /var/chroot/home/content/86/10747586/html/forums/entry
    [Mon Mar 25 15:55:24 2013] [error] [client] File does not exist: /var/chroot/home/content/86/10747586/html/forums/entry
    [Mon Mar 25 16:36:59 2013] [error] [client] File does not exist: /var/chroot/home/content/86/10747586/html/forums/entry
    [Mon Mar 25 16:52:31 2013] [error] [client] File does not exist: /var/chroot/home/content/86/10747586/html/forums/entry
    [Mon Mar 25 17:16:03 2013] [error] [client] File does not exist: /var/chroot/home/content/86/10747586/html/forums

  • Options

    The issue has been resolved. Not sure what x00 did, but he fixed it. lol :D

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    Would be great to know what he did to fix it ! :)

  • Options
    422422 Developer MVP

    If he told you that , he'd have to killya ;)

    There was an error rendering this rich post.

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP
    edited March 2013

    That's ok as long as I die knowing how he did it !!

  • Options
    422422 Developer MVP

    better to have tried and failed, than to just ask repeatedly on forums .

    LOL ( should be a new motto for newbs )

    There was an error rendering this rich post.

  • Options

    @vrijvlinder said:
    Would be great to know what he did to fix it ! :)

    I am using Version 0.1b and I am having 0B uploads. Eager to know what was the fix for this ?

    TIA

Sign In or Register to comment.