Problems with simplegallery after upgrade!  Bottom

Go to page 1 - 2 [+1]:

  • so, upgraded zikula now when i try to upload files into SG i either just get "Upload Failed:1" or i get "File type not supported: application/octet-stream
    Upload failed" well i have even checked the headers for the image they are not application/octet-stream. im not really sure if this is a SG problem or a FileUtil problem or just my install gone haywire, i have tried re-loading the module getting all the files again from the extdb, no dice.

    before you ask, yes i have checked all the perms even gone so far as to 777 them to be sure they are writeable.

    has anyone else experienced this? ive been banging my head off the wall for a couple hours now poking around in the code and cant really find anything wrong.
  • It's not your install, I'm having the same problem, I was going to submit a ticket, but haven't gotten to it yet.

    --
    Home Page | Find on Facebook | Follow on Twitter
  • try a different theme? (wondering if the theme headers might be an issue? but I'm stoo-pid about this stuff.)
  • That mean it's working for you Craig?

    --
    Home Page | Find on Facebook | Follow on Twitter
  • I'm having the same issues with SG and 1.2.3.

    I get the "Upload failed: 1" error message when trying to add an image as well. The image does not add to the gallery but it does in fact upload to the server.

    Does SG work for anyone in 1.2.*?

    --
    [ stevencopley.com ]
  • I opened a ticket. Hopefully Giacomo will take a look. :)

    http://code.zikula.org/simplegallery/ticket/21

    --
    [ stevencopley.com ]
  • I contacted James (Giacomo) on his website too!

    http://www.giacomogatelli.it/index.html

    Wow, I have 1000 posts! I should get a cookie or something.

    --
    [ stevencopley.com ]
  • Sorry guys, I didn't notice this thread icon_frown
    Steven, thanks for the ticket and the email!

    For a quick fix replace:

    Code

    if (!empty($msg )) {

    with

    Code

    if (strlen( $msg ) > 2) {

    on line 378 and 422 of modules/SimpleGallery/classes/Image.class.php

    This should fix it! Let me know if you have other problems icon_wink
    I'll try to release a new version (with gettext and this fix) this weekend.

    Giacomo

    --
    Zikula Italia
    SimpleGallery
  • I love you James, or do you prefer Giacomo?

    --
    [ stevencopley.com ]
  • I just wanted to confirm that fix did work!

    Thanks a lot for such a simple and awesome module!

    --
    [ stevencopley.com ]
  • jaenosjelantru

    Wow, I have 1000 posts! I should get a cookie or something.

    I haven't gotten one yet and I have 6x the posts :P

    --
    Home Page | Find on Facebook | Follow on Twitter
  • Hi,

    Sorry for my English icon_razz

    I have ZK 1.2.3 and SG 1.2. When I click on "Add New Image" does not happen no action. Do not show up any confusion. Any ideas?

    Arthens solution does not work for me.
  • Nobody knows how to help me?
  • Did you check to ensure the directory is writable? Did you see if the files are actually going to the server, just not being added to the DB? Did you ensure that Arthens solution was implemented correctly? It solved my issues.

    --
    [ stevencopley.com ]
  • Yes, the directories are writable. Yes, the files are actually. Yes, Arthens solution was implemented correctly.

    Photos do not add to the database. I do not have any communication at the same time.

Go to page 1 - 2 [+1]:

This list is based on users active over the last 60 minutes.