Giter VIP home page Giter VIP logo

media's People

Contributors

adriengibrat avatar gmomchilov avatar mariuswilms avatar rchavik avatar sitedyno avatar slywalker avatar thomheymann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

media's Issues

basename

i'm try uploaded this array
[code]
//proj1\controllers\multimedies_controller.php (line 32)
Array
(
[Multimedy] => Array
(
[title] => asdasdas
[category_id] => 1
)

[Attachment] => Array
    (
        [0] => Array
            (
                [model] => Multimedy
                [group] => attachment
                [alternative] => asdsd
                [file] => Array
                    (
                        [name] => P1903080000.jpg
                        [type] => image/jpeg
                        [tmp_name] => C:\tmp\php3A13.tmp
                        [error] => 0
                        [size] => 431104
                    )

            )

    )

)
[/code]
[code]
$this->Multimedy->create();
if ($this->Multimedy->saveAll($this->data,array('validate'=>'first'))) {
debug($this->Multimedy->transfer());
debug($this->Multimedy->transfered());
debug($this->data);
exit;
[/code]
and i have that errors
[code]
21 START TRANSACTION 0 0
22 INSERT INTO multimedies (title, category_id, modified, created, user_id) VALUES ('asdasdas', 1, '2009-12-21 15:01:29', '2009-12-21 15:01:29', 3) 1 0
23 SELECT LAST_INSERT_ID() AS insertID 1 1 0
24 INSERT INTO logs (model_id, description, action, change, title, model, ip, user_id, created) VALUES (18, 'Multimedy "asdasdas" (18) added by User "3" (3).', 'add', 'title, category_id, created, user_id', 'asdasdas', 'Multimedy', '127.0.0.1', 3, '2009-12-21 15:01:29') 1 0
25 SELECT LAST_INSERT_ID() AS insertID 1 1 0
26 INSERT INTO attachments (model, group, alternative, foreign_key, modified, created, user_id) VALUES ('Multimedy', 'attachment', 'asdsd', 18, '2009-12-21 15:01:29', '2009-12-21 15:01:29', 3) 1364: Field 'basename' doesn't have a default value 0
27 ROLLBACK 0 156
28 transfer 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'transfer' at line 1 0
29 transfered 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'transfered' at line 1
[/code]
my model
[code]

array( 'className' => 'Media.Attachment', 'foreignKey' => 'foreign_key', 'conditions' => array('Attachment.model' => 'Multimedy'), 'dependent' => true, )); ... } ?>

[/code]

mm library Media_Process Gd Adapter can't store jpg, and png on 1.3.x

Hello!

I found an issue on mm library Media_Process Gd Adapter "store" method on 1.3.x.

This method use "imagejpeg" or "imagepng" functions,
But it failed because the parameters is invalid.

If compression settings is not specified,
these functions are called with parameters: array(gdresorce, null)

But "imagejpeg" or "imagepng" functions require
second parameters not to be NULL if the quality and filters arguments are not used.
Then failed.

So, I suggest to unset second parameters
if compression settings is not specified.

media/libs/mm/src/Media/Process/Adapter/Gd.php on line 88

  • if(count($args) === 2) unset($args[1]);

I used it, and it worked!

See the following php manual for more detail.
http://jp2.php.net/manual/en/function.imagepng.php

Thanks for your work :)

Model value set incorrectly in attachments element

On line 36 on the attachments.ctp element.
$model = $form->model();

The value of the model for the current form is set incorrectly if a HABTM input is set previously on the form. For example, if you have a post model that HABTM tags and you layout your add post form with the tag input just prior to the attachments element (assuming your post has attachments of course), the model value for the attachment is set to Tag (as that is the currently-used model to render the view) and not Post as it should be.

PHP Warning

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of array_unshift(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /var/www/html/ilve/master/docroot/app/plugins/media/vendors/medium/medium.php on line 497

Renaming / filtering / versioning... according to Model

Hello,

I'm trying to use the Media plugin with various setups. I have an "articles" and a "news" models to which I want to attach pictures through the attachment model. I'd like two things :

  • first, I want to store the file under the /news/ directory or /articles/ and name it with the slug of the article/news (title-of-the-news.jpg for instance) --> seems to be a must-have for me for SEO reason, for instance
  • second, I'd like to generate various versions (size) according to the model to which my picture is linked.

I'd like to have your opinion on how to implement that in the way you imagine your plugin (and also know if such code would interest you when it's done).

Thanks for your work !

Warning thrown in __db method of MimeType class

Im using 1.3 branch and php 5.2

Warning (2): array_merge() [function.array-merge]: Argument #1 is not an array [APP/plugins/media/vendors/mime_type.php, line 299]

I removed the warning by typecasting the first param of array_merge on line 297:

function __db($type) {
    $searchPaths = array(
        'mime_' . $type . '.php' => array(CONFIGS),
        'mime_' . $type . '.db' => array_merge(
            (array)Configure::read('vendorPaths'),
            array(dirname(__FILE__) . DS)
        ));

    foreach ($searchPaths as $basename => $paths) {
        foreach ($paths as $path) {
            if (is_readable($path . $basename)) {
                return $path . $basename;
            }
        }
    }
}

Strange change file name after upload

Hi.
I moved my application form development server to production.
I upload file and it was saved with strange name.
For example i put in upload form "image1.jpg",
its base name in mysql in basename column i see "m.p".
On disk it saved as /media/transfer/img/m.p . (?!)
Which function generete basename after upload?

lightbox-btn-close.gif -> l_t_o_t_lo
image1.jpg -> m.p
thumb_image4.jpg -> t_um_m.p

(version 0.6)

imagick crashing

Hi,
and thanks for your work.

I got this error on shared hosting services.

