Got the issue... Getting the service restarted on linux machine fixed
the problem... :(..
Now stuck into another issue.. This is more of swfupload issue but
still going ahead .. :)

Swf upload is not posting the file to the desired post target. Here is
what i wrote in demo's upload.php but the string 'Invoked' never comes
out on screen.

<?php
        if (isset($_POST["PHPSESSID"])) {
                session_id($_POST["PHPSESSID"]);
        }
        session_start();

        echo ' Invoked';
        if (!isset($_FILES["Filedata"]) || !
is_uploaded_file($_FILES["Filedata"]["tmp_name"]) ||

$_FILES["Filedata"]["error"] != 0) {
                // Usually we'll only get an invalid upload if our PHP.INI 
upload
sizes are smaller than the size of

the file we allowed
                // to be uploaded.
                header("HTTP/1.1 500 File Upload Error");
                if (isset($_FILES["Filedata"])) {
                        echo $_FILES["Filedata"]["error"];
                }
                exit(0);
        }
?>

Please help if any one faced a similar issue..

Thanks.
On Jan 24, 2:41 pm, "Novice Programmer" <[EMAIL PROTECTED]>
wrote:
> yups you are write.. finally the only solution left is to install apache on
> my local machine.. :(.
>
> On 1/24/08, b logica <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
>
> > On Jan 23, 2008 7:40 AM, Novice Programmer <[EMAIL PROTECTED]>
> > wrote:
> > > I am running on a shared server.. so /etc/logs is not accesible to me.
> > dont
> > > know if cake also makes some log or some thing like that some where?
>
> > Cake's logging mechanism works like so (in your controller):
>
> > // writes to /tmp/logs/error.log
> > $this->log('your msg');
>
> > // writes to /tmp/logs/debug.log
> > $this->log('your msg', LOG_DEBUG);
>
> > However, in your case, neither of these will help because Apache is
> > throwing a 500 error, which means that your Cake app hasn't done
> > anything. Your only recourse is to check the Apache error log. As you
> > don't have access to that you've got a bit of a problem.
>
> > But you can be confident that your Cake app isn't the cause. My guess
> > is that you've got something amiss in one of your .htaccess files,
> > which Apache uses, not Cake. Try backing up them up (the one in
> > webroot and the other one at the same level as webroot dir) and
> > replace them with clean, untouched copies .
>
> > Of course, if you haven't made any changes to either of these then
> > that's not going to help. But, keep in mind that a 500 error is
> > probably not being caused by something like a syntax error in your
> > code. It's more likely something that Apache is tripping on before it
> > even passes the request to Cake (or even PHP).
>
> > I'd also suggest that you install a webserver on your desktop machine
> > so that you can get through (most of) the bugs before uploading to a
> > remote box you have little access to. The LAMP/WAMP setups seem to be
> > popular and (mostly) pretty easy to install.
>
> --
> Thanks & Regards,
> Novice (http://ishuonweb.wordpress.com/).- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to