schmunk42/p3media

sh: file: command not found

Marat opened this issue · 4 comments

p3media\controllers\ImportController.php

219
-- if (!$mime = exec("file -bI " . escapeshellarg($fullFilePath))) {
++if (!$mime = mime_content_type(escapeshellarg($fullFilePath))) {

but i cant see uploaded files

Hi Marat,

thanks for the snippet, I also had problems with this code on a production server.
I think I'll use your update.
p3media is not released yet, but I hope to create the first release this week.

Best regards,
schmunk

  1. maybe export p3media from phundament2?
  2. And where modules p3widgetmanage p3pagemanager p3backend from install manual https://github.com/schmunk42/phundament/wiki/Installation?

fixed

For a complete clone of phundament do

git clone --recursive https://github.com/schmunk42/phundament.git phundament

I am working on a setup script at the moment.

[edit]
See the complete installation instructions here :)
https://github.com/schmunk42/phundament

Am 10.10.2011 um 21:06 schrieb Marat:

  1. maybe export p3media from phundament2?
  2. And where modules p3widgetmanage p3pagemanager p3backend from install manual https://github.com/schmunk42/phundament/wiki/Installation?

Reply to this email directly or view it on GitHub:
#1 (comment)

#Contact
schmunk@usrbin.de
skype://schmunk23
http://usrbin.de

#Social
http://www.facebook.com/schmunk42
munk/20/a67/380
http://twitter.com/schmunk42
https://www.xing.com/profile/Tobias_Munk
http://www.linkedin.com/pub/tobias-

#OpenSource
https://github.com/schmunk42
http://phundament.com/
http://lithron.de/

#Music
http://www.lastfm.de/user/schmunk42