Installation request for zofe/rapyd dev-master - content-management-system

After cloning & while doing composer update I am getting the error :
Installation request for zofe/rapyd dev-master
Conclusion: don't install intervention/image 2.4.2
.......
......
......
I am using xampp 7.2.8 , composer 1.7.1, Windows 10 in Virtualbox.
I have cloned the created database, but unable to run the composer update or php artisan migrate as mentioned in https://github.com/raylight75/cms#official-documentation .
Could someone help me ?
I have posted the same issue in https://github.com/raylight75/cms/issues/8

From the composer log you've posted, it looks like the package you are trying to install zofe/rapyd#dev-master is not compatible with the version of Laravel you're using.
The log you've posted also differs to the error you've posted in your question. There is no mention of intervention/image in the logs. Instead, the log is showing an issue with laravelcollective/html and nesbot/carbon.
Try installing the latest stable version by updating the composer.json file and changing the version from dev-master to ~2.2. The latest stable version is v2.2.7, while version 2.6.3 is pre-release, but supports Laravel 5.6.
The issue may also be fixed by updating your version of Laravel to v5.6. However, this is likely to be more work than just using a lower version of zofe/rapyd.

Related

Update Magento2 version 2.4.3-p2 to 2.4.4

I have an issue with the upgrade of Magento from 2.4.3-p2 to 2.4.4.
Here my steps to reproduce:
composer require magento/product-community-edition 2.4.4 --no-update
composer update php-amqplib/php-amqplib
I have tried with option -W, but i get always this exception:
*Problem 1
- Root composer.json requires magento/product-community-edition 2.4.4, found magento/product-community-edition[2.4.4] but the package is fixed to 2.4.3-p2 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
Problem 2
- Root composer.json requires friendsofphp/php-cs-fixer 3.3.0, found friendsofphp/php-cs-fixer[v3.3.0] but the package is fixed to v2.18.7 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command......
Problem 3*
Could someone tell me, how can I start the upgrade with all dependencies?
Hint: This commande doesn't work "composer update -W"
Thanks alot
You can update the correct version on composer.json
Or just use the following command
composer require magento/product-community-edition 2.4.4 --update-with-all-dependencies
composer update php-amqplib/php-amqplib --with-all-dependencies

Zend Framework 3 [UnexpectedValueException] Invalid version string "^1.1.0"

I am trying to install Zend Framework 3 in Windows 7. I downloded the Skeleton from Git and run composer install. But getting the error
[UnexpectedValueException] Invalid version string "^1.1.0".
Details:
PHP Version 5.6.3,
XAMPP Version 5.6.3
I'm not sure what command you ran and why you downloaded the skeleton. The preferred way to install the skeleton is with composer:
composer create-project zendframework/skeleton-application path/to/install
More info can be found on https://framework.zend.com/downloads/skeleton-app

Upgrade TYPO3 to a specific version

I am new to TYPO3 and tried to install the official introduction package.
I found the package in the extension manager and clicked install but got the following message:
Could not install distribution 'bootstrap_package'
Your TYPO3 version is lower than this extension requires. It requires TYPO3 versions 6.2.14 - 7.99.99
I am using TYPO3 version 6.2.11.
I installed the system via docker TYPO3-docker-boilerplate.
I think this tool uses composer to get the TYPO3 base distribution.
I tried the upgrade wizard but there was no option to choose a specific version to upgrade to. So how can I upgrade TYPO3 to version 6.2.14?
I need to use version 6.2.
Unfortunately, the cms-base-distribution Composer package hasn't been updated since March. So you have to set the typo3/cms package in the composer.json file to the version you need (latest stable version of 6.2 is 6.2.15). The file is located in the code directory.
Then run composer update in the same directory.
This should update one dependency and the cms package itself:
- Removing helhum/class-alias-loader (1.0.99)
- Installing helhum/class-alias-loader (1.1.5)
Downloading: 100%
- Removing typo3/cms (6.2.11)
- Installing typo3/cms (6.2.15)
Downloading: 100%

Xdebug bad Zend API Version Number

