Giter VIP home page Giter VIP logo

Comments (4)

endroid avatar endroid commented on July 18, 2024

Hi @davidromani thank you for your question. In later versions of 1.x and throughout 2.x the bundle can be found inside the endroid/qr-code library. So you can install that library and register the bundle found there in your kernel. Please let me know if both are incompatible with your project. If your project is really too old maybe we can make a change on the 1.x or 2.x branch to make it work.

FYI: the old endroid/qrcode-bundle was abandoned a year ago and removed half a year ago. The bundle was re-introduced in 3.x mainly to take advantage of Symfony Flex. In the meanwhile I also created a code sanctuary to handle such cases in the future and make sure old tags are not lost when cleaning up my account.

from qr-code-bundle.

davidromani avatar davidromani commented on July 18, 2024

Thx @endroid but still not working, now I have a new problem. Check my steps:

  1. I've replaced "endroid/qrcode-bundle": "^1.0" by "endroid/qr-code": "^1.0" in composer.json
  2. I've executed a composer update with this result:
$ composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 2 updates, 1 removal
  - Removing endroid/qrcode (1.9.3)
  - Installing endroid/qr-code (1.9.3): Downloading (100%)         
Writing lock file
  1. I've replaced Endroid\Bundle\QrCodeBundle\EndroidQrCodeBundle() by Endroid\QrCode\Bundle\EndroidQrCodeBundle() in AppKernel.php

And now I'm getting this error 500 The parameter "endroid_qrcode.extension" must be defined. My configuration doesn't change, is the same, and it looks like this:

# app/config/config.yml
endroid_qr_code:
    size:                   "%qr_code_size%"
    padding:                "%qr_code_padding%"
    extension:              "%qr_code_extension%"
    error_correction_level: "%qr_code_error_correction_level%"
    foreground_color:       "%qr_code_foreground%"
    background_color:       "%qr_code_background%"

from qr-code-bundle.

endroid avatar endroid commented on July 18, 2024

Hi @davidromani could you give some more debug information, for instance the file / line / backtrace of where the error occurs? I've looked in the bundle in the 1.9.3 release but I could not find a endroid_qrcode.extension parameter or requirement, so it looks like something in your configuration but I can not reproduce your error, so I'm not sure.

from qr-code-bundle.

davidromani avatar davidromani commented on July 18, 2024

Solved.

It was an error in my code, sorry.

from qr-code-bundle.

Related Issues (20)

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.