Calendar installation error

Permalink
Just tried to instal the new calendar block butif i try to install it i get this error:

An unexpected error occurred.
GalleryBlockController not found. Please check that the block controller file contains the correct class name.

Am i doing something wrong?

 
kristoffermarslev replied on at Permalink Reply
First, I logged into the marketplace block in the dashboard, but when I downloaded my newly purchased calendar block, I got an error message saying something like "error unzipping file".

Secondly, I manually put the unzipped calendar folder in the block folder, but this time I got the same error as mentioned above: GalleryBlockController not found.

Instead, I tried copying all the files from the calendar block into the relevant folders in my site root - the error I met this time was even longer than the others...

I hope someone can help!

// Kristoffer
frz replied on at Permalink Reply
frz
don't put it in the /blocks directory, put it in /packages

does that help?
kristoffermarslev replied on at Permalink Reply
Hey frz
Thanks for your quick reply! It still doesn't seem to work, even though I place it in /packages. I have a couple of questions...

1: Can I put the .zip directly in the /packages, or do I have to unzip it?

2: Is it the /packages in the root level or the concrete folder?

3: Could it possibly have anything to do with my server? Do I need a specific php extension?

Sorry for taking your time - I appreciate your help! And by the way: I'm really impressed with Concrete - it's more intuitive and easy-to-use than any other CMS I have ever seen!
Jim replied on at Permalink Reply
Hi,

yes after searching the forum finally i found that they need to be placed in the package directory. Now it works just fine!

Could be documented more clearly though..

Thanks.
Jim
kristoffermarslev replied on at Permalink Reply
Now I placed the unzipped calendar folder in the root /packages - this time I got this error:

Fatal error: Class 'CalendarPackage' not found in C:\Documents and Settings\Web\Dokumenter\Wamp Server\www\VittoriaVitale2\concrete\libraries\loader.php on line 205

Any suggestions?
Tony replied on at Permalink Reply
Tony
For a package to install (not a block), the unzipped folder should be placed in the packages directory, and it must be able to find the controller.php file. For the calendar app, the folder structure should look like this:

c5root/packages/calendar/controller.php

Inside of that controller, there should be a class called CalendarPackage.

If you have any other random folders in there without controllers, or if you unzipped it to a weird location like:
c5root/packages/calendar/calendar/controller.php
...then it won't work.

If you're getting a GalleryBlockController not found error, then this is probably something unrelated. Have you also got the gallery block somewhere? Or do you have a folder called gallery either in the c5root/blocks dir or the c5root/packages dir? If so, move it somewhere else and the error message should go away.