I am having trouble upgrading xdebug for MAMP. I was running version 2.2.0 and there was a known issue that I ran into: PhpStorm and Xdebug not breaking in Symfony2 Controller
I tried to upgrade to version 2.2.3 by following the instructions from http://xdebug.org/wizard.php
After downloading and extracting the xdebug tar I ran /Applications/MAMP/bin/php/php5.4.4/bin/phpize
Here is the output:
Configuring for:
PHP Api Version: 20100412
Zend Module Api No: 20100525
Zend Extension Api No: 220100525
I then copied the modules/xdebug.so file into the mamp php5.4.4 extensions dir: `/Applications/MAMP/bin/php/php5.4.4/lib/php/extensions/no-debug-non-zts-20100525/xdebug.
If I run /Applications/MAMP/bin/php/php5.4.4/bin/php -v I get the following:
Xdebug requires Zend Engine API version 220090626.
The Zend Engine API version 220100525 which is installed, is newer.
Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.
PHP 5.4.4 (cli) (built: Jul 4 2012 17:28:56)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
I have restarted MAMP and Apache and tried loading a page with phpinfo() and I do not see Xdebug listed. If I moved the old xdebug.so file back in place the error is removed and phpinfo() show xdebug as enabled
I managed to solve this issue by running
/Applications/MAMP/bin/php/php5.4.4/bin/pecl install xdebug At first I was seeing issues with the Zend API number using pecl. I followed this post: pecl installs for previous php version and set the following:
sudo /Applications/MAMP/bin/php/php5.4.4/bin/pear config-set php_ini /Applications/MAMP/bin/php/php5.4.4/conf/php.ini
sudo /Applications/MAMP/bin/php/php5.4.4/bin/pecl config-set bin_dir /Applications/MAMP/bin/php/php5.4.4/bin/
Not sure if these configs had something to do with it failing before
I have a MAMP server set up on a Mac Pro, I could not get xDebug to work. This was in my logs:
PHP Warning: PHP Startup: xdebug: Unable to initialize module
Module compiled with module API=20160303
PHP compiled with module API=20170718
These options need to match
in Unknown on line 0
This can be fixed by installing the latest xDebug.so. My problem with doing so was that is was writing to the wrong xDebug.so,not the MAMP server:
Build process completed successfully
Installing '/usr/lib/php/extensions/no-debug-non-zts-20160303/xdebug.so'
ERROR: failed to write /usr/lib/php/extensions/no-debug-non-zts-20160303/xdebug.so (copy(/usr/lib/php/extensions/no-debug-non-zts-20160303/xdebug.so): failed to open stream: Operation not permitted)
The second line of #Shawn's answer was the solution:
sudo /Applications/MAMP/bin/php/php7.2.7/bin/pecl config-set bin_dir /Applications/MAMP/bin/php/php7.2.7/bin/
I was then able to build the latest xDebug.so to the right directory using pecl install xdebug.

Nuget package dependencies. Does it work the way it should?

RavenDb latest version is installed as a nuget package. It references Newtonsoft.Json 4.0.2.
I'm trying to install TweetSharp. I get this log:
M> Install-Package TweetSharp
Attempting to resolve dependency 'Hammock (≥ 1.2.3)'.
Attempting to resolve dependency 'Newtonsoft.Json (≥ 4.0.1)'.
Successfully installed 'Hammock 1.2.6'.
Successfully installed 'Newtonsoft.Json 4.0.3'.
Successfully installed 'TweetSharp 2.0.8'.
Install failed. Rolling back...
Install-Package : Updating 'Newtonsoft.Json 4.0.2' to 'Newtonsoft.Json 4.0.3'
failed. Unable to find a version of 'RavenDB-Embedded' that is compatible with
'Newtonsoft.Json 4.0.3'.
As you can see, even if TweetSharp just needs 'Newtonsoft.Json (≥ 4.0.1)', nuget wants to install version 4.0.3 which can not work with RavenDb.
I tried to install previous versions of TweetSharp but it does not change anything.
Any way to circumvent this?
Sounds like a possible bug in NuGet. Please log an issue in the NuGet bug tracker: http://nuget.codeplex.com/workitem/list/basic
If TweetSharp is fine with NewtonSoft.Json 4.0.2, then the install should not have failed. In your bug, can you post the exact versions that caused this problem. For example:
List of installed packages with exact version installed.
List of dependencies for each package and the specific version range they specify.
And the exact version of TweetSharp you're trying to install. That'll help us look at the issue more quickly. Thanks!
My guess is we have some default logic that tries to upgrade packages to the latest bug fix release. In this case, we tried that, but it causes another dependency to fail. In that case, we should have known that and not tried to upgrade.
This is down to the semantic versioning that NuGet has had since (I think) 1.6. It's explained in more detail here but the basic idea is that if your dependency hasn't updated either the major or the minor revision number then they'll assume that it's a bugfix and not a breaking change.
So in this case the decision to install 4.0.3 instead of 4.0.1 was made.
You can run install-package with -ignoredependencies I would have thought that if you'd had 4.0.2 installed it wouldn't try to update you (because 4.0.2 satisfies the dependency).