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 cake-php@googlegroups.com
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