[Fri Apr 01 13:38:37 2011] [error] [client xx.xx.xx.xx] php: magick/resize.c:581: AcquireResizeFilter: Assertion `UndefinedFilter < filter && filte
r < SentinelFilter' failed., referer: http://www.example.com/products/edit/1
[Fri Apr 01 13:38:37 2011] [error] [client xx.xx.xx.xx] Premature end of script headers: index.php, referer: http://www.example.com/products/edit/1

Using gd (putting $hasImagick = false;) removes the problem.

Is there any chance to have a config value to choose between Imagemagik and gd?

Thanks

permissions bug 1.3 branch

[enhancement/bug/1.3x]

in transfer.php line 197
change this:
'permisssion' => null,
to :
'permission' => null,

NB: incorrect spelling of permission

also, in the Wiki for Configuration do not define 'MEDIA' before import of the plugin core.php (I tested this only for the 1.3 branch). If this is done instead of MEDIA defaults to for example:
'/var/www/example.org/htdocs/media/'
instead of
'/var/www/example.org/htdocs/app/webroot/media/'

cheers.

Naming convention

Some libraries that use uppercase letters in filenames may not be included. For example, the file core.php.

require_once (/ Mime / Type.php) causes a "Fatal error: require_once () [function.require]: Failed opening required '/ Mime / Type.php'"

It is a rare bug, but still sometimes occur. I had this bug on 1and1.com hosting

performance issues with element

By performing

$Media = Media::factory($file);

there is a huge slowdown when there are several larger attachments available (up to 1 minute).

Debugging shows that gs (ghostscript) is generating thumbnails for the pdf files every time the statement above is called from within the attachment element.

Commenting out that line results in the file type (document/image) not showing, and also Undefined variable: Media - but it works.

Task make fails (wrong path)

This is what I get when I try to cake media make :
Error: /home/bla/webroot/media/filter/xxs/media/ could not be created or is not writable.

This path is obviously wrong.

To fix:

Replace line 137
$subdir = array_pop(explode(DS, dirname($this->source)));
by
$subdir = implode(DS, array_slice(explode(DS, dirname($file)), -2, 2));

There is also a typo line 153 :
$Folder = new Folder($directory, $this->createDirectories);
Should be
$Folder = new Folder($directory, $this->_createDirectories);

PNGs (with alpha transparency) turn black

A: I'm trying to upload PNG files with alpha transparency on them, but they become uploaded with black color when transparency was before.

B: In windows the plugin can't convert the PNG files correctly; I get a whole black picture. The transfered picture is perfect, of course, but the filtered versions are all black, in their corresponding sizes.

Pdf upload: Uncaught exception 'BadMethodCallException' with message 'No source given.'

I have Imagick and Ghostscript on and running, I have checked it with simple php scripts.

The pdf gets uploaded into the transfer folder.

But I get a Fatal Error:


Fatal error: Uncaught exception 'BadMethodCallException' with message 'No source given.' in /usr/home/xy/domains/cake_1.3/cake_dc/plugins/media/libs/mm/src/Media/Process.php:49 Stack trace: #0 /usr/home/xy/domains/cake_1.3/cake_dc/plugins/media/libs/mm/src/Media/Process/Generic.php(114): Media_Process::factory(Array) #1 [internal function]: Media_Process_Generic->convert('image/png') #2 /usr/home/xy/domains/cake_1.3/cake_dc/plugins/media/models/behaviors/generator.php(208): call_user_func_array(Array, Array) #3 /usr/home/xy/domains/cake_1.3/cake/libs/model/model_behavior.php(171): GeneratorBehavior->makeVersion(Object(Someobj), '/usr/home/xy...', Array) #4 /usr/home/xy/domains/cake_1.3/cake/libs/model/model_behavior.php(467): ModelBehavior->dispatchMethod(Object(Someobj), 'makeVersion', Array) #5 /usr/home/xy/domains/cake_1.3/cake/libs/model/model.php(496): BehaviorCollection->dispatchMethod(Object(Someobj), 'makeVersion', Array) #6 /usr/home/xy/domains/cake_1.3/cake/libs/ov in /usr/home/xy/domains/cake_1.3/cake_dc/plugins/media/libs/mm/src/Media/Process.php on line 49

What I am doing wrong?

Plugin doesn't delete version files

When deleting a register the plugin only delete files on transfer directory, So while transfer dir get always clean and organized versions directoris (l,m,s) still keep all files which doest have no relation to the database anymore.

Please let me know if I'm missing some config setting to achieve this feature.

MediaHelper::url() unnecessary ?

I don't think it's a good idea for the Media helper to route urls of static files. AppHelper::url() isn't supposed to treat static files, hence why the function isn't called by Html::css(), script(), and the like.

In my case it causes issues because my AppHelper::url() adds language codes at the beginning of urls.

I suggest replacing all calls to MediaHelper::url() direclty to MediaHelper::webroot().

2 issues around hasMany with grouping

The first one is that if I use the example as it is, I got SQL errors, because the 'group' is a reserved word. This can be solved changing 'group' to 'groping' or something like that, or writing the conditions with Model.field.

If I change the field name to grouping, I get ambiguous SQL errors if I have more than one association with different aliases. This is solved with Model.field conditions.

But, If I set Model.field conditions in the associations, when I delete the Record, the associated records (in attachments) are not deleted, because the name ( and alias ) of the model is Attachment, and not the actual Alias I set. I'm not sure how to solve this right now. Maybe manually deleting the associated data and removing 'dependent' => true, or maybe parsing some info on the beforeFind and beforeDelete of the Attachments model... :)

Database doesn't get information if no image is uploaded

Hi All,

Hopefully I can get some assistance with the issue I'm having here.

I have the plugin installed and everything works fine until I choose to not upload an image. At this point none of the information from the post gets stored, even though it validates like everything went as it should.

I have looked a bit deeper and it seems that through the validation an image isn't required and the file upload box can be empty.

I'm kind of stumped.

Class 'Media' not found in line 142 of shells/media.php

I'm using a fresh cake 1.3.3 install and beta 1.3 of the media plugin:

Fatal error: Class 'Media' not found in /Users/rafaelvega/Projects/Active/Library/repo/php/media/plugins/media/vendors/shells/media.php on line 142

If it matters: MacOS 10.6.4, Apache 2.2.15, PHP 5.2.13

I added App::import('Lib', 'Media.Media'); to the beggining of the file and it seems to fix it.

Make components more independent by getting rid of assumptions on directory structure

[enhancement/bug/1.3x]

the plugin fails if you play around with the default directory structure a little.. for instance i've used the following:


MEDIA:
*/app/media/*
MEDIA_TRANSFER:
*/app/media/transfer/*
MEDIA_FILTER:
*/app/webroot/files*
MEDIA_STATIC:
*/app/webroot/static*

var $actsAs = array(
    'Media.Transfer' => array(
        'trustClient' => false, *// default*
        'baseDirectory' => MEDIA_TRANSFER, *// default*
        'createDirectory' => true, *// default*
        'overwrite' => true *// default*
        ),
    'Media.Generator' => array(
        'baseDirectory' => MEDIA, *// default*
        'filterDirectory' => MEDIA_FILTER, *// default*
        'createDirectory' => true *// default*
        ),
    'Media.Coupler' => array(
        'baseDirectory' => MEDIA *// default*
        ),
    'Media.Meta' => array(
        'level'  => 2 *// default*
        )
    );

now when saving a file and generating versions the following happens:
the file gets saved in:
/app/media/transfer/ img/somePicture.jpg (as expected)
but versions get saved in:
/app/webroot/files/ version/ transfer/img/somePicture.jpg (!?)


the reason this happens is that Generator's baseDirectory defaults to MEDIA (which in this case is /app/media/, this baseDirectory then get's removed from the absolute path [/app/media/transfer/ img/somePicture.jpg] to generate the relative path to the file which becomes transfer/ img/somePicture.jpg [oups - it should be img/somePicture.jpg])
so let's manually set Generator's baseDirectory:

var $actsAs = array(
    'Media.Generator' => array(
        'baseDirectory' => MEDIA_TRANSFER
        )

and see what happens..


Warning (2): imagecreatefromjpeg(/app/media/transfer/transfer/img/somePicture.jpg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory [APP/plugins/media/vendors/media/adapter/gd.php, line 82]
Warning (512): Media::make - Instruction ImageMedia::convert() failed. [APP/plugins/media/vendors/media/media.php, line 319]
Warning (512): GeneratorBehavior::make - Failed to make version version of file /app/media/transfer/transfer/img/somePicture.jpg. [APP/plugins/media/models/behaviors/generator.php, line 133]


ok.. so the path to the file is obviously broken with the double /transfer/ in there but how comes? well long story short - versions are made afterSave() and by then Coupler has stepped in and added its dirname of transfer/img (again, because it uses MEDIA, not MEDIA_TRANSFER)
so let's change Coupler's baseDirectory to MEDIA_TRANSFER as well:

var $actsAs = array(
    'Media.Coupler' => array(
        'baseDirectory' => MEDIA_TRANSFER
        )

Warning (2): imagecreatefromjpeg(/app/media/transfer/transfer/img/somePicture.jpg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory [APP/plugins/media/vendors/media/adapter/gd.php, line 82]
Warning (512): Media::make - Instruction ImageMedia::convert() failed. [APP/plugins/media/vendors/media/media.php, line 319]
Warning (512): GeneratorBehavior::make - Failed to make version version of file /app/media/transfer/transfer/img/somePicture.jpg. [APP/plugins/media/models/behaviors/generator.php, line 133]


this doesn't work either - same error message, why? well Coupler is smart and ignores baseDirectory settings if the model has also been bound to Transfer which it is in this case, but then it does something stupid:
it assumes that Transfer's baseDirectory (MEDIA_TRANSFER) has to be under MEDIA (which is Coupler's default baseDirectory), so it simply goes one directory up of Transfer's baseDirectory by turning:
/app/media/transfer/
into:
/app/media/

and that then fails since it gives us a dirname for each record of transfer/img which is appended to MEDIA_TRANSFER (/app/media/transfer/) which gives us the final /app/media/transfer/transfer/img/somePicture.jpg

so this can't be fixed by a simple config change anymore so let's change coupler.php line 59:

$settings['baseDirectory'] = dirname($transferSettings['baseDirectory']) . DS;

into:

$settings['baseDirectory'] = $transferSettings['baseDirectory'];

voila! - working..


now i thought about simply pushing this as a fix but i think this really requires a general design change.. (shell scripts and helper would need some changing too) at the moment the media plugin is designed in a paradox way.. it splits up file uploads into the following tasks: transfer, versioning and storing a file in a database.. this is brilliant, however, even though these parts are meant to work independent from each other they are bound together by a fixed file structure convention which assumes that all those different directories (/transfer/, /static/, /filter/) are encapsulated in one single directory (/media/).. i propose a design that stops assuming this and gets rid of the MEDIA constant altogether..
this would mean that Transfer defines the directory where all files are located using its baseDirectory setting..
Generator and Coupler inherit this setting from Transfer.. however Generator keeps its own filterDirectory setting which is used as the 'base directory' of versioned files..
it would give more flexibility yet still allow to build directories the current way (encapsulating everything in /media/)

any thoughts? i would be happy to push a few fixes for this myself.. in fact maybe we could get rid of the constants altogether but let me know what you think.. but maybe im overlooking something..

Support for adding MIME types

Via Brett H/Bakery:

But has anybody had the issue where xls files are recognised as application/msword mime type? It doesn't seem to be the code it seems to be how the magic.mime/php deals with mime types. Any ideas anyone?

BTW it happens on my Windows XP test server (WAMP) and my Centos 5.2 production server.

cake menu protect (switched argument order for strpos)

The media directories were created by 'cake media init' but I get the message:
../media/transfer/.htaccess is not in your webroot.

I found that switching the argument order for strpos resolves the issue and will create the .htaccess file

Line 202 of media/vendors/shells/media.php
if (strpos(WWW_ROOT, MEDIA_TRANSFER) === false) {

corrected:
if (strpos(MEDIA_TRANSFER, WWW_ROOT) === false) {

PDF upload using the plugin out of the box

Been trying to use Media plugin attachment function in a project. I followed the steps in the tutorial and i keep getting a resizing error every time i try uploading something.

Warning (512): Medium::make - Instruction DocumentMedium::convert() failed. [APP/plugins/media/vendors/medium/medium.php, line 302]
Warning (512): MediaBehavior::make - Failed to make version xxs of file /Applications/MAMP/htdocs/cakephp/media/transfer/doc/doorbell.pdf. [APP/plugins/media/models/behaviors/media.php, line 332]
Warning (512): MediaBehavior::make - Failed to make version s of file /Applications/MAMP/htdocs/cakephp/media/transfer/doc/doorbell.pdf. [APP/plugins/media/models/behaviors/media.php, line 332]
Warning (512): MediaBehavior::make - Failed to make version m of file /Applications/MAMP/htdocs/cakephp/media/transfer/doc/doorbell.pdf. [APP/plugins/media/models/behaviors/media.php, line 332]

Is it possible to help me excluding resizing of documents? Knowing that the user might be uploading any type of files.

Many thanks
Costa

About metadata

It should not be hard codded in media.php, but rather be generated by a $Meduim method...
And Adapters should be able to add new infos in metadata results...

Do anyone agreed with this?
If so, i'll submit a patch ;)

Windows compatibility

COMPATIBLE TEST:
All test cases which can run in a sequence

* Error
  Unexpected PHP error [mkdir() [<a href='http://php.net/function.mkdir'>function.mkdir</a>]: No such file or directory] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\folder.php line 466]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> start
* Error
  Unexpected PHP error [mkdir() [<a href='http://php.net/function.mkdir'>function.mkdir</a>]: No such file or directory] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\folder.php line 466]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> start
* Error
  Unexpected PHP error [mkdir() [<a href='http://php.net/function.mkdir'>function.mkdir</a>]: No such file or directory] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\folder.php line 466]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> start
* Error
  Unexpected PHP error [mkdir() [<a href='http://php.net/function.mkdir'>function.mkdir</a>]: No such file or directory] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\folder.php line 466]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> startCase
* Error
  Unexpected PHP error [mkdir() [<a href='http://php.net/function.mkdir'>function.mkdir</a>]: No such file or directory] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\folder.php line 466]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> startCase
* Error
  Unexpected PHP error [mkdir() [<a href='http://php.net/function.mkdir'>function.mkdir</a>]: No such file or directory] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\folder.php line 466]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> startCase
* Error
  Unexpected PHP error [mkdir() [<a href='http://php.net/function.mkdir'>function.mkdir</a>]: No such file or directory] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\folder.php line 466]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> testSetup
* Error
  Unexpected PHP error [mkdir() [<a href='http://php.net/function.mkdir'>function.mkdir</a>]: No such file or directory] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\folder.php line 466]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> testSetup
* Error
  Unexpected PHP error [mkdir() [<a href='http://php.net/function.mkdir'>function.mkdir</a>]: No such file or directory] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\folder.php line 466]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> testSetup
* Failed
  Equal expectation fails because [Integer: 0] differs from [Integer: 3] by 3 at [C:\xampp\htdocs\mediamanager\plugins\media\tests\cases\models\behaviors\media.test.php line 86]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> testFind
* Failed
  at [C:\xampp\htdocs\mediamanager\plugins\media\tests\cases\models\behaviors\media.test.php line 90]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> testFind
* Failed
  at [C:\xampp\htdocs\mediamanager\plugins\media\tests\cases\models\behaviors\media.test.php line 91]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> testFind
* Error
  Unexpected PHP error [mkdir() [<a href='http://php.net/function.mkdir'>function.mkdir</a>]: No such file or directory] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\folder.php line 466]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> testFind
* Error
  Unexpected PHP error [mkdir() [<a href='http://php.net/function.mkdir'>function.mkdir</a>]: No such file or directory] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\folder.php line 466]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> testFind
* Error
  Unexpected PHP error [mkdir() [<a href='http://php.net/function.mkdir'>function.mkdir</a>]: No such file or directory] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\folder.php line 466]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> testFind
* Failed
  Equal expectation fails as [Array: 1 items] does not match [Boolean: false] at [C:\xampp\htdocs\mediamanager\plugins\media\tests\cases\models\behaviors\media.test.php line 116]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> testSave
* Error
  Unexpected PHP error [mkdir() [<a href='http://php.net/function.mkdir'>function.mkdir</a>]: No such file or directory] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\folder.php line 466]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> testSave
* Error
  Unexpected PHP error [mkdir() [<a href='http://php.net/function.mkdir'>function.mkdir</a>]: No such file or directory] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\folder.php line 466]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> testSave
* Error
  Unexpected PHP error [mkdir() [<a href='http://php.net/function.mkdir'>function.mkdir</a>]: No such file or directory] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\folder.php line 466]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> testSave
* Error
  Unexpected PHP error [md5_file(C:\application-pdf.pdf) [<a href='http://php.net/function.md5-file'>function.md5-file</a>]: failed to open stream: No such file or directory] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 368]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> testSave
* Failed
  Equal expectation fails with member [0] with member [0] at character 0 with [C:\xampp\htdocs\mediamanager\tmp\tests\image-jpg.jpg] and [/image-jpg.jpg] at [C:\xampp\htdocs\mediamanager\plugins\media\tests\cases\models\behaviors\media.test.php line 158]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> testBeforeMake
* Error
  Unexpected PHP error [mkdir() [<a href='http://php.net/function.mkdir'>function.mkdir</a>]: No such file or directory] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\folder.php line 466]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> testBeforeMake
* Error
  Unexpected PHP error [mkdir() [<a href='http://php.net/function.mkdir'>function.mkdir</a>]: No such file or directory] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\folder.php line 466]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> testBeforeMake
* Error
  Unexpected PHP error [mkdir() [<a href='http://php.net/function.mkdir'>function.mkdir</a>]: No such file or directory] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\folder.php line 466]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> testBeforeMake
* Error
  Unexpected PHP error [imagecreatefromjpeg(C:\xampp\htdocs\mediamanager\tmp\tests\image-jpg.jpg) [<a href='http://php.net/function.imagecreatefromjpeg'>function.imagecreatefromjpeg</a>]: failed to open stream: No such file or directory] severity [E_WARNING] in [C:\xampp\htdocs\mediamanager\plugins\media\vendors\medium\adapter\gd.php line 81]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> testBeforeMake
* Error
  Unexpected PHP error [Medium::make - Instruction `ImageMedium::convert()` failed.] severity [E_USER_WARNING] in [C:\xampp\htdocs\mediamanager\plugins\media\vendors\medium\medium.php line 302]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> testBeforeMake
* Error
  Unexpected PHP error [MediaBehavior::make - Failed to make version `s` of file `C:\xampp\htdocs\mediamanager\tmp\tests\image-jpg.jpg`. ] severity [E_USER_WARNING] in [C:\xampp\htdocs\mediamanager\plugins\media\models\behaviors\media.php line 332]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> testBeforeMake
* Error
  Unexpected PHP error [imagecreatefromjpeg(C:\xampp\htdocs\mediamanager\tmp\tests\image-jpg.jpg) [<a href='http://php.net/function.imagecreatefromjpeg'>function.imagecreatefromjpeg</a>]: failed to open stream: No such file or directory] severity [E_WARNING] in [C:\xampp\htdocs\mediamanager\plugins\media\vendors\medium\adapter\gd.php line 81]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> testBeforeMake
* Error
  Unexpected PHP error [Medium::make - Instruction `ImageMedium::convert()` failed.] severity [E_USER_WARNING] in [C:\xampp\htdocs\mediamanager\plugins\media\vendors\medium\medium.php line 302]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> testBeforeMake
* Error
  Unexpected PHP error [MediaBehavior::make - Failed to make version `m` of file `C:\xampp\htdocs\mediamanager\tmp\tests\image-jpg.jpg`. ] severity [E_USER_WARNING] in [C:\xampp\htdocs\mediamanager\plugins\media\models\behaviors\media.php line 332]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> testBeforeMake
* Error
  Unexpected PHP error [mkdir() [<a href='http://php.net/function.mkdir'>function.mkdir</a>]: No such file or directory] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\folder.php line 466]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> endCase
* Error
  Unexpected PHP error [mkdir() [<a href='http://php.net/function.mkdir'>function.mkdir</a>]: No such file or directory] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\folder.php line 466]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> endCase
* Error
  Unexpected PHP error [mkdir() [<a href='http://php.net/function.mkdir'>function.mkdir</a>]: No such file or directory] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\folder.php line 466]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> endCase
* Error
  Unexpected PHP error [mkdir() [<a href='http://php.net/function.mkdir'>function.mkdir</a>]: No such file or directory] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\folder.php line 466]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> end
* Error
  Unexpected PHP error [mkdir() [<a href='http://php.net/function.mkdir'>function.mkdir</a>]: No such file or directory] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\folder.php line 466]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> end
* Error
  Unexpected PHP error [mkdir() [<a href='http://php.net/function.mkdir'>function.mkdir</a>]: No such file or directory] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\folder.php line 466]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\media.test.php -> MediaBehaviorTestCase -> end
* Failed
  at [C:\xampp\htdocs\mediamanager\plugins\media\tests\cases\models\behaviors\transfer.test.php line 138]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\transfer.test.php -> TransferBehaviorTestCase -> testDestinationFile
* Failed
  Equal expectation fails as [Boolean: false] does not match [String: C:\xampp\htdocs\mediamanager\tmp\test_suite\transfer\wei_rd_oe_file_name] at [C:\xampp\htdocs\mediamanager\plugins\media\tests\cases\models\behaviors\transfer.test.php line 139]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\transfer.test.php -> TransferBehaviorTestCase -> testDestinationFile
* Error
  Unexpected PHP error [copy(C:\xampp\htdocs\mediamanager\tmp) [<a href='http://php.net/function.copy'>function.copy</a>]: failed to open stream: Permission denied] severity [2] in [C:\xampp\htdocs\mediamanager\plugins\media\models\behaviors\transfer.php line 353]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\transfer.test.php -> TransferBehaviorTestCase -> testDestinationFile
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\image-jpg.jpg) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\transfer.test.php -> TransferBehaviorTestCase -> testDestinationFile
* Error
  Unexpected PHP error [touch() [<a href='http://php.net/function.touch'>function.touch</a>]: Unable to create file C:\xampp\htdocs\mediamanager\tmp\test_suite\wei?rd$ƃļæ½- FILE_name_ because No error] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 130]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\transfer.test.php -> TransferBehaviorTestCase -> testDestinationFile
* Error
  Unexpected PHP error [touch() [<a href='http://php.net/function.touch'>function.touch</a>]: Unable to create file C:\xampp\htdocs\mediamanager\tmp\test_suite\wei?rd$ƃļæ½- FILE_name_ because No error] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 130]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\transfer.test.php -> TransferBehaviorTestCase -> testDestinationFile
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\image-jpg.jpg) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\transfer.test.php -> TransferBehaviorTestCase -> testGetLastTransferredFile
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\ta.jpg) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\transfer.test.php -> TransferBehaviorTestCase -> testFileLocalToFileLocal
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\tb.jpg) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\transfer.test.php -> TransferBehaviorTestCase -> testFileLocalToFileLocal
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\tc.jpg) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\transfer.test.php -> TransferBehaviorTestCase -> testFileLocalToFileLocal
* Failed
  Identical expectation [String: application/octet-stream] fails with [String: image/jpeg] at character 0 with [application/octet-stream] and [image/jpeg] at [C:\xampp\htdocs\mediamanager\plugins\media\tests\cases\models\behaviors\transfer.test.php line 249]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\transfer.test.php -> TransferBehaviorTestCase -> testTrustClient
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\image-jpg.jpg) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\transfer.test.php -> TransferBehaviorTestCase -> testTrustClient
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\image-jpg.jpg) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\models\behaviors\transfer.test.php -> TransferBehaviorTestCase -> testTrustClient
* Failed
  at [C:\xampp\htdocs\mediamanager\plugins\media\tests\cases\vendors\media_validation.test.php line 164]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\media_validation.test.php -> MediaValidationTest -> testLocation
* Failed
  at [C:\xampp\htdocs\mediamanager\plugins\media\tests\cases\vendors\media_validation.test.php line 167]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\media_validation.test.php -> MediaValidationTest -> testLocation
* Failed
  at [C:\xampp\htdocs\mediamanager\plugins\media\tests\cases\vendors\media_validation.test.php line 170]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\media_validation.test.php -> MediaValidationTest -> testLocation
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\image-jpg.jpg) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\media_validation.test.php -> MediaValidationTest -> testFile
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\image-jpg.jpg) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\media_validation.test.php -> MediaValidationTest -> testFolder
* Skipped ffmpeg extention not loaded at [C:\xampp\htdocs\mediamanager\plugins\media\tests\cases\vendors\medium\adapter\ffmpeg_audio.test.php line 47]
* Skipped ffmpeg extention not loaded at [C:\xampp\htdocs\mediamanager\plugins\media\tests\cases\vendors\medium\adapter\ffmpeg_video.test.php line 47]
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\image-jpg.jpg) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testBasic
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\image-jpg.jpg) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testBasic
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\image-jpg.jpg) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testInformation
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\image-jpg.jpg) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testManipulation
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\image-jpg.jpg) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testManipulation
* Failed
  Equal expectation fails at character 0 with [d41d8cd98f00b204e9800998ecf8427e] and [fc5a49bb265ea1baa6094d289a4823b0] at [C:\xampp\htdocs\mediamanager\plugins\media\tests\cases\vendors\medium\adapter\gd.test.php line 89]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testManipulationWithAlphaTransparency8bit
* Failed
  Equal expectation fails at character 0 with [d41d8cd98f00b204e9800998ecf8427e] and [6230d343b932bfcf0996c7e0a291b677] at [C:\xampp\htdocs\mediamanager\plugins\media\tests\cases\vendors\medium\adapter\gd.test.php line 98]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testManipulationWithAlphaTransparency8bit
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\test8bit_man.jpg) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testManipulationWithAlphaTransparency8bit
* Error
  Unexpected PHP error [Medium::store - File `C:\xampp\htdocs\mediamanager\tmp\test_suite\test8bit_man.jpg` already exists.] severity [E_USER_NOTICE] in [C:\xampp\htdocs\mediamanager\plugins\media\vendors\medium\medium.php line 325]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testManipulationWithAlphaTransparency8bit
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\image-png.transparent.8bit.png) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testManipulationWithAlphaTransparency8bit
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\test8bit_man.png) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testManipulationWithAlphaTransparency8bit
* Error
  Unexpected PHP error [Medium::store - File `C:\xampp\htdocs\mediamanager\tmp\test_suite\test8bit_man.png` already exists.] severity [E_USER_NOTICE] in [C:\xampp\htdocs\mediamanager\plugins\media\vendors\medium\medium.php line 325]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testManipulationWithAlphaTransparency8bit
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\image-png.transparent.8bit.png) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testManipulationWithAlphaTransparency8bit
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\test8bit_man.jpg) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testManipulationWithAlphaTransparency8bit
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\test8bit_man.png) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testManipulationWithAlphaTransparency8bit
* Failed
  Equal expectation fails at character 0 with [d41d8cd98f00b204e9800998ecf8427e] and [1719836a4b39bc56bf119975785292f8] at [C:\xampp\htdocs\mediamanager\plugins\media\tests\cases\vendors\medium\adapter\gd.test.php line 109]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testManipulationWithAlphaTransparency16bit
* Failed
  Equal expectation fails at character 0 with [d41d8cd98f00b204e9800998ecf8427e] and [f8c84870bd6cf656e9dcaba1cbf26636] at [C:\xampp\htdocs\mediamanager\plugins\media\tests\cases\vendors\medium\adapter\gd.test.php line 118]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testManipulationWithAlphaTransparency16bit
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\test16bit_man.jpg) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testManipulationWithAlphaTransparency16bit
* Error
  Unexpected PHP error [Medium::store - File `C:\xampp\htdocs\mediamanager\tmp\test_suite\test16bit_man.jpg` already exists.] severity [E_USER_NOTICE] in [C:\xampp\htdocs\mediamanager\plugins\media\vendors\medium\medium.php line 325]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testManipulationWithAlphaTransparency16bit
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\image-png.transparent.16bit.png) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testManipulationWithAlphaTransparency16bit
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\test16bit_man.png) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testManipulationWithAlphaTransparency16bit
* Error
  Unexpected PHP error [Medium::store - File `C:\xampp\htdocs\mediamanager\tmp\test_suite\test16bit_man.png` already exists.] severity [E_USER_NOTICE] in [C:\xampp\htdocs\mediamanager\plugins\media\vendors\medium\medium.php line 325]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testManipulationWithAlphaTransparency16bit
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\image-png.transparent.16bit.png) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testManipulationWithAlphaTransparency16bit
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\test16bit_man.jpg) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testManipulationWithAlphaTransparency16bit
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\test16bit_man.png) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testManipulationWithAlphaTransparency16bit
* Failed
  at [C:\xampp\htdocs\mediamanager\plugins\media\tests\cases\vendors\medium\adapter\gd.test.php line 126]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testCompress
* Failed
  at [C:\xampp\htdocs\mediamanager\plugins\media\tests\cases\vendors\medium\adapter\gd.test.php line 132]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testCompress
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\test-compress-1.5.jpg) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testCompress
* Error
  Unexpected PHP error [Medium::store - File `C:\xampp\htdocs\mediamanager\tmp\test_suite\test-compress-1.5.jpg` already exists.] severity [E_USER_NOTICE] in [C:\xampp\htdocs\mediamanager\plugins\media\vendors\medium\medium.php line 325]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testCompress
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\test-compress-1.5.png) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testCompress
* Error
  Unexpected PHP error [Medium::store - File `C:\xampp\htdocs\mediamanager\tmp\test_suite\test-compress-1.5.png` already exists.] severity [E_USER_NOTICE] in [C:\xampp\htdocs\mediamanager\plugins\media\vendors\medium\medium.php line 325]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testCompress
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\image-jpg.jpg) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testCompress
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\test-compress-1.5.jpg) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testCompress
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\image-png.png) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testCompress
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\test-compress-1.5.png) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\adapter\gd.test.php -> GdMediumAdapterTest -> testCompress
* Skipped Getid3 not in vendor at [C:\xampp\htdocs\mediamanager\plugins\media\tests\cases\vendors\medium\adapter\getid3_audio.test.php line 51]
* Skipped Getid3 not in vendor at [C:\xampp\htdocs\mediamanager\plugins\media\tests\cases\vendors\medium\adapter\getid3_video.test.php line 51]
* Skipped Imagick extension not loaded at [C:\xampp\htdocs\mediamanager\plugins\media\tests\cases\vendors\medium\adapter\imagick.test.php line 57]
* Skipped convert command not available at [C:\xampp\htdocs\mediamanager\plugins\media\tests\cases\vendors\medium\adapter\imagick_shell.test.php line 58]
* Skipped PearMp3 not in vendor at [C:\xampp\htdocs\mediamanager\plugins\media\tests\cases\vendors\medium\adapter\pear_mp3.test.php line 52]
* Skipped gs command not available at [C:\xampp\htdocs\mediamanager\plugins\media\tests\cases\vendors\medium\document.test.php line 38]
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\image-jpg.jpg) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\image.test.php -> ImageMediumTest -> testInformation
* Skipped gs command not available at [C:\xampp\htdocs\mediamanager\plugins\media\tests\cases\vendors\medium\image.test.php line 63]
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\application-pdf.pdf) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\image.test.php -> ImageMediumTest -> testTransitions
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\application-pdf.pdf) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\image.test.php -> ImageMediumTest -> testTransitions
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\image-jpg.jpg) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\medium.test.php -> MediumTest -> testMediumFactory
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\image-png.png) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\medium.test.php -> MediumTest -> testMediumFactory
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\image-gif.gif) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\medium.test.php -> MediumTest -> testMediumFactory
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\text-plain.txt) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\medium.test.php -> MediumTest -> testMediumFactory
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\application-pdf.pdf) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\medium.test.php -> MediumTest -> testMediumFactory
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\image-jpg.jpg) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\medium.test.php -> MediumTest -> testMediumNameAndShort
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\image-png.png) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\medium.test.php -> MediumTest -> testMediumNameAndShort
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\image-gif.gif) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\medium.test.php -> MediumTest -> testMediumNameAndShort
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\text-plain.txt) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\medium.test.php -> MediumTest -> testMediumNameAndShort
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\application-pdf.pdf) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\medium.test.php -> MediumTest -> testMediumNameAndShort
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\image-jpg.jpg) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\medium\medium.test.php -> MediumTest -> testMake
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\glob.apache.snippet.db) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_glob.test.php -> MimeGlobTest -> testFormat
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\glob.freedesktop.snippet.db) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_glob.test.php -> MimeGlobTest -> testFormat
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\glob.apache.snippet.db) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_glob.test.php -> MimeGlobTest -> testRead
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\glob.freedesktop.snippet.db) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_glob.test.php -> MimeGlobTest -> testRead
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\glob.apache.snippet.db) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_glob.test.php -> MimeGlobTest -> testToArrayAndRead
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\glob.apache.snippet.db) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_glob.test.php -> MimeGlobTest -> testAnalyzeFail
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\glob.freedesktop.snippet.db) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_glob.test.php -> MimeGlobTest -> testAnalyzeFail
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\glob.apache.snippet.db) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_glob.test.php -> MimeGlobTest -> testApacheAnalyze
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\glob.apache.snippet.db) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_glob.test.php -> MimeGlobTest -> testApacheAnalyzeReverse
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\glob.freedesktop.snippet.db) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_glob.test.php -> MimeGlobTest -> testFreedesktopAnalyze
* Skipped Skipping [MimeGlobTest]. No shipped glob db. at [C:\xampp\htdocs\mediamanager\plugins\media\tests\cases\vendors\mime_glob.test.php line 172]
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\text-html.snippet.html) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testFormat
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\magic.apache.snippet.db) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testFormat
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\magic.freedesktop.snippet.db) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [E_WARNING] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testFormat
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\magic.apache.snippet.db) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testRead
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\magic.freedesktop.snippet.db) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testRead
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\magic.apache.snippet.db) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testToArrayAndRead
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\magic.apache.snippet.db) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testAnalyzeFail
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\magic.freedesktop.snippet.db) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testAnalyzeFail
* Skipped Skipping [MimeMagicTest]. No shipped magic db. at [C:\xampp\htdocs\mediamanager\plugins\media\tests\cases\vendors\mime_magic.test.php line 90]
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\ms.snippet.avi) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testShippedAnalyze
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\image-gif.gif) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testShippedAnalyze
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\application-pdf.pdf) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testShippedAnalyze
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\postscript.snippet.ps) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testShippedAnalyze
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\tar.snippet.tar) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testShippedAnalyze
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\wave.snippet.wav) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testShippedAnalyze
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\3gp.snippet.3gp) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testShippedAnalyze
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\bzip2.snippet.bz2) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testShippedAnalyze
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\video.snippet.mp4) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testShippedAnalyze
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\gzip.snippet.gz) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testShippedAnalyze
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\text-html.snippet.html) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testShippedAnalyze
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\image-jpeg.snippet.jpg) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testShippedAnalyze
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\video-mpeg.snippet.mpeg) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testShippedAnalyze
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\video-ogg.snippet.ogv) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testShippedAnalyze
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\audio-ogg.snippet.ogg) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testShippedAnalyze
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\image-png.png) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testShippedAnalyze
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\text-rtf.snippet.rtf) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testShippedAnalyze
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\ms-word.snippet.doc) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testShippedAnalyze
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\xml.snippet.xml) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testShippedAnalyze
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\video-flash.snippet.flv) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testShippedAnalyze
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\audio.snippet.snd) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testShippedAnalyze
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\audio-apple.snippet.aiff) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testShippedAnalyze
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\flash.snippet.swf) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testShippedAnalyze
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\audio-mpeg.snippet.m4a) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testShippedAnalyze
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\audio-musepack.snippet.mpc) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testShippedAnalyze
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\video-quicktime.snippet.mov) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:\xampp\htdocs\cake_1.2.3.8166\cake\libs\file.php line 292]
  AllCompatibleGroupTest -> C:\xampp\htdocs\mediamanager\plugins\media\tests\groups\..\cases\\vendors\mime_magic.test.php -> MimeMagicTest -> testShippedAnalyze
* Error
  Unexpected PHP error [unlink(C:\xampp\htdocs\mediamanager\tmp\test_suite\video-ms.snippet.wmv) [<a href='http://php.net/function.unlink'>function.unlink</a>]: Permission denied] severity [2] in [C:

cake shell can't find plugin

I have downloaded the plugin and put it in the plugins folder (subfolder renamed to media) and added the require statement to my config/core.php, but when I run cake media init, cake can't find the plugin. First time I have used a plugin, so I don't know if this an issue with the plugin or cakephp

attachment element: no preview available

No preview pictures are shown when using the standard element.

Changed it to look like this, now it works. But is this the cleanest way or have I not configured something correctly?

....
/*                      if ($file = $this->Media->file($item)) { 
was like above, but condition never met, so changed to line below:
*/
                         if ($file = $media->file($item['dirname'].'/'.$item['basename']) ) {
                                $url = $this->Media->url($file);

/*                              echo $this->Media->embed($this->Media->file($previewVersion . '/', $item), array(
                                      'restrict' => array('image')
                              ));
replaced 3 lines above with line below:
 */ 
                              echo $this->Media->embed($this->Media->file($previewVersion.'/'.$item['dirname'].'/'.$item['basename']) );

                                $Media = Media::factory($file);
                                $size = $this->Media->size($file);

                                if (isset($this->Number)) {
                                        $size = $this->Number->toReadableSize($size);
                                } else {
                                        $size .= ' Bytes';
                                }
                                printf('%sĀ (%s/%s) %s',
...

Documentation typos / minor fixes

Here are some fixes for typos and other minor issues in the documentation files. The most common error seems to be confusion between "it's" and "its".

Making the file upload optional doesn't work

I have tried everything, but it won't save any record in the DB that doesn't have a file uploaded with it. I have tried setting allowEmpty to true and required to false, but it never works. It always fails in the beforeValidate function in the transfer behavior.

inaccurate docblock inside media helper

docbloc inside Media helper is refering to 'Media.Medium' instead of 'Media.Media', also consider bringing back WIKI pages here on GitHub - i am feeling little lost without those information.

Media behavior on edit

The media behavior also needs to trigger versions when editing a record as well. A common example would be updating a product image for an existing product.

Replace ffmpeg adapter with ffmpeg shell adapter

hey,

i was wondering if "native ffmpeg support" (as suggest in the media plugin presentation @cakefest berlin) means direct interaction with ffmpeg or via the php extension ffmpeg-php. Obviously, the latter is the case.
People might run into troubles when installing ffmpeg and ffmpeg-php on their system since the compliation of ffmpeg with libswscale causes screenshot extraction via ffmpeg-php to fail (as written in the respective google group). moreover, newer releases of ffmpeg do not include the option to compile ffmpeg without this library anymore (as i had to experience). might be possible to still compile without, i just don't know how to. and i don't know that disfunction that causes in ffmpeg itself.

considering all this i suggest the implementation of a ffmpeg adapter that interacts with ffmpeg directly via command line. however i cannot judge if and how this would affect security issues. i hope some linux pros can comment on that.

besides, ffmpeg-php extension can be an annoying bitch considering compilation etc. but that might just be due to my own incompetence (however, google tells me i am not alone).

i opened a discussion thread in google group here: http://groups.google.com/group/cake-php/browse_thread/thread/f6a66f984d57f3dd

Files from filter directory are not deleted

I'm using included Attachment model. When I'm adding img file "cover.jpg" everything is ok:

webroot\media\transfer\img\cover.jpg - Added
webroot\media\filter\l\img\cover.jpg - Added
webroot\media\filter\m\img\cover.jpg - Added
webroot\media\filter\s\img\cover.jpg - Added

but when I'm trying to delete record from database:

webroot\media\transfer\img\cover.jpg - Deleted
webroot\media\filter\l\img\cover.jpg - Not Deleted
webroot\media\filter\m\img\cover.jpg - Not Deleted
webroot\media\filter\s\img\cover.jpg - Not Deleted

It's not big deal but if I have new file with name "cover.jpg" and I trying add it then files from filter directory are not replaced.

File field doesnt get populated when using Media behavior

If I have just the transfer behavior installed for a model it fills in the file field within the database, however when I add the media behavior to resize the images it doesnt save the file path into the database.

Im pretty sure this happens on line 157 of the media behavior.

Can I ask why this happens?

Fatal error: Imagick class doesn't exists on 1.3.x when imagick is not installed.

Hello.

I found an issue on 1.3.x when imagick is not installed.
The error is php fatal error "Fatal error: Imagick class doesn't exists"

I think it caused by Media_Info attempt to load Imagick class even if imagick is not installed.
Because default setting Media_Info::config on config/core.php in your plugin require Imagick.

So I fixed config/core.php on line 217 in your plugin followings:

  • 'image' => array('ImageBasic', 'Imagick'),
  • 'image' => $hasImagick ? array('ImageBasic', 'Imagick') : array('ImageBasic'),

It worked!

Thanks for your great work :)

Class 'Mime_Type' not found

One of your most recent commits on 1.3 causes the following error :

Class 'Mime_Type' not found plugins/media/views/helpers/media.php on line 192

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.