Adding packages by uploading to /packages/ directory
Permalink
I have uploaded packages to the root/packages/ folder but when I go to Add Functionality nothing appears for installation.
I have uploaded a custom package I am creating, the FAQ_Example package and a previously downloaded package.
I have also tried this on two different servers on 2 different hosting providers.
On my custom package I am writing I have even purposely broken the code, and I get an error in the Add Functionality page - so C5 is looking at the Packages directory.
C5 is v5.4.2.2.
Anyone got any ideas?
Thanks, Steve
I have uploaded a custom package I am creating, the FAQ_Example package and a previously downloaded package.
I have also tried this on two different servers on 2 different hosting providers.
On my custom package I am writing I have even purposely broken the code, and I get an error in the Add Functionality page - so C5 is looking at the Packages directory.
C5 is v5.4.2.2.
Anyone got any ideas?
Thanks, Steve
As well as my package I have tried the example faq (http://www.concrete5.org/marketplace/addons/example-faq/) package and tried the extended form (http://www.concrete5.org/marketplace/addons/extended-form/) package - and the extended form works fine if I download from marketplace.
If it was just my package, then I'd expect something to be wrong with my coding, but I have the same issue when uploading the others as well.
I will double check my code when I get home, but everything listed there is what I have.
If it was just my package, then I'd expect something to be wrong with my coding, but I have the same issue when uploading the others as well.
I will double check my code when I get home, but everything listed there is what I have.
Have you checked the permissions on the files when you add them to the directory?
All files and folder have been made writable just-in-case, but still nothing showing in add functionality for installation :(
Ugh. I hate when this happens to me. I feel your pain.
I'm guessing you did the cache too.
Does this work?
The only times this has happened to me has been permissions or massive typos in the controller.php etc. Wish I could be more help. Blocks and packages not showing up drives me up the wall.
I'm guessing you did the cache too.
Does this work?
http://www.example.com/packages/example_faq/icon.png
The only times this has happened to me has been permissions or massive typos in the controller.php etc. Wish I could be more help. Blocks and packages not showing up drives me up the wall.
Tell me about it... 3 days been trying to figure this one out.
Cache cleared and disabled, so wouldn't be that.
Wouldn't install Example FAQ package that was created by Andrew (I think!) for a how to... so wouldn't just be my spelling.
Cache cleared and disabled, so wouldn't be that.
Wouldn't install Example FAQ package that was created by Andrew (I think!) for a how to... so wouldn't just be my spelling.
I do remember a couple times when I had a package with a theme in it screw up(because of my coding errors) on install and kind of foobar'd the package install thing. The one time I fixed it was that I had to go into "Themes" and remove the "Theme" that the package originally installed.
Maybe look for any remnants that the package you were writing and tried to install?
Oh and any same named packages/themes int he same directory has caused issues IIRC.
Maybe look for any remnants that the package you were writing and tried to install?
Oh and any same named packages/themes int he same directory has caused issues IIRC.
Keep in mind its class must extend the package class and use the same methods.
You should revise the basics just in case:
Triple check the install part, the appVersionRequired and the Handle.
Double check everything else.