Jump to content

srebella

Members
  • Posts

    6
  • Joined

  • Last visited

Profile Information

  • Activity
    Web development agency

srebella's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello i am having same problem, i know it is an old task. Let me explain here what it is happening. First of all my permission of images are: <image_types xlink:href="http://127.0.0.1:81/prestashop/api/image_types" get="true" put="true" post="true" delete="true" head="true"> <description xlink:href="http://127.0.0.1:81/prestashop/api/image_types" get="true" put="true" post="true" delete="true" head="true">The image types</description> <schema xlink:href="http://127.0.0.1:81/prestashop/api/image_types?schema=blank" type="blank"/> <schema xlink:href="http://127.0.0.1:81/prestashop/api/image_types?schema=synopsis" type="synopsis"/> </image_types> <images xlink:href="http://127.0.0.1:81/prestashop/api/images" get="true" put="true" post="true" delete="true" head="true"> <description xlink:href="http://127.0.0.1:81/prestashop/api/images" get="true" put="true" post="true" delete="true" head="true">The images</description> </images> I would like to insert a new image on a recently created product. The Post header looks like this POST /prestashop/api/images/products/1 HTTP/1.1 Content-Length: 43685 Content-Type: application/x-www-form-urlencoded; charset=UTF-8 Host: 127.0.0.1:81 Proxy-Connection: Keep-Alive User-Agent: Apache-HttpClient/4.2.1 (java 1.5) Authorization: Basic .. image=0xFFD8FFE000104A46494600010101012C012C0000FFE20C584943435F50524F46494C4500000100000C484C696E6F021000006D6E74725247422058595A2007CE00020009000600310000616373704D5346540000000049454320735247420000000000000000000000000000F6D6000100000000D32D4850202000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001163707274000001500000003364657363000001840000006C77747074000001F000000014626B707400000204000000147258595A00000218000000146758595A0000022C000000146258595A0000024000000014646D6E640000025400000070646D6464000002C400000088767565640000034C0000008676696577000003D4000000246C756D69000003F8000000146D6561730000040C0000002474656368000004300000000C725452430000043C0000080C675452430000043C0000080C625452430000043C0000080C7465787400000000436F70797269676874202863292031393938204865776C6574742D5061636B61726420436F6D70616E790000646573630000000000000012735247422049454336313936362D322E31000000000000000000000012735247422049454336313936362D322E31000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000058595A20000000000000F35100010000000116CC58595A200000000000000000000000000000000058595A200000000000006FA2000038F50000039058595A2000000000000062990000B785000018DA58595A2000000000000024A000000F840000B6CF64657363000000000000001649454320687474703A2F2F7777772E6965632E636800000000000000000000001649454320687474703A2F2F7777772E6965632E63680000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064657363000000000000002E4945432036313936362D322E312044656661756C742052474220636F6C6F7572207370616365202D207352474200000000000000000000002E4945432036313936362D322E312044656661756C742052474220636F6C6F7572207370616365202D20735247420000000000000000000000000000000000000000000064657363000000000000002C5265666572656E63652056696577696E6720436F6E646974696F6E20696E2049454336313936362D322E3100000000000000000000002C5265666572656E63652056696577696E6720436F6E646974696F6E20696E2049454336313936362D322E31000000000000000000000000000000000000000000000000000076696577000000000013A4FE00145F2E0010CF140003EDCC0004130B00035C9E0000000158595A2000000000004C09560050000000571FE76D6561730000000000000001000000000000000000000000000000000000028F0000000273696720000000004352542063757276000000000000040000000005000A000F00140019001E00230028002D00320037003B00400045004A004F00540059005E00630068006D00720077007C00810086008B00900095009A009F00A400A900AE00B200B700BC00C100C600CB00D000D500DB00E000E500EB00F000F600FB01010107010D01130119011F0125012B01320138013E0145014C0152015901600167016E0175017C0183018B0192019A01A101A901B101B901C101C901D101D901E101E901F201FA0203020C0214021D0226022F02380241024B0254025D02670271027A0284028E029802A202AC02B602C102CB02D502E002EB02F50300030B03160321032D03380343034F035A03660372037E038A039603A203AE03BA03C703D303E003EC03F9040604130420042D043B0448045504630471047E048C049A04A804B604C404D304E104F004FE050D051C052B053A05490558056705770586059605A605B505C505D505E505F6060606160627063706480659066A067B068C069D06AF06C006D106E306F507070719072B073D074F076107740786079907AC07BF07D207E507F8080B081F08320846085A086E0882089608AA08BE08D208E708FB09100925093A094F09640979098F09A409BA09CF0 What i receive from server is HTTP/1.1 500 Internal Server Error Date: Fri, 17 May 2013 18:51:54 GMT Server: Apache/2.2.22 (Win64) PHP/5.4.3 Vary: Authorization,Host X-Powered-By: PrestaShop Webservice Access-Time: 1368816714 PSWS-Version: 1.5.4.0 Execution-Time: 0.013 Content-Length: 230 Connection: close Content-Type: text/xml;charset=utf-8 <?xml version="1.0" encoding="UTF-8"?> <prestashop xmlns:xlink="http://www.w3.org/1999/xlink"> <errors> <error> <code><![CDATA[66]]></code> <message><![CDATA[unable to save this image]]></message> </error> </errors> </prestashop> Do you see something missing? If yes/no please reply someone!
  2. Bueno que bien que alguien lo haya hecho antes que yo, me deja mas tranquilo.. la verdad recurro a tu ayuda porque no hay muchos foros explicando esta información. Luego te mandaré un mail haciendo consultas mas firmes, si prefieres.. tampoco no quiero abusar de tu bondad, Saludos
  3. Hola David, gracias por responder. Mira el sistema de gestion esta desarrollado en Delphi y tiene una base de datos en Microsoft SQL server. Segun estuve viendo el Prestashop viene con una interfaz de webservice que permite hacer CRUD a los datos de la base en MySQL (de hecho funciona muy bien). Crees que es posible generar una interfaz, entre las dos bases de datos usando lo que mecione? Mi idea es tomar datos desde la base de MSSQL, modificarlos para poder ingresarlos a la base del prestashop atravez del websevice del mismo. Ojala haya sido claro. Por favor cuentame en que me estoy metiendo. Saludos
  4. Hello i am interested in looking your code, i am developing similar task.
  5. Estoy por comenzar un desarrollo, parecido a este topic. El caso es un progama de gestion comercial que posee una base de datos en MSSQL, y se quiere ampliar con el prestashop de forma online. Crees que se puede desarrollar, mas alla de los inconvenientes de trabajar con una base de datos en una red privada?
  6. Hola si alguien pudo resolver este tema, por favor si me puede pasar alguna idea se lo agradezco.
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More