What Do You Need In The Xf2 Xengallery Version? Vote for your choices here: http://www.sonnb.com/threads/what-do-you-need-in-the-xf2-xengallery-version.1539/

Help Problem Adding New Images

Discussion in 'XenGallery' started by rogerl, Jan 3, 2014.

  1. rogerl

    rogerl Authorized Member Authorized

    I am having trouble adding some new images to albums.

    The images upload to the server ok, and the large, medium and small images are created and stored correctly. An entry is also create in the sonnb_xengallery_content_data table (unassociated = 1).

    However, when you press the "save" button to add it to the album, there is a short delay before the save button is re-instated, but the photo is NOT added to the album. There are no error messages displayed, nor any logged on the server. The image remains unassociated and is not added to any of the other content/photos database tables.

    This is consistent for the images in question, but uploading other images to the same albums works fine.

    I have tried to upload one of the problem images to the gallery here on sonnb and it worked ok, so clearly a problem local to my server.

    Any ideas/clues/things I could try?
     
  2. sonnb

    sonnb Administrator Staff Member

    So the window keep stay in uploading windows or redirect you to the album after you click save?
     
  3. rogerl

    rogerl Authorized Member Authorized

    It stays on the uploading window. The "save" button is initially greyed out, but returns after a few seconds.
     
  4. sonnb

    sonnb Administrator Staff Member

    The button effects is expected as it is behavior of XenForo. But it does not show any error or redirect you is strange. Could you share me that image and demo account on your site for trying?
     
  5. rogerl

    rogerl Authorized Member Authorized

    Email sent with details and an example file
     
    sonnb likes this.
  6. sonnb

    sonnb Administrator Staff Member

    Do you have nudity option enabled?
     
  7. rogerl

    rogerl Authorized Member Authorized

    I did have, but it is turned off now with the same result
     
  8. sonnb

    sonnb Administrator Staff Member

    I got "Security error occurred. Please press back, refresh the page, and try again." when trying to save without javascript. it does not help as no real message is there. It could help if debug mode is enabled for my IP in a short time.
     
  9. rogerl

    rogerl Authorized Member Authorized

    You seem to have a dynamic IP - I have enabled it for one ending .241 which was your latest

    I get the same result with javascript off and don't see a security error.
     
  10. sonnb

    sonnb Administrator Staff Member

    Thank you. But now I cannot upload that photo anymore. Fail for event 400KB photo.

    What is your post_max_size, memory_limit, max_file_size?
     
  11. rogerl

    rogerl Authorized Member Authorized

    post_max_size = 16M
    memory_limit = 32M
    upload_max_filesize was 10M, now increased to 16M but no change. The photo I sent you for testing was only 3M anyway, and I can successfully upload larger ones.

    The pictures you uploaded are stored on our server fine, so uploaded okay (see attached) - it is just the final stage which fails
     
  12. sonnb

    sonnb Administrator Staff Member

    Yes, they were uploaded lately, previously failed. I am trying again.
     
  13. sonnb

    sonnb Administrator Staff Member

    Do you see any error in php logs and apache logs?
     
  14. rogerl

    rogerl Authorized Member Authorized

    Nothing obvious in apache/php log and nothing in Xenforo error logs
     
  15. sonnb

    sonnb Administrator Staff Member

    When you press the Save button, actually XenGallery will not process the photo any more except nudity function. I am looking around the web to see what could be wrong but it is hard to debug since I cannot reproduce this issue. It is probably an issue with a module in Apache as I found some comments on the Google.
     
  16. sonnb

    sonnb Administrator Staff Member

    As I got "connection reset" message, I believe there are something like this in your apache logs:
     
  17. sonnb

    sonnb Administrator Staff Member

    Can you also share me your exactly Apache version, PHP version and OS if possible? I would like to try install the same environment.
     
  18. rogerl

    rogerl Authorized Member Authorized

    No segmentation faults today, but yes there were a couple yesterday.

    We use XCache and I just tried compiling without that - and the photo uploaded then, so it does look like some sort of conflict with XCache

    XCache is essential for us, and we are running with the nudity filter turned off at the moment, so why is the call to it necessary ?

    Versions: Apache 2.4.7 PHP 5.4.23 XCache 3.03 , Centos 6 64 bit.
     
  19. sonnb

    sonnb Administrator Staff Member

    No, nudity only be called if you enable it. I just mentioned for references.

    Yes, other users on the net also get confliction with XCache (not XenGallery users), I will try to see if there is any wrong with it.
     
  20. rogerl

    rogerl Authorized Member Authorized

    But nudity filter isn't enabled - so it probably isn't that
     

    Attached Files:

Share This Page