Installing module via Package Error - magento

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.

Related

Cocoapods - Invalid symlinks (Headers) prevents submission to App Store

I'm getting following error when trying to submit osx application:
We have discovered one or more issues with your recent delivery for
"Planiro Tracker". To process your delivery, the following issues must
be corrected:
Invalid Symlink - Your package contains a symbolic link
'com.droidlabs.PlaniroTracker.pkg/Payload/PlaniroTracker.app/Contents/Frameworks/Alamofire.framework/Headers'
which resolves to a location
'com.droidlabs.PlaniroTracker.pkg/Payload/PlaniroTracker.app/Contents/Frameworks/Alamofire.framework/Versions/Current/Headers'
that does not exist or is outside of the package.
Invalid Symlink -
Your package contains a symbolic link
'com.droidlabs.PlaniroTracker.pkg/Payload/PlaniroTracker.app/Contents/Frameworks/PromiseKit.framework/Headers'
which resolves to a location
'com.droidlabs.PlaniroTracker.pkg/Payload/PlaniroTracker.app/Contents/Frameworks/PromiseKit.framework/Versions/Current/Headers'
that does not exist or is outside of the package.
I checked contents of the applications, and all frameworks installed by cocoapods contains invalid "Headers" symlink. Cocoapods version 0.36.4.
I added mkdir -p "${destination}/$1/Versions/A/Headers" to Pods-frameworks.sh as temporary workaround, but it's strange that dirs are not created (not sure where it should happen) and maybe I'm doing something wrong?
Delete the Header symlink and resubmit.
Worked for me.
Make sure that the folder "headers" is in the root of your framework folder
Make also sure that the binary is in the root folder.
example:

Cabal install failure on existing sandbox in Windows

I have installed the Haskell-platform on Windows. I am trying to build an existing project from an existing cabal sandbox. Whenever I attempt to reinstall, all packages fail with the following error:
cabal.exe: expected an absolute directory name for --prefix:
Was wondering where I need to specify an absolute directoy. Cabal is installed here:
Note: I am using Powershell to execute these commands.
C:\Users\user\AppData\Roaming\cabal\bin\cabal.exe
Here's the full output.
websockets-snap-0.8.2.1 (new package)
Project-0.1 (new package)
cabal.exe: The following packages are likely to be broken by the reinstalls:
haskell-platform-2013.2.0.0
cgi-3001.1.7.5
Use --force-reinstalls if you want to install anyway.
PS C:\Users\user\Project> cabal install --force-reinstalls
Resolving dependencies...
Warning: The following packages are likely to be broken by the reinstalls:
haskell-platform-2013.2.0.0
cgi-3001.1.7.5
Continuing even though the plan contains dangerous reinstalls.
Configuring Crypto-4.2.5.1...
cabal.exe: expected an absolute directory name for --prefix:
/Users/user/Project/.cabal-sandbox
Failed to install Crypto-4.2.5.1
Configuring MonadRandom-0.1.13...
cabal.exe: expected an absolute directory name for --prefix:
/Users/user/Project/.cabal-sandbox
Failed to install MonadRandom-0.1.13
Configuring SHA-1.6.1...
cabal.exe: expected an absolute directory name for --prefix:
/Users/user/Project/.cabal-sandbox
Failed to install SHA-1.6.1
How do I specify an absolute directory name for prefix?
You could try using the solution described here. It's basically about removing/replacing powershells default dir alias. But that's for sure not the most powershell-compatible way of fixing it.

‘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.

Error whilst installing magento extension- package file is invalid

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.

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.

Resources