Closed supman closed 1 year ago
@reganlawton same issue here.
@reganlawton only occurs on linux, on macbook (which ignores uppercase/lowercase) it doesn't occur
Hmm 😩 this means renaming 😂 I'll have to look at this over the weekend as I'm flat out today.
Any update to this? I'm still seeing this error.
An Error occurred while handling another error: yii\base\InvalidArgumentException: The file or directory to be published does not exist: [...]/vendor/wrav/simplesharing/src/assetbundles/simplesharing/dist/js/SimpleSharing.js in [...]/vendor/yiisoft/yii2/web/AssetManager.php:455
This is still coming it requires refactoring all the files and testing I haven't been able to get to this I've been flat out all this week including the public holiday in Melbourne, AUS on Tuesday.
Still seeing this error....
It's a hack until v1.0.8, but I added a lowercase symlink in /vendor/wrav/simplesharing/src/assetbundles:
ln -s SimpleSharing simplesharing
Can anyone please give "wrav/simplesharing": "dev-alpha"
a go and let me know if it's working your end. I also added a fix to PHP 7.4 support
@reganlawton tested, works. However, the php version check is unneeded, see documentation of implode:
implode() can, for historical reasons, accept its parameters in either order. For consistency with explode(), however, it is deprecated not to use the documented order of arguments.
@lenvanessen thanks for testing notes on implode and will take another look and tweak
Once our Craft3 installation finished updating to v1.0.7 our admin crashed. When reviewing CRAFT error logs we found:
The file or directory to be published does not exist: /var/www/vhosts/mydomain.com/httpdocs/vendor/wrav/simplesharing/src/assetbundles/simplesharing/dist/js/SimpleSharing.js in /var/www/vhosts/entorno.es/httpdocs/vendor/yiisoft/yii2/web/AssetManager.php:455
Our system is a CENTOS7 and this folder does not exist, the one that exists is:
/var/www/vhosts/mydomain.com/httpdocs/vendor/wrav/simplesharing/src/assetbundles/SimpleSharing/dist/js/SimpleSharing.js
We had to rename this folder manually over our filesystem to make everything work again.
But it is a manual solution and don't now yet if it breaks anything else on Simple Sharing.