Giter Site home page Giter Site logo

appexample's People

Contributors

brentrobert avatar chadwcarlson avatar christian-rades avatar crell avatar flohessling avatar hero10001 avatar keulinho avatar mitelg avatar mkrafeld avatar moritzkrafeld avatar otaviojava avatar sebastianfranze avatar shyim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

appexample's Issues

Cannot autowire argument $client

Hi,

im trying out App-Development and am so far done with a local docker-development-setup.
The ExampleApp can be installed/registered. Using the routes though there is always "500 Internal server error".
First with message Cannot autowire argument $client of "App\Controller\OrderController::iframeOrderList()": it references class "App\SwagAppsystem\Client" but no such service exists.
If you change constructor of Client-Class from private to public the next error shows same message for Credentials and when you put the constructor from Credentials to public instead of private it then gives error about "shopUrl" type-hinted by string should be configured explicitly.

What am i doing wrong?

Register the app

I am facing an issue, when trying to install the app in shopware ssh server with bin/console app:refresh --activate command but the response is:
cURL error 7: Failed to connect to localhost port 7777: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://localhost:7777/registration?shop-id=Y3eozL4A4tzZXger&shop-url=http://shopware&timestamp=1629203256

When looking deeper in the Registration controller the header parameter $signature = $request->headers->get('shopware-app-signature'); is returnin null?

I have added the secret tag with a secret string on manifest.xml too?

Cannot autowire argument $client of OrderController::iframeOrderList()

Hi,
I'm trying to get the example app to run but I'm having some difficulties. Right now if I try to open the app in the shopware 6 admin I'm getting a rescue space-cat and in the actual app page I get the following exception:

Cannot autowire argument $client of "App\Controller\OrderController::iframeOrderList()": it references class "App\SwagAppsystem\Client" but no such service exists.

I'm running
shopware/development rev 2481fea (22. Jan. 2021, 09:12 MEZ),
php 7.3.14
current master of this AppExample (c7da260)

I'm not familar with symfony yet and therefore i have no clue how to fix this issue so any help would be appreciated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.