Ad Widget

Collapse

Unable to load more than one Image

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fdiaztrias
    Junior Member
    • Nov 2004
    • 9

    #1

    Unable to load more than one Image

    I'm running 1.1alpha6, and I can only load one image.

    When I try to add the second one, zabbix shows me this message:

    ERROR EXECUTING: insert into images (name,imagetype,image) values ('qwer',1,'GIF89a \0 \0÷\0\0\0\0\0€\0\0\0€\0€€\0\0\0€€\0€\0€€ÀÀÀÀÜÀ¦Êðÿ ðÔÿâ±ÿÔŽÿÆkÿ¸Hÿª%ÿª\0Ü’\0¹z\0–b\0sJ\0P2\0ÿãÔÿDZÿ«Ž ÿ?kÿsHÿW%ÿU\0ÜI\0¹=\0–1\0s%\0P\0ÿÔÔÿ±±ÿŽŽÿkkÿHHÿ% %þ\0\0Ü\0\0¹\0\0–\0\0s\0\0P\0\0ÿÔãÿ±ÇÿŽ«ÿk?ÿHsÿ%Wÿ \0UÜ\0I¹\0=–\01s\0%P\0ÿÔðÿ±âÿŽÔÿkÆÿH¸ÿ%ªÿ\0ªÜ\0’¹ \0z–\0bs\0JP\02ÿÔÿÿ±ÿÿŽÿÿkÿÿHÿÿ%ÿþ\0þÜ\0ܹ\0¹–\0–s \0sP\0PðÔÿâ±ÿÔŽÿÆkÿ¸Hÿª%ÿª\0ÿ’\0Üz\0¹b\0–J\0s2\0Pã ÔÿDZÿ«Žÿ?kÿsHÿW%ÿU\0ÿI\0Ü=\0¹1\0–%\0s\0PÔÔÿ±±ÿŽŽÿ kkÿHHÿ%%ÿ\0\0þ\0\0Ü\0\0¹\0\0–\0\0s\0\0PÔãÿ±ÇÿŽ«ÿk? ÿHsÿ%Wÿ\0Uÿ\0IÜ\0=¹\01–\0%s\0PÔðÿ±âÿŽÔÿkÆÿH¸ÿ%ªÿ\ 0ªÿ\0’Ü\0z¹\0b–\0Js\02PÔÿÿ±ÿÿŽÿÿkÿÿHÿÿ%ÿÿ\0þþ\0ÜÜ\ 0¹¹\0––\0ss\0PPÔÿð±ÿâŽÿÔkÿÆHÿ¸%ÿª\0ÿª\0Ü’\0¹z\0–b\ 0sJ\0P2Ôÿã±ÿÇŽÿ«kÿ?Hÿs%ÿW\0ÿU\0ÜI\0¹=\0–1\0s%\0PÔ ÿÔ±ÿ±ŽÿŽkÿkHÿH%ÿ%\0þ\0\0Ü\0\0¹\0\0–\0\0s\0\0P\0ãÿÔ Çÿ±«ÿŽ?ÿksÿHWÿ%Uÿ\0IÜ\0=¹\01–\0%s\0P\0ðÿÔâÿ±ÔÿŽÆÿ k¸ÿHªÿ%ªÿ\0’Ü\0z¹\0b–\0Js\02P\0ÿÿÔÿÿ±ÿÿŽÿÿkÿÿHÿÿ%þ þ\0ÜÜ\0¹¹\0––\0ss\0PP\0òòòæææÚÚÚÿÿÿ¶¶¶ªªªžžž’’’ †††zzznnnbbbVVVJJJ>>>222&&&ÿû𠤀€€ÿ\0\0\0ÿ\0ÿÿ\0\0\0ÿÿ\0ÿ\0ÿÿÿÿÿ!ù\0\0å\0,\0\0 \0\0 \0 \0@ÿ\0Ë Hp €ƒ*x??Ç!ΑCÀB†zæŒcÇnܸzøÌ©3§dI9sâX¼ 㜌.CŽ49\0Ç›7/ŒÈ“B?-ç”(ó!šå¬\\tŽŠZ°“I’&J•89êÄ(²ŽÍ¬Z·&Àó§Ø‚d{ò¬ 4fHµV•¶Õ˜BE‰»T‘^]ª0¨ÔŽóZMù•iL“*›T 6ìØ¦‚¿‚=‹VrVÊ}šÅ

    [ERROR:Cannot add image]



    Thank you all!
    Last edited by fdiaztrias; 10-03-2005, 17:15.
  • smad
    Junior Member
    • Mar 2005
    • 27

    #2
    same problem with the version alpha7.

    What did I do wrong ???

    Thanks
    Smad

    Comment

    • smad
      Junior Member
      • Mar 2005
      • 27

      #3
      Find some Help, but I can't really understand

      Hi,

      I just find some answer to my problem, but I don't really understand how to do that.
      Can you give me more details, please.

      -------------------------------
      No, it's not normal! Load images.sql into your database. Before doing this, make sure that all load_file() statements have correct full-path image names in this file.
      --------------------------------


      Thanks
      Smad

      Comment

      • smad
        Junior Member
        • Mar 2005
        • 27

        #4
        I posted the message too quicky ;-)

        So, I find that my problem is coming from the upgrade 1.0_to_1.1alpha1

        I tried to upgrade line per line, And find the problem in the last operation

        insert into images values(1,1,"Hub",load_file("Hub.png"));

        This command give a error ERROR 13 : Can't get stat of 'Hub.png'

        It's seems to be A MYSQL error ;-(
        But now I am stuck, I can't create Image.

        Help

        Comment

        Working...