Comments (22)
YES, it worked. composer require offline/oc-microcart-plugin 1.0.4
updated MicroCart to version 1.0.3, which is probably retrieved from the version.yaml.
But I don't think that's how the composer update was designed.
from oc-microcart-plugin.
I've just tagged a new release. Could you try and run a composer update
?
Also, if the plugin still does not show up, make sure to check your system.log
and see if any errors are in there.
from oc-microcart-plugin.
I removed fully the plugin and performed a new installation. I have now a clean 1.0.1 version, it looks like the plugin is locked to the version 1.0.1. No entries in system log.
Using version ^1.0 for offline/oc-microcart-plugin
./composer.json has been updated
Running composer update offline/oc-microcart-plugin
Loading composer repositories with package information
Updating dependencies
Lock file operations: 12 installs, 0 updates, 0 removals
- Locking clue/stream-filter (v1.5.0)
- Locking league/omnipay (v3.0.2)
- Locking moneyphp/money (v3.3.1)
- Locking offline/oc-microcart-plugin (v1.0.1)
- Locking omnipay/common (v3.1.2)
- Locking php-http/discovery (1.14.1)
- Locking php-http/guzzle6-adapter (v2.0.2)
- Locking php-http/httplug (2.2.0)
- Locking php-http/message (1.12.0)
- Locking php-http/message-factory (v1.0.2)
- Locking php-http/promise (1.1.0)
- Locking psr/http-client (1.0.1)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 12 installs, 0 updates, 0 removals
0 [>---------------------------] 0 [->--------------------------]
- Installing psr/http-client (1.0.1): Extracting archive
- Installing php-http/promise (1.1.0): Extracting archive
- Installing php-http/httplug (2.2.0): Extracting archive
- Installing php-http/guzzle6-adapter (v2.0.2): Extracting archive
- Installing php-http/message-factory (v1.0.2): Extracting archive
- Installing clue/stream-filter (v1.5.0): Extracting archive
- Installing php-http/message (1.12.0): Extracting archive
- Installing php-http/discovery (1.14.1): Extracting archive
- Installing moneyphp/money (v3.3.1): Extracting archive
- Installing omnipay/common (v3.1.2): Extracting archive
- Installing league/omnipay (v3.0.2)
- Installing offline/oc-microcart-plugin (v1.0.1): Extracting archive
0/11 [>---------------------------] 0%
10/11 [=========================>--] 90%
11/11 [============================] 100%
9 package suggestions were added by new dependencies, use `composer suggest` to see details.
from oc-microcart-plugin.
There is an entry in composer.lock:
{
"name": "offline/oc-microcart-plugin",
"version": "v1.0.1",
"dist": {
"type": "zip",
"url": "https://gateway.octobercms.com/composer/dist/offline/oc-microcart-plugin/offline-oc-microcart-plugin-76d7219e9277c619c354c939a450c31ed9b91597-zip-074518.zip",
"reference": "76d7219e9277c619c354c939a450c31ed9b91597",
"shasum": "2a5545d49a2ead27f704977c4a7c5c617d98d4ac"
},
"require": {
"composer/installers": "~1.0",
"league/omnipay": "^3"
},
"require-dev": {
"mockery/mockery": "^1.2"
},
"suggest": {
"omnipay/paypal": "^3.0",
"omnipay/stripe": "^3.0",
"ticketpark/saferpay-json-api": "^1.4"
},
"type": "october-plugin",
"license": [
"MIT"
],
"authors": [
{
"name": "Tobias Kündig",
"email": "[email protected]"
}
],
"description": "Simple shopping cart for October CMS",
"keywords": [
"cart",
"cms",
"e-commerce",
"october",
"plugin",
"shop"
],
"support": {
"source": "https://github.com/OFFLINE-GmbH/oc-microcart-plugin/tree/v1.0.1",
"issues": "https://github.com/OFFLINE-GmbH/oc-microcart-plugin/issues"
},
"time": "2019-08-02T12:44:55+00:00"
},
from oc-microcart-plugin.
Do you see a Microcart section in the Backend settings of October?
from oc-microcart-plugin.
Yes, the list of plugins shows me version 1.0.1 with available update 1.0.3.
from oc-microcart-plugin.
In the backend settings sidebar, do you see these entries?
from oc-microcart-plugin.
Yes, these settings are in the backend. Looks like I have a fully functional but locked version 1.0.1.
from oc-microcart-plugin.
You might have to run migrations manually: php artisan october:migrate
from oc-microcart-plugin.
That's what I did:
OFFLINE.MicroCart
- Nothing to update.
from oc-microcart-plugin.
Then try php artisan plugin:refresh OFFLINE.MicroCart
from oc-microcart-plugin.
Negativ:
$ php artisan plugin:refresh OFFLINE.MicroCart
This will DESTROY database tables for plugin 'OFFLINE.MicroCart'. (yes/no) [no]:
> yes
Rolled back OFFLINE.MicroCart
Reinstalling plugin...
OFFLINE.MicroCart
- v1.0.1 Initial release
from oc-microcart-plugin.
You you actually see the version.yaml with 1.0.3 in your plugins directory?
Edit: and what version does composer info offline/oc-microcart-plugin
display?
from oc-microcart-plugin.
In version.yaml is only the version 1.0.1, that's the content
1.0.1:
- 'Initial release'
- create_offline_microcart_carts.php
- create_offline_microcart_items.php
- create_offline_microcart_taxes.php
- create_offline_microcart_payment_methods.php
- create_offline_microcart_payments_log.php
Info:
composer info offline/oc-microcart-plugin
name : offline/oc-microcart-plugin
descrip. : Simple shopping cart for October CMS
keywords : cart, cms, e-commerce, october, plugin, shop
versions : * v1.0.1
type : october-plugin
license : MIT License (MIT) (OSI approved) https://spdx.org/licenses/MIT.html#licenseText
homepage :
source : []
dist : [zip] https://gateway.octobercms.com/composer/dist/offline/oc-microcart-plugin/offline-oc-microcart-plugin-76d7219e9277c619c354c939a450c31ed9b91597-zip-074518.zip 76d7219e9277c619c354c939a450c31ed9b91597
path : /Users/robert/Projects/Internal/NeopsisWeb/Workspace/website-october/plugins/offline/microcart
names : offline/oc-microcart-plugin
support
source : https://github.com/OFFLINE-GmbH/oc-microcart-plugin/tree/v1.0.1
issues : https://github.com/OFFLINE-GmbH/oc-microcart-plugin/issues
requires
composer/installers ~1.0
league/omnipay ^3
requires (dev)
mockery/mockery ^1.2
suggests
omnipay/paypal ^3.0
omnipay/stripe ^3.0
ticketpark/saferpay-json-api ^1.4
from oc-microcart-plugin.
Try running composer update again. You don't have the latest version installed yet 1.0.4
from oc-microcart-plugin.
I tried it dozend times, it does not update anything
$ php artisan october:update
Updating October CMS...
Executing: composer update
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
from oc-microcart-plugin.
Try deleting your compser.lock file and run composer install again, there might be a dependency problem that does not allow you to update
from oc-microcart-plugin.
Deleting composer.lock did not help. To be sure the issue is not bound to my local development environment, I tried to install the plugin on our staging server, that is located in the computer center in Germany and fully independent on our development environment. Unfortunately with same result. Only MicroCart 1.0.1 has been installed. Here is the screenshot after the fresh plugin install on the stage server. How the hell knows the backend about the version 1.0.3?
from oc-microcart-plugin.
I am not OctoberCMS expert, but maybe the problem is, that the plugin is registered on the October website as part of my project (there is a nice update command php artisan project:sync
). And the October plugins website shows me the version 1.0.3, that obviously does not exist. Maybe October update looks there for a version for update?
from oc-microcart-plugin.
Give this a try:
composer why-not offline/oc-microcart-plugin 1.0.4
from oc-microcart-plugin.
There is no installed package depending on "offline/oc-microcart-plugin" in versions not matching 1.0.4
from oc-microcart-plugin.
What does explicitly installing version 1.0.4 display?
composer require offline/oc-microcart-plugin 1.0.4
from oc-microcart-plugin.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oc-microcart-plugin.