look at previous posts on routing. You need to either use some rule
in .htaccess or add some custome routes.

cakephp is expecting to see a controller called uploads..

On Sep 1, 8:36 pm, kujina <[EMAIL PROTECTED]> wrote:
> Please check out my simple job board here:
>
> http://82.34.51.7/jobboard
>
> My problem is with the "Application Pack" documents, the url path to
> the file is not complete!
>
> When you click to open a file, this error displays "Error: The
> requested address '/uploads/App-Form_010908-202743.doc' was not found
> on this server."
>
> In the "application_config.php" file I have this:
>
> // URL path where the uploaded docs can be accessed
> define('UPLOADS_URL', 'http://82.34.51.7/jobboard/uploads');
>
> In the "view.ctp" file I have this:
>
> <legend>Application Pack</legend>
>         <?php echo $html->image('pdf-icon.gif', array('alt'=>'',
> 'style'=>'vertical-align: bottom; margin-right: 5px')) ?><?php echo
> $html->link('Application Form', UPLOADS_URL . "/{$job['Job']
> ['application_form_doc']}", array('style'=>'color: #000; text-
> decoration: none')); ?><br />
>         <?php echo $html->image('pdf-icon.gif', array('alt'=>'',
> 'style'=>'vertical-align: bottom; margin-right: 5px')) ?><?php echo
> $html->link('Job Description', UPLOADS_URL . "/{$job['Job']
> ['job_description_doc']}", array('style'=>'color: #000; text-
> decoration: none')); ?><br />
>         <?php echo $html->image('pdf-icon.gif', array('alt'=>'',
> 'style'=>'vertical-align: bottom; margin-right: 5px')) ?><?php echo
> $html->link('Information', UPLOADS_URL . "/{$job['Job']
> ['information_doc']}", array('style'=>'color: #000; text-decoration:
> none')); ?>
>     </fieldset>
>
> Can anyone please help?
>
> ...Thanks...

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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