when im click the product download link, its show me below error:
Warning: filesize() [function.filesize]: stat failed for catalogues/catalog_1.pdf in /home/pchardwa/public_html/pdf_catalogue_info.php on line 97 Downloadable catalog (0.00 MB)
<?php
/******************************************************************************/
/* PDF Catalogs v.2.0.1 for osCommerce v.2.2 MS2 */
/* */
/* by Infobroker (info@cooleshops.de), April 2006 */
/* by Antonios THROUVALAS (antonios@throuvalas.net), April 2004 */
/* by Mitch O`Brian (mitchobrian.de), juli2004 2004 */
/* by Nicolas Hilly (n.hilly@laposte.net), August 2004 */
/* by Christophe Buchi (chris@butch.ch), September 2004 */
/* by Ryan Kononoff (ryankononoff@shaw.ca), October 2004 */
/* */
/* Based on PDF Catalogs v.1.4 by gurvan.riou@laposte.net */
/* */
/* Uses FPDF (http://www.fpdf.org), Version 1.52, by Olivier PLATHEY */
/* modified by Infobroker */
/* */
/* Credit goes also to: */
/* - Yamasoft (http://www.yamasoft.com/php-gif.zip) for their GIF class, */
/* - Jerome FENAL (jerome.fenal@logicacmg.com) for introducing GIF Support */
/* in the FPDF Class, */
/* - The osC forums members (forums.oscommerce.com)! */
/* */
/* Please donate to the osCommerce Core Team! */
/* Freeware, You may use, modify and redistribute this software as you wish! */
/******************************************************************************/
require('includes/application_top.php');
require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PDF_CATALOGUE);
$breadcrumb->add(NAvb script:history.back()" TARGET="_self">'.PDF_TXT_ERROR2 ."</a>".PDF_TXT_ERROR3;
}
//********************************************************************************
****************************************
?>
</td>
</tr>
<tr>
<td class="main" align="center"><?php echo TEXT_PDF_DOWNLOAD; ?></td>
</tr>
<tr>
<td class="main" align="center"><?php
echo '<a href="http://www.adobe.com/products/acrobat/readstep2.html" target="_blank">';
echo tep_image(DIR_WS_IMAGES . 'getacro.gif');
?></a></td>
</tr>
<tr>
<td class="main" align="center"><?php echo TEXT_PDF_END; ?></td>
</tr>
<tr>
<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
<tr class="infoBoxContents">
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
<td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td>
<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
<!-- body_text_eof //-->
</tr>
</table>
<!-- body_eof //-->
<!-- footer //-->
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<!-- footer_eof //-->
<br>
</body>
</html>
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
Edited by tangwaichee, 26 December 2007, 14:41.














