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.
Related
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
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.
I try to apply module to fix the special price issue follow this: Magento 1.8.0 and 1.8.1 issue with special price
But i find error as below when trying to install the module. Any Advice please?
CONNECT ERROR: Package file is invalid
Invalid package name, allowed: [a-zA-Z0-9_-] chars
Invalid version, should be like: x.x.x
Invalid stability
Invalid date, should be YYYY-DD-MM
Invalid channel URL
Empty authors section
Empty package contents section
Note that a package.xml parsing error due to invalid XML will result in that same error message.
If you are packaging your module yourself you should use tar:
CD into the root directory of your extension (Where your package.xml is located)
run: tar -cvzf MyModule.tgz app package.xml skin (and other files/dirs if applicable)
The extension file from the link you posted is not a prepackaged module you can install using the Magento Connect method. You must unzip the folder and drag & drop the files into the root directory of your Magento install.
For the extension to be installable using the Connect method, it must include a package.xml file within the zip container.
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.
There are some Magento Connect extensions that I find myself installing every time I create a new project, such as Fontis_Recaptcha, Mass_Product_Relater, HM_DeveloperToolbar, ModuleCreator, Alanstormdotcom_Layoutviewer, etc. What's on your list?
Does anyone know of a capability to automate the installation of a base set of modules? In the same way that Mage itself installs all its modules. I guess a bash or phing script to automate PEAR? Thoughts?
I would take another approach. Install a clean installation and add all your extension. When your done export the DB and zip all the files. Then you should be able to use the files and the DB as a base for all your magento installations...
I do the same with Joomla, have not tried that with magento yet, but it should work.
Cant you just use the auto installer script as provided and maintained here:
http://www.magentocommerce.com/wiki/groups/227/magento_bash_script_installer
and edit it to install your desired extensions
ie just add ./pear install xxxxxxx at the end of the script.