No, its still not working
I might just move to Ubuntu Linux to see if that solves the problem...
On Jan 24, 2008 8:46 AM, b logica [EMAIL PROTECTED] wrote:
On Jan 24, 2008 12:53 AM, bob [EMAIL PROTECTED] wrote:
Just magic.mime
Maybe it's a Windows thing. Try adding the following to
Take a look at this bug report on PECL:
http://pecl.php.net/bugs/bug.php?id=7391
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To
And also on this google search result:
http://www.google.com/search?aq=fhl=enclient=firefox-arls=org.mozilla%3Ade%3Aofficialhs=yOlq=pecl+fileinfo+supplied+argument+is+not+a+valid+file_infobtnG=Search
--~--~-~--~~~---~--~~
You received this message because you are
On Jan 24, 2008 12:53 AM, bob [EMAIL PROTECTED] wrote:
Just magic.mime
Maybe it's a Windows thing. Try adding the following to your php.ini:
[mime_magic]
mime_magic.debug = On
mime_magic.magicfile = 'c:\magic.mime'
--~--~-~--~~~---~--~~
You received this
Sorry, you're right, var_dump($handle) returns false... I can open the magic
file.
No, open_basedir and safe_mode are not enabled. Should I enable them? What
should i set them to? thanks.
On Jan 22, 2008 8:51 PM, b logica [EMAIL PROTECTED] wrote:
On Jan 22, 2008 5:17 PM, bob [EMAIL PROTECTED]
Here is something interesting:
1) if i have the following:
$handle = finfo_open(FILEINFO_MIME);
The output i get is finfo_open()
[function.finfo-openhttp://php.net/function.finfo-open]:
Failed to load magic database at '(null)'.
2) if i have the following:
$handle =
No I've been googling for solutions but there is no one with similar
situation...
On Jan 23, 2008 6:01 AM, Chris Hartjes [EMAIL PROTECTED] wrote:
On Jan 23, 2008 3:38 AM, bob [EMAIL PROTECTED] wrote:
What does this mean?
I think it means that this is not a Cake problem, but a fileinfo
On Jan 23, 2008 3:10 PM, bob [EMAIL PROTECTED] wrote:
No I've been googling for solutions but there is no one with similar
situation...
Fair enough...but would you not agree that this is not a CakePHP issue
at this point?
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from
agree .. so any recommendation on where to get help?
On Jan 23, 2008 12:27 PM, Chris Hartjes [EMAIL PROTECTED] wrote:
On Jan 23, 2008 3:10 PM, bob [EMAIL PROTECTED] wrote:
No I've been googling for solutions but there is no one with similar
situation...
Fair enough...but would you not
On Jan 23, 2008 3:32 PM, bob [EMAIL PROTECTED] wrote:
agree .. so any recommendation on where to get help?
/me sighs
*Not* on a mailing list for CakePHP for starters.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants to handling snakes...
@TheKeyBoard:
might start with http://www.php.net/support.php and the php general list there
Sam D
On Jan 23, 2008 1:32 PM, bob [EMAIL PROTECTED] wrote:
agree .. so any recommendation on where to get help?
On Jan 23, 2008 12:27 PM, Chris Hartjes [EMAIL PROTECTED] wrote:
On Jan 23, 2008 3:10 PM,
what OS are you guys using?
On Jan 23, 2008 12:34 PM, Samuel DeVore [EMAIL PROTECTED] wrote:
might start with http://www.php.net/support.php and the php general list
there
Sam D
On Jan 23, 2008 1:32 PM, bob [EMAIL PROTECTED] wrote:
agree .. so any recommendation on where to get help?
On Jan 23, 2008 1:48 PM, bob [EMAIL PROTECTED] wrote:
what OS are you guys using?
mac os x (10.3, 10.4, 10.5) for various installs
installs on shared servers running linux (who knows what flavors)
a solaris box
my iphone (no just kidding)
--~--~-~--~~~---~--~~
On Jan 23, 2008 3:38 AM, bob [EMAIL PROTECTED] wrote:
Here is something interesting:
1) if i have the following:
$handle = finfo_open(FILEINFO_MIME);
The output i get is finfo_open() [function.finfo-open]: Failed to load
magic database at '(null)'.
2) if i have the following:
Just magic.mime
On Jan 23, 2008 7:46 PM, b logica [EMAIL PROTECTED] wrote:
On Jan 23, 2008 3:38 AM, bob [EMAIL PROTECTED] wrote:
Here is something interesting:
1) if i have the following:
$handle = finfo_open(FILEINFO_MIME);
The output i get is finfo_open()
Hi
I am having trouble getting the PHP PECL fileinfo component to work. I
am using Cakephp 1.2, XAMPP in WIndows Vista environment.
I have the following code:
$file = C:\xampp\htdocs\app\webroot\pics\file.jpg;
$handle = finfo_open(FILEINFO_COMPRESS,'c:/magic');//
FILEINFO_COMPRESS,c:/magic);
On Jan 22, 2008 4:24 AM, bob [EMAIL PROTECTED] wrote:
Hi
I am having trouble getting the PHP PECL fileinfo component to work. I
am using Cakephp 1.2, XAMPP in WIndows Vista environment.
I have the following code:
$file = C:\xampp\htdocs\app\webroot\pics\file.jpg;
$handle =
Thanks for your reply. I don't think it is case sensitive, nor do i think
that the backslash direction matters (I've tested it with same errors).
I am aware about putting the exit() but i just commented it out so i could
see what happens
if it tried to do this
On Jan 22, 2008 2:41 PM, bob [EMAIL PROTECTED] wrote:
Thanks for your reply. I don't think it is case sensitive, nor do i think
that the backslash direction matters (I've tested it with same errors).
I am aware about putting the exit() but i just commented it out so i could
see what happens
var_dump() returns null. debug() does not return any extra useful info.
[sigh...]
On Jan 22, 2008 12:08 PM, b logica [EMAIL PROTECTED] wrote:
On Jan 22, 2008 2:41 PM, bob [EMAIL PROTECTED] wrote:
Thanks for your reply. I don't think it is case sensitive, nor do i
think
that the backslash
anybody face a similar issue?
On Jan 22, 2008 2:17 PM, bob [EMAIL PROTECTED] wrote:
var_dump() returns null. debug() does not return any extra useful info.
[sigh...]
On Jan 22, 2008 12:08 PM, b logica [EMAIL PROTECTED] wrote:
On Jan 22, 2008 2:41 PM, bob [EMAIL PROTECTED] wrote:
On Jan 22, 2008 5:17 PM, bob [EMAIL PROTECTED] wrote:
var_dump() returns null. debug() does not return any extra useful info.
[sigh...]
Hmm ... shouldn't be null. Anything in the error log? Maybe the magic
file can't be opened? Although, I'd think it's return false in that
case.
Do you have
22 matches
Mail list logo