Shortcode-Finder install fails
-
“The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature”
-
Afternoon tjpa!
This issue is similar to the one found in this thread.
It sounds like the plugin could not be extracted from the .zip archive with the likely cause being that your web server is full.
Can you verify that you have enough space to install the plugin?
I have 2.6 GB free. My unzip utility will not unzip the file. Nor would a second unzip utility I tried. Message is “unable to determine the format”. Perhaps this version of the file is corrupt? I did download the file more than once. Same result.
I was able to download and unzip the file just fine on both a Win 8.1 machine and a OSX Mavericks machine so I’m sure what the deal is there.
If you can’t get it, we also have a Github repo where you can download the files manually. Just upload the shortcode-finder folder to your plugins directory and you should be good to go.
Let me know if that works out for you!
Stubborn &*%$#!, but making progress. Thanks for the assist. As you suggested I downloaded the files from Github. Installed OK. Activated OK.
I now have an item “Shortcodes” under “Tools”. I click in that to get a screen with a heading “Available Shortcodes:” and the rest of the page is blank. The Edit Post screen now has a button “Add Shortcode” which gets me a pop-up window with headings “Pick a shortcode: Pick your attributes:” and nothing else on the page except an “Insert into page” button at the bottom.
Since I’m using all sorts of shortcodes I know they exist. What to do?
No problem, sorry for the troubles. It’s a first release so it’s possible it’s a bug. Right now it’s sounding like a server setting.
Can you tell me which Server/PHP Version you’re using? Hopefully we’ll get this figured out for you!
Running MAMP 2.2 on OS X 10.6.8
Apache/2.2.25 (Unix) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 PHP/5.5.3Morning tjpa,
I was looking around the forums for issues related to the error: PCLZIP_ERR_BAD_FORMAT
That error you were originally reporting in and of itself doesn’t seem like a plugin specific issue. However, the shortcodes not showing up is still an issue. I run a Mavericks dev server at home (AMPSS) and it tests out without issues. PHP 5 is necessary for the plugin to work, as it uses the Reflection Class (and you have that version).
What version of WP are you running? Are there any other error messages you can report on the tool page or shortcode page? Any chance you have PHP errors off?
Thanks. Works perfectly fine with AMMPS. Could be that it has a problem with MAMP?
“AMPPS”. You know what I mean.
Ha, yes, “AMPPS”, my bad on that too.
My guess is it has to do with the default PHP configuration for AMPPS vs. MAMP.
In your MAMP setup, if you turn on all PHP errors, do you see anything when you visit the tools page?
Also, the reason the plugin wouldn’t install from the plugin directory directly was that we were nesting the folder… my bad on that! Should work like any other plugin now!
Nothing in the php_error.log file about you.
Is this good?
error_reporting = E_ALL
display_errors = Off
display_startup_errors = Off
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
track_errors = Off
error_log = “/Applications/MAMP/logs/php_error.log”Hmm, that should be reporting errors, so if you’re not getting anything for our plugin we can rule that out I guess.
Here’s a random thought, if you echo the PHP constant DIRECTORY_SEPARATOR what does that output look like in MAMP?
/
That’s as it should be.
Ok, last idea, try running the sample code from apmithani from the PHP docs here. If everything checks out there then I’m at a loss. I’ll have to setup a duplicate MAMP environment and run through some stuff to see if I can replicate.
That code snippet outputs “1 2”
Fortunately MAMP is very easy to set up and can run concurrently with AMPPS.
Thanks for your assist and for pointing me at AMPPS. That will be useful.
The topic ‘Shortcode-Finder install fails’ is closed to new replies.