Giter Site home page Giter Site logo

Cannot install about australia-mage2 HOT 13 CLOSED

fontis avatar fontis commented on August 10, 2024
Cannot install

from australia-mage2.

Comments (13)

chnorton avatar chnorton commented on August 10, 2024 1

@olibode @sanker2008 @brendanbell @kartguru We've just pushed a new version, which updates the Composer module dependencies and should address the installation issue. Please give it a shot and let us know if there are any other problems.

from australia-mage2.

chnorton avatar chnorton commented on August 10, 2024

Have you tried installing the extension through Composer? Magento 2 has specifically been designed for extensions to be installed (and updated) through Composer:

http://devdocs.magento.com/guides/v2.0/extension-dev-guide/intro/intro-composer.html

More information about how to install via Composer can be found on our website:

https://www.fontis.com.au/composer-faq

Could you try installing through Composer and let me know if you're still running into this issue?

from australia-mage2.

olibode avatar olibode commented on August 10, 2024

Hi, I'm unable to install using composer on Magento 2.1 because of a dependency issues.

Problem 1
- Installation request for fontis/australia-mage2 0.2.0 -> satisfiable by fontis/australia-mage2[0.2.0].
- fontis/australia-mage2 0.2.0 requires magento/module-checkout 100.0.* -> no matching package found.

Magento 2.1 composer.json is
"magento/module-checkout": "100.1.0",

from australia-mage2.

sanker2008 avatar sanker2008 commented on August 10, 2024

After runing command:
composer require fontis/australia-mage2

I got these:

[InvalidArgumentException]
Could not find package fontis/australia-mage2 at any version for your minimum-stability (stable). Check the package spelling or your minimum-stability

After runing command:
composer update

I got these:

Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- The requested package magento/module-checkout could not be found in any version, there may be a typo in the package name.
Problem 2
- The requested package magento/module-directory could not be found in any version, there may be a typo in the package name.
Problem 3
- The requested package magento/module-payment could not be found in any version, there may be a typo in the package name.
Problem 4
- The requested package magento/module-store could not be found in any version, there may be a typo in the package name.
Problem 5
- The requested package magento/framework could not be found in any version, there may be a typo in the package name.
Problem 6
- Installation request for fontis/customergroupaccess-mage2 1.0.* -> satisfiable by fontis/customergroupaccess-mage2[1.0.0].
- fontis/customergroupaccess-mage2 1.0.0 requires magento/framework 100.* -> no matching package found.

Potential causes:

Any help?

from australia-mage2.

sanker2008 avatar sanker2008 commented on August 10, 2024

Copy the code to:
app/code/Fontis/Australia
app/code/Fontis/CustomerGroupAccess

then I successed runing: php bin/magento setup:upgrade
the extension installed!
But I got error report when I open the cart page or checkout page:

