Error whilst installing magento extension- package file is invalid - magento

We are trying to install a custom extension into Magento that I have packed up.
I can install it locally without issue but my client is getting the below error in Magento connect:
CONNECT ERROR: Package file is invalid
"./app/code/local/" already exists
This extension is for the community channel.
Any idea what is going on?

It looks like your packaged version thinks it needs to create the local folder, except this (standard-ish) folder already exists in your client system. I'd check your packaging settings and make sure there's no instruction that app/code/local be added as a stand alone item.

Related

Istanbul-tools installation error: github.com/ethereum/go-ethereum/crypto/bn256/cloudflare.gfpMul: relocation target runtime.support_bmi2 not defined

I am trying to install Istanbul-tools to run an IBFT ethereum network as shown in this tutorial here https://medium.com/getamis/istanbul-bft-ibft-c2758b7fe6ff
I am installing istanbul-tools via their makefile using
go build -v -o ./build/bin/istanbul ./cmd/istanbul
After fixing some initial issues, as the code base hasn't been updated in a year, I then received the following error:
github.com/ethereum/go-ethereum/crypto/bn256/cloudflare.gfpMul: relocation target runtime.support_bmi2 not defined
I also cannot find the Cloudflare file in any location in the go-ethereum folder. Can someone point me in the right direction? Cheers!
I had this exact issue, the issue has to do with your Ethereum/Istanbul Versions. You either need to make sure everything is upgraded all the way, or downgrade Go. I downgraded my go version to 1.10.3 and it worked.
Can you be provide more details on the specific Cloudflare file you are looking for? There is a folder for Cloudflare within crypto/bn256 (full path is go-ethereum(or project name)/crypto/bn256/cloudflare) in the Main Ethereum project, I would check there for Istanbul.

Magento Downloader hangs up while trying to install Mage_all_Latest

i have installed a magento Version 1.9.1.0 since a few months, everything works fine.
Since a few weeks i'm trying to update Magento via the package Mage_All_Latest via the Magento Downloader, but nothing happens. I tried it in the last weeks with Version 1.9.1.1 - and since today with the brand new 1.9.2.0 - doesn't matter which - it doesn't work.
In the green status window it tells me "Checking dependencies of packages" - and that's it. No Error, no message - just nothing.
I tried this multiple times, nothing is going on - for hours!
The package is not in the /downloader/.cache-Directory.
When trying to upgrade single packages manually via downloader it always tells me things like
CONNECT ERROR: Package community/Cm_RedisSession 1.9.2.0 conflicts with: community/Mage_All_Latest 1.9.1.0" - but i cannot update this package...!
There is enough space available on the server.
The downloader itself has no problems - i tried to install all available packages in different relations and some worked:
Checking dependencies of packages
Starting to download Lib_Varien-1.9.2.0.tgz ...
...done: 157,974 bytes
Installing package community/Lib_Varien 1.9.2.0
Package community/Lib_Varien 1.9.2.0 installed successfully
I cannot access the server via SSH.
Is there any other option to upgrade this package? do i have to download the full new Magento installation package and override all files manually? or can i download this "Mage_all_latest"-Package on the magentocommerce-Website and replace all files manually? Is there any other option?
Does anybody have an idea what to do?
There is no error message :-(
Thank you.
Can you access the server via FTP?
The magento downloader is garbage. You're better off downloading the extension from connect with this:
http://freegento.com/ddl-magento-extension.php
and then uploading the files

‘Mage_Magenotification_Helper_Data’ not found

I install extension Instant Search by Magestore.after that i see this error.(http://www.magentocommerce.com/magento-connect/product-instant-search.html)
Fatal error: Class ‘Mage_Magenotification_Helper_Data’ not found in /home/****/public_html/app/Mage.php on line 546
I am facing this problem. I have installed Product Instant Search .
http://www.magestore.com/product-instant-search.html
Please help me.
Thanks
If you still get this error-message, you have to install the Magenotification Extension from Magestore.
To install the extension, checkout the extension from google code:
svn checkout http://my-wholesale.googlecode.com/svn/trunk/ my-wholesale-read-only
then copy the directory my-wholesale-read-only/app/code/local/Magestore/Magenotification to your /app/code/local/Magestore/ directory and create a Magestore_Magenotification.xml under app/etc/modules/.
Double check all the module files have been uploaded properly, refresh all the caches and ensure the compiler is off (or recompile). It is most likely the XML cache needs refreshed or the compiler needs recompiled.

Creating an update package for my custom extension

So I've made this extension and inside the config.xml I have version 0.1.1 and within magento in the "Create Extension Package" I've given it the version number of 0.1.1 so that the package.xml says version 0.1.1 and it installs just fine.... NOW my problem is is that I've created an update and made it 0.1.2 ... i've changed it in the config.xml and inside the "Create Extension Package" so that the package.xml file says 0.1.2. BUT when I go into the connect manager I get this error
CONNECT ERROR: Package file is invalid
'./localpath\\Company\Extension\Helper\Data.php' already exists
whats the deal? I'm going to be making updates to my package periodically at some point and some files will be updated that is a given so this should work shouldn't it?
Its looking like there actually is no solution for this other than to manually uninstall the extension and re-isntalling it using the "Direct package file upload" option within the Magento Connect Manager...
Looks like I'll just write my own update script for the custom extensions we are building then lol.

Magento module extension Model Resource Setup not found

I'm trying to install the Magento Clever CMS module https://github.com/jreinke/magento-clever-cms on a Magento 1.7.0.2 install.
On my development environment I can install it without any problems, but on production I get an internal server error.
PHP Fatal error:
Class 'JR_CleverCms_Model_Resource_Setup' not found in /web/includes/src/Mage_Core_Model_Resource_Setup.php on line 234
So the Mage_Core_Model_Resource_Setup is not extended with the JR_CleverCms resource setup.
I've installed the module with modgit and double checked if all files are there and permissions of the files. Anyone got an idea what the problem could be?
This is due to compilation being enabled on your production environment, but that file has not been 'compiled' (copied to includes/src).
See this answer for a solution.

Resources