On Fri, Feb 4, 2011 at 2:48 PM, newguy wrote:
> no its not working, i get the following error:
>
> Error: The requested address '/users/display/game' was not found on
> this server.
If debug is set to 0 and there's any kind of non-fatal error, Cake
throws a 404. It's possible you have an error so
Please help someone, am stuck
On Feb 4, 11:48 am, newguy wrote:
> no its not working, i get the following error:
>
> Error: The requested address '/users/display/game' was not found on
> this server.
>
> Moreover all the file extensions are fixed to be zip and I have files
> on my disk under
no its not working, i get the following error:
Error: The requested address '/users/display/game' was not found on
this server.
Moreover all the file extensions are fixed to be zip and I have files
on my disk under gamefiles folder in app folder. On clicking link
three I want game.zip to be downl
On Fri, Feb 4, 2011 at 3:20 AM, newguy wrote:
> In continuation of the previous post:
> In my site on page display there are 4 links and user clicks on it to
> download 4 different files. This is the cpt file for this:
>
> Select the game to download
>
> link('Game 1',array('action'=>'download'))
On Fri, Feb 4, 2011 at 2:50 AM, newguy wrote:
> Hi I did what was suggested in the above post and now this is my
> download function:
>
> function download ($slug = null)
> {
> $this->view = 'Media';
> $params = array(
> 'id' => 'example.zip,
> 'name
In continuation of the previous post:
In my site on page display there are 4 links and user clicks on it to
download 4 different files. This is the cpt file for this:
Select the game to download
link('Game 1',array('action'=>'download')); ?>
link('Game 2',array('action'=>'download1')); ?>
link('G
Hi I did what was suggested in the above post and now this is my
download function:
function download ($slug = null)
{
$this->view = 'Media';
$params = array(
'id' => 'example.zip,
'name' => 'example',
'download' => true,
On Tue, Feb 1, 2011 at 9:57 PM, newguy wrote:
> Hi
> I want to download four different files through 4 different links, I
> am using Media View to download file but I have to hardcode the file
> name in the download function in controller:
>
> function download () {
> $this->view = 'Media';
Hi
I want to download four different files through 4 different links, I
am using Media View to download file but I have to hardcode the file
name in the download function in controller:
function download () {
$this->view = 'Media';
$params = array(
'id' => 'example.zi