a:4:{i:0;s:37:"Object DOMDocument should be created.";i:1;s:13792:"#0 /var/www/html/mt2/200/vendor/magento/framework/View/Element/UiComponent/Config/Reader.php(95): Magento\Framework\View\Element\UiComponent\Config\DomMerger->getDom()
#1 /var/www/html/mt2/200/vendor/magento/module-ui/Model/Manager.php(261): Magento\Framework\View\Element\UiComponent\Config\Reader->read()
...
..
.

from australia-mage2.

brendanbell avatar brendanbell commented on August 10, 2024

Hi,

Is this package compatible with Magento ver. 2.1.2

Regards
Brendan

from australia-mage2.

kartguru avatar kartguru commented on August 10, 2024

I too have really struggled to get this up and running. Has anyone successfully overcome some of these issues?

Cheers

from australia-mage2.

lloydhazlett avatar lloydhazlett commented on August 10, 2024

@olibode @sanker2008 @brendanbell @kartguru Thank you all for letting us know of the problems you've encountered while installing the extension. I can confirm that we have identified a compatibility issue specifically with Magento 2.1 and we plan to release an update that should address it very soon.

from australia-mage2.

brendanbell avatar brendanbell commented on August 10, 2024

Hi Chris,

Thanks for the update. I have the following magento version 2.1.2

I have run from shell the following
composer require fontis/australia

this returned the following

`Using version ^3.1 for fontis/australia
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)

  • Removing webshopapps/module-matrixrate (20.0.6)
    Removing Webshopapps/Matrixrate

  • Removing symfony/stopwatch (v3.1.6)

  • Installing symfony/stopwatch (v3.1.5)
    Loading from cache

  • Removing symfony/process (v2.8.13)

  • Installing symfony/process (v2.8.12)
    Loading from cache

  • Removing symfony/finder (v3.1.6)

  • Installing symfony/finder (v3.1.5)
    Loading from cache

  • Removing symfony/filesystem (v2.8.13)

  • Installing symfony/filesystem (v2.8.12)
    Loading from cache

  • Removing symfony/event-dispatcher (v2.8.13)

  • Installing symfony/event-dispatcher (v2.8.12)
    Loading from cache

  • Removing fabpot/php-cs-fixer (v1.12.4)

  • Installing fabpot/php-cs-fixer (v1.12.2)
    Loading from cache

  • Removing seld/jsonlint (1.5.0)

  • Installing seld/jsonlint (1.4.1)
    Loading from cache

  • Removing phpunit/php-token-stream (1.4.9)

  • Installing phpunit/php-token-stream (1.4.8)
    Loading from cache

  • Removing sebastian/recursion-context (1.0.4)

  • Installing sebastian/recursion-context (1.0.2)
    Loading from cache

  • Removing sebastian/comparator (1.2.1)

  • Installing sebastian/comparator (1.2.0)
    Loading from cache

  • Removing symfony/config (v2.8.13)

  • Installing symfony/config (v2.8.12)
    Loading from cache

  • Removing symfony/dependency-injection (v2.8.13)

  • Installing symfony/dependency-injection (v2.8.12)
    Loading from cache

  • Removing symfony/yaml (v2.8.13)

  • Installing symfony/yaml (v2.8.12)
    Loading from cache

  • Installing fontis/composer-autoloader (2.0.3)
    Loading from cache

  • Installing guzzle/guzzle (v3.9.3)
    Loading from cache

  • Installing fontis/auspost-api-php (1.0.4)
    Loading from cache

  • Installing fontis/australia (3.1.6)
    Loading from cache
    guzzle/guzzle suggests installing guzzlehttp/guzzle (Guzzle 5 has moved to a new package name. The package you have installed, Guzzle 3, is deprecated.)
    Package fabpot/php-cs-fixer is abandoned, you should avoid using it. Use friendsofphp/php-cs-fixer instead.
    Package guzzle/guzzle is abandoned, you should avoid using it. Use guzzlehttp/guzzle instead.
    Generating autoload files'

I then ran the following
php magento setup:upgrade

However I cannot see in the module list Fontis.

My question is this:
I created an account on fontis, do I need to update the composer.json file to reflect the
"Authorization: Token xxx-xxxx-xxxxxxxxx--xxx-x-x-x-x"

thanks again for your work on this extension

Brendan

from australia-mage2.

chnorton avatar chnorton commented on August 10, 2024

@brendanbell Yes, you will need to add the Authorization config into your composer.json file. You will also need to add the Magento 2 version of the Australia extension to your account to get access to it. After this you will be able to view the documentation for installing and setting it up.

The main thing is that the correct command to add it would be composer require fontis/australia-mage2.

Hope that helps!

from australia-mage2.

brendanbell avatar brendanbell commented on August 10, 2024

Hi Chris,

  1. Updated composer.json file (see attached text file)
  2. Ran composer update
  3. Placed an order for the fontis extension
  4. ran composer require fontis/australia-mage2

Received the following error:

[InvalidArgumentException]
Could not find package fontis/australia-mage2 at any version for your minimum-stability (alpha). Check the package spelling or your minimum-stability

composer.txt

from australia-mage2.

chnorton avatar chnorton commented on August 10, 2024

@brendanbell This looks to have been an issue on our end - would you mind trying again? You should be able to run composer require fontis/australia-mage2 now and have it pick up that the extension is available.

from australia-mage2.

kartguru avatar kartguru commented on August 10, 2024

It appears to be working now for me though I haven't completed my dev site to process any orders.

Thanks for your help @chnorton and team

from australia-mage2.

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.