Jump to content

Search the Community

Showing results for tags '400'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community Help and Support
    • PrestaShop Download
    • PrestaShop Marketplace
  • News and Announcements
    • PrestaShop news and releases
    • PrestaShop Beta
    • PrestaShop Blogs
    • PrestaShop Meetups
  • International community (English)
    • General topics
    • PrestaShop Merchants
    • PrestaShop Developers
    • Taxes, Translations & Laws
    • Community Modules and Themes
  • Forum francophone
    • Discussion générale
    • Aide et support communautaire
    • PrestaShop pour les marchands
    • PrestaShop pour les développeurs
    • Adaptation aux lois Québécoises
    • Modules et thèmes gratuits
    • Modules et thèmes payants
  • Foro en Español
    • Discusión general
    • Soporte de la comunidad y ayuda
    • Comerciantes PrestaShop
    • Desarrolladores PrestaShop
    • Módulos y plantillas gratuitas
  • Forum italiano
    • Forum generale
    • Aiuto e supporto della Community
    • Commercianti PrestaShop
    • Sviluppatori PrestaShop
    • Aspetti legali sull'eCommerce
    • Moduli e template gratuiti
  • Deutsches Forum
    • Generelle Fragen
    • Support und Hilfe aus der Community
    • e-Commerce/Versand-Handel mit Prestashop
    • Prestashop-Entwickler
    • Anpassung an deutsches Recht
    • Kostenlose Module und Templates
    • Generelle Fragen Copy
  • Nederlandstalig forum
    • Algemeen
    • Hulp en ondersteuning, van en voor de community
    • PrestaShop-winkeliers
    • PrestaShop-ontwikkelaars
    • Het aanpassen van PrestaShop
    • Gratis modules en templates
  • Fórum em Português
    • Fórum Geral
    • Ajuda e Suporte da Comunidade
    • Lojistas que utilizam o PrestaShop
    • Desenvolvedores PrestaShop
    • Legislação específica
    • Módulos e temas gratuitos
  • Polskie forum
    • Forum ogólne
    • Wsparcie i pomoc użytkowników
    • Oferty twórców PrestaShop
    • Deweloperzy PrestaShop
    • Darmowe Moduły i Szablony
  • Dansk forum
    • Generelt forum
    • Hjælp og support fra fællesskabet
    • PrestaShop for købmænd
    • PrestaShop for udviklere
    • Love og regler
    • Gratis moduler og temaer
  • České fórum
    • Instalasi, Konfigurasi dan upgrade
    • Obecná diskuze
    • Bezplatné moduly a šablony
    • PrestaShop vývojáři
    • PrestaShop obchodníci
  • Bahasa Indonesia
    • Diskusi Umum
    • Podpora a pomoc komunity
    • Laporan Bug
    • Jasa, Promosi & Lowongan Kerja
  • Svenskt forum
    • Allmän diskussion
    • Installation, konfigurering och uppdatering
  • Forumul românesc
    • Discuţii generale
    • Instalare, configurare şi upgrade
  • Pусский язык
    • Обсуждение скрипта
    • Установка, Настройка, Обновление
    • Прием багов
  • Slovenské fórum
    • Všeobecná diskusia
    • Podpora a pomoc komunity
    • PrestaShop obchodníci
    • PrestaShop vývojári
    • Bezplatné moduly a šablóny
  • Türkçe Topluluğu
    • Genel Konular
    • Topluluk desteği ve yardım
    • PrestaShop Tüccarları
    • Prestashop Geliştiricileri
    • Ücretsiz Modül ve Temalar
  • Diễn đàn tiếng Việt
    • Thảo luận chung
    • Hỗ trợ từ cộng đồng
    • Dành cho chủ doanh nghiệp / cửa hàng
    • Dành cho lập trình viên
  • PrestaShop Communities
    • اللغه العربيه [Arabic]
    • Ελληνικά [Greek]
    • עִבְרִית [Hebrew]
    • 中文
    • Magyar [Hungarian]
    • 日本語 [Japanese]
    • Lietuviškai [Lithuanian]
    • انجمن فارسی [Persian]
    • ไทย [Thai]
    • Malaysia [Malaysian]
    • Eesti [Estonian]
    • Slovenščina [Slovenian]
    • Српски [Serbian]
  • IP. Board Forum
    • IP. Board Forum Questions and Issues
  • Archive
    • Zapłać Moduły i Szablony [ARCHIVE]
    • Moduly, upravy a dizajn [ARCHIVE]
    • Phát triển và các mô-đun [ARCHIVE]
    • Yazılım, Modül ve Tema [ARCHIVE]
    • Модули, Шаблоны [ARCHIVE]
    • Module şi teme [ARCHIVE]
    • Pengembangan dan Modul [ARCHIVE]
    • Moduler och teman [ARCHIVE]
    • Ecommerce x PrestaShop [ARCHIVE BOARD]
    • Vývoj a moduly [ARCHIVE]
    • Kostenpflichtige Module, Templates [ARCHIVE]
    • Módulos y temas pagos [ARCHIVE]
    • Módulos e temas pagos [ARCHIVE]
    • Servizi commerciali [ARCHIVE]
    • Forum - Feedback Contributor
    • PrestaShop Cloud

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 4 results

  1. Hi, i've necessity to manage multiple warehouse movements, but with actual webservice i can't do all action that i need, so i've started a new webservice, based on this resource: http://webkul.com/blog/how-to-add-new-tables-in-rest-api-of-prestashop/ I've created the service, but i've this error: This call to PrestaShop Web Services failed and returned an HTTP status of 400. That means: Bad Request. when i've checked the schema, i saw that the schema response is empty. Have you some suggestions on this problem? Thanks for your time. Best regards.
  2. Hi guys i'm trying to add a new product via web services using the PSWebServiceLibrary, i tried to read other posts in this forum but i have problems. That's my code: function AddProduct($root_path, $authentication_key, $id, $name, $desc, $cat, $qta, $price){ try{ $webService = CreateWebServer($root_path,$authentication_key); $xml = $webService->get(array('resource' => 'products?schema=synopsis')); }catch(PrestashopWebserviceException $ex){ echo $ex->getMessage(); return -1; } $resources = $xml->children()->children(); unset($resources->position_in_category); unset($resources->manufacturer_name); $resources->price = floatval($price); $resources->quantity = intval($qta); $resources->link_rewrite->language[0][0] = str_replace(' ','-',$name); $resources->name->language[0][0] = $name; $resources->description->language[0][0] = $desc; $node= dom_import_simplexml($resources->description->language[0][0]); $no = $node->ownerDocument; $node->appendChild($no->createCDATASection($desc)); $resources->associations = ''; //echo $xml->asXML(); try{ $opt = array('resource' => 'products'); $opt['postXml'] = $xml->asXML(); $xml = $webService->add($opt); } catch(PrestaShopWebserviceException $ex) { echo $ex->getMessage(); } return 0; } When I run this funcion it gives me error: I think there's a sort of problem with the "required=true" parameters, but i don't know what to do. Thanks.
  3. Buenas, Pues estaba mirando para modificar las imágenes, cuando me salió este error Bad Request Your browser sent a request that this server could not understand. Size of a request header field exceeds server limit. Cookie: 0ce3beb550fcd80fa4e27.........(muchisimos codigos mas aqui) y ahora no me deja acceder de ningún modo a mi BackOffice. Sin embargo si que puedo ver la web, y navegar por ella. Gracias.
  4. Hola a todos, el problema es el siguiente: He utilizado los archivos de ejemplo de los web services (0-CustomerList, 1-Retrieve, 2-Update ,3-Create y 4-Delete) y he echo los minimos cambios para poder ver, actualizar y crear nuevos Grupos. El echo es que al crear un nuevo grupo me salta el siguiente error: 'This call to PrestaShop Web Services failed and returned an HTTP status of 400. That means: Bad Request.' HTTP REQUEST HEADER: GET /prestashop/api/groups?schema=blank HTTP/1.1 Authorization: Basic WUw5QkQ0RWUTlUOVpHSFkxOxxERVlTWVdRWUw5QkQpHTM6 Host: www.myshop.es Accept: */* HTPP RESPONSE HEADER: HTTP/1.1 200 OK Date: Fri, 16 Dec 2011 07:36:30 GMT Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.17 X-Powered-By: PrestaShop Webservice Access-Time: 1324020990 PSWS-Version: 1.4.6.2 Execution-Time: 0.008 Content-Sha1: 85c26c1e28db4458a1e28db441e28db448d53143b Content-Length: 252 Content-Type: text/xml;charset=utf-8 RETURN HTTP BODY: <?xml version="1.0" encoding="UTF-8"?> <prestashop xmlns:xlink="http://www.w3.org/1999/xlink"> <group> <id></id> <reduction></reduction> <price_display_method></price_display_method> <name><language id="3"></language></name> </group> </prestashop> HTTP REQUEST HEADER: POST /prestashop/api/groups HTTP/1.1 Authorization: Basic VllTlUOVpHSFOVpHSFkxOTlETlUOVpHSFWUTlUOVpHSFTM6 Host: www.myshop.es Accept: */* Content-Length: 243 Content-Type: application/x-www-form-urlencoded HTTP RESPONSE HEADER: HTTP/1.1 400 Bad Request Date: Fri, 16 Dec 2011 07:36:30 GMT Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.17 X-Powered-By: PrestaShop Webservice Access-Time: 1324020990 PSWS-Version: 1.4.6.2 Execution-Time: 0.008 Content-Length: 241 Connection: close Content-Type: text/xml;charset=utf-8 XML SENT: xml=<?xml version="1.0" encoding="UTF-8"?> <prestashop xmlns:xlink="http://www.w3.org/1999/xlink"> <group> <id>25</id> <reduction>5.00</reduction> <price_display_method>0</price_display_method> <name>New_Group</name> </group> </prestashop> RETURN HTTP BODY: <?xml version="1.0" encoding="UTF-8"?> <prestashop xmlns:xlink="http://www.w3.org/1999/xlink"> <errors> <error> <message><![CDATA[internal error. To see this error please display the PHP errors.]]></message> </error> </errors> </prestashop> Other error This call to PrestaShop Web Services failed and returned an HTTP status of 400. That means: Bad Request. ¿Alguien sabe que es lo que hago mal? ¿Alguna sugerencia? Gracias de antemano. 3-Creategroup.php
×
×
  • Create New...