mariuswilms / media Goto Github PK
View Code? Open in Web Editor NEWCakePHP 1.3 plugin enabling transfer/manipulation/embedding of files in 23 ways.
License: Other
CakePHP 1.3 plugin enabling transfer/manipulation/embedding of files in 23 ways.
License: Other
xx xx xxxx xxx x xxx x x x x x x x x x x x x x xxxx xxx x x x Plugin for CakePHP ---- A CakePHP plugin enabling transfer/manipulation/embedding of files in 23 ways. Synopsis -------- This plugin was conceived as a thorough solution to all the needs coming from dealing with media files in a web application. Moreover the idea is to show how much a well maintained plugin can be worth it and inspire others to do the same. The plugin slowly evolved (and in fact still does) from a very distinct set of tightly coupled components into something much more flexible. This allows you to use only the functionality you really need. Status ------ Originally written for CakePHP 1.2 and 1.3 and maintained since as early as 2007 this project keeps on moving slowly but steady. Versions compatible with CakePHP 1.3 are actively maintained and developed. There will be no a port of it lead by myself - yet - to make it compatible with CakePHP 2.x or any future version thereafter. Installation ------------ Add the plugin as a submodule to an exisiting app repository. $ cd /path/to/project $ git submodule add \ https://github.com/davidpersson/media.git \ app/plugins/media $ git submodule update --init --recursive In order to bootstrap, load the plugin's configuration file; preferably from within your app's main configuration file (config/core.php) like this: // ... require APP . 'plugins/media/config/media.php'; // ... Documentation ------------- A FAQ, migration instructions and a tutorial are available in the `docs/` subdirectory. For more information consult the API documentation in the source code. Getting Help ------------ You can post questions regarding the usage of the plugin to the very active Official CakePHP Mailinglist (http://groups.google.com/group/cake-php). When question are answered there it helps everybody reading the list. Commercial support is available. You may book me for paid professional support. Contact me for more details: [email protected] For bugs please do not mail me directly, but use the project's issue tracker instead: https://github.com/davidpersson/media/issues Authors ------- See the AUTHORS file. Copyright & License ------------------- Media Plugin for CakePHP is Copyright (c) 2007-2013 David Persson if not otherwise stated. The code is distributed under the terms of the MIT License. For the full license text see the LICENSE file. Versions & Requirements ----------------------- 1.4.0, CakePHP 1.3.x, PHP >=5.4.0 (in progress) 1.3.0, CakePHP 1.3.x, PHP >=5.2.1 0.6.x, CakePHP 1.2.x, PHP >=5.1.0 0.5.x, CakePHP 1.2.x, PHP >=5.1.0 Please see the corresponding docs/CHANGES-*.x file for migration and update instructions. The plugin is known to run fine under linux and darwin. There exist some issues on windows (http://github.com/davidpersson/media/issues#issue/8), though. History ------- This plugin has originally written for CakePHP 1.2 and 1.3 and maintained since as early as 2007. It forms my very first successful open source project. It's originally been written to scratch my own itch, namely http://npiece.com. With version 1.3.0, the plugin comes bundled with the mm library replacing classes related to media processing, metadata and MIME-types. Please see the documentation of the mm library (https://github.com/davidpersson/mm) for additonal requirements and information. Versions prior to 1.3.0 used to follow a different naming scheme. This has been changed in retrospect (i.e. 0.6x is now known as 0.6.x) in order to make a clean and comprehensible chronology. In 2012 I've stopped maintaining this plugin as I saw myself overwhelmed with the task of both moving the project forward, making it compatible to future CakePHP versions. In 2013 I've restarted maintaining this plugin with a narrowed down roadmap. I figured out if I'd just support 1.3 for now and all in all move a bit more slow - I could still keep on maintaining. I'm seeing how this plugin is adding missing functionality to the CakePHP universe and indeed useful to a lot of CakePHP users. Thanks for all the discussion surrounding this plugin, the support, watching, following and contributions! Future ------ To keep maintainance cost low this plugin will try to reduce framework specific code and re-use external libraries. Sometimes what appears to be framework specific can be made generic and extracted into such an external library. Parts of this plugin have already been extracted and live under: https://github.com/davidpersson/mm
hey, i'm obviously too stupid to get it up and running (like medium helper for example...). is there a board to post stupid questions? =)
thx
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... :)
[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.
[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..
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) {
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.
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.
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]
[/code]
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
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:
It worked!
Thanks for your great work :)
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
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',
...
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:
What I am doing wrong?
If possible replace adapters relying on 3rd party libs with a own solution (e.g. PearText)
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.
Imagick_shell convert will create multiple images with -0, -1,...-n suffix and then temporary images can not be processed!
Add ability to convert audio to an image media. Should be added to all audio adapters where 3rd party libs support it.
Example: GetId3AudioAdapter::convert method
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
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.
https://github.com/davidpersson/media/blob/1.3/models/behaviors/coupler.php#L217
I would suggest to remove this line or have an option to control it. It's an issue when using with other models which the attachment is optional.
...This is duplicated with #issue/49
Array generated from Media.filter in __construct is incorrect, merges values from all attachments types
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.
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
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 :)
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.
After deleting a record with a model attached to the transfer behavior, the behavior should delete the file.
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?
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.
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:
http://github.com/davidpersson/media/blob/master/views/elements/attachments.ctp
It would be helpful if you also included a variant of this element that could be used for situations where only a single attachment needs saved (hasOne).
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
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;
}
}
}
}
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".
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.
On lines 55 and 79 it should read
list($width, $height) ...
Instead of
list($widht, $height)
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.
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
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 ;)
it looks like Coupler is deleting only transferred file version, phpdoc says that it should delete generated versions also but currentlny it doesn`t.
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 :
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 !
In /view/elements/attachment.ctp the $previewVersion is 'xxs', so the element will not work out-of-the-box as the 'xxs' version in not generated. Changing it to 's' resolve.
Thanks.
Allow for multiple source and destination (direct transfer) adapters:
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
Documentation on media processing library is needed.
What is capable of?
Usage?
How to customize it? Adapters?
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().
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.
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);
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)
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ššš
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ā¤ļø Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.