Giter VIP home page Giter VIP logo

Comments (7)

alphalemon avatar alphalemon commented on July 18, 2024

Hi,
I've just tested the packages fetching and it works for me. I've downloaded the last release without vendors from alphalemon.com, the last composer and run the update command.

Did you make something different?

from alphalemoncmsbundle.

akarso avatar akarso commented on July 18, 2024

Nope, nothing different AFAIK, symfony 2.1.2 without vendors, installed vendors, made changes to composer.json, run update, and the result is:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package doctrine/common dev-bugfix as 2.3.0 could not be fou
nd.
  Problem 2
    - Installation request for alphalemon/alphalemon-cms-bundle dev-master -> sa
tisfiable by alphalemon/alphalemon-cms-bundle dev-master.
    - alphalemon/alphalemon-cms-bundle dev-master requires doctrine/common dev-b
ugfix as 2.3.0 -> no matching package found.
  Problem 3
    - alphalemon/alphalemon-cms-bundle dev-master requires doctrine/common dev-b
ugfix as 2.3.0 -> no matching package found.
    - alphalemon/alphalemon-cms-installer-bundle dev-master requires alphalemon/
alphalemon-cms-bundle dev-master -> satisfiable by alphalemon/alphalemon-cms-bun
dle dev-master.
    - Installation request for alphalemon/alphalemon-cms-installer-bundle dev-ma
ster -> satisfiable by alphalemon/alphalemon-cms-installer-bundle dev-master.

Windows 7, XAMPP.

Full composer.json below. Doctrine/common is "2.3.0" because it's the only way for composer to work, otherwise it raises an error " Problem 1
- The requested package doctrine/common dev-bugfix as 2.3.0 could not be found."

{
    "name": "symfony/framework-standard-edition",
    "description": "The \"Symfony Standard Edition\" distribution",
    "autoload": {
        "psr-0": { "": "src/" }
    },
    "repositories": [
        {
            "type": "composer",
            "url": "http://apps.alphalemon.com/"
        }
    ],
    "require": {
        "php": ">=5.3.3",
        "symfony/symfony": "2.1.*",
        "doctrine/orm": ">=2.2.3,<2.4-dev",
        "doctrine/doctrine-bundle": "1.0.*",
        "twig/extensions": "1.0.*",
        "symfony/assetic-bundle": "2.1.*",
        "symfony/swiftmailer-bundle": "2.1.*",
        "symfony/monolog-bundle": "2.1.*",
        "sensio/distribution-bundle": "2.1.*",
        "sensio/framework-extra-bundle": "2.1.*",
        "sensio/generator-bundle": "2.1.*",
        "jms/security-extra-bundle": "1.2.*",
        "jms/di-extra-bundle": "1.1.*",     
        "imagine/imagine": ">=0.2",
        "propel/propel-bundle": "1.1.x-dev",
        "propel/propel1": "1.6.*",
        "phing/phing": "2.4.*",
        "willdurand/propel-typehintable-behavior": "dev-master",
        "mikey179/vfsstream": "dev-master",
        "alphalemon/alphalemon-bootstrap-bundle": "dev-master",
        "alphalemon/theme-engine-bundle": "dev-master",
        "alphalemon/elfinder-bundle": "dev-master",
        "alphalemon/business-website-theme-bundle": "dev-master",
        "doctrine/common": "2.3.0",     
        "alphalemon/alphalemon-cms-bundle": "dev-master",
        "alphalemon/alphalemon-cms-installer-bundle": "dev-master"
    },
    "scripts": {
        "post-install-cmd": [
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
        ],
        "post-update-cmd": [
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
        ]
    },
    "minimum-stability": "dev",
    "extra": {
        "symfony-app-dir": "app",
        "symfony-web-dir": "web"
    }
}

from alphalemoncmsbundle.

alphalemon avatar alphalemon commented on July 18, 2024

Hi,
that composer.json has a mistake: to use the dev-bugfix you must change the repositories section as follows:

"repositories": [
{
"type": "composer",
"url": "http://apps.alphalemon.com/"
},
{
"type": "git",
"url": "https://github.com/alphalemon/common"
}
]

However the dev-bugfix just fixes a bug that impacts on testing, see doctrine/common#197, so you can safety use the official repo as you did in your composer.json file.

I've tried alphalemon on windows7 using xampp and I've noticed that it is very slowly when working in alcms_dev env while in alcms env it works fine: is that the same for you? Have you find any solution? Feel free to ping me in pvt for this, if you can.

Thanks!

from alphalemoncmsbundle.

akarso avatar akarso commented on July 18, 2024

Works much better now, thnx!

from alphalemoncmsbundle.

burtwald avatar burtwald commented on July 18, 2024

Hi I would updated your website if possible as I had this problem and it took me a while to find this and get resolved.

Cheers

from alphalemoncmsbundle.

alphalemon avatar alphalemon commented on July 18, 2024

Hi,
could you try to install from the v1.0.0-RC AlphaLemon CMS Sandbox branch:

git clone -b v1.0.0-RC https://github.com/alphalemon/AlphaLemonCmsSandbox.git

If you want to use the AlphaLemon CMS bundle in your own app, please point both alphalemon-cms and installer to dev-v1.0.0-RC branch in your composer.json

Let me know if that solves

from alphalemoncmsbundle.

burtwald avatar burtwald commented on July 18, 2024

Thanks for the response, I originally installed symfony then tried to include the AlphaLemon CMS in this application, this was where I had similar problems to this post. As it was a new application I used the Sandbox and this worked as expected.

Cheers

from alphalemoncmsbundle.

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.