RareIntent Posted December 27, 2004 Posted December 27, 2004 Banner manager not working in admin area. This is the error info- Warning: imagepng(): Unable to open 'images/graphs/banner_infobox-1.png' for writing in /home/emporium/public_html/admin/includes/classes/phplot.php on line 482 And can this be the reason my banner system in the index page doesn't work? How to fix???? Thanks, Derek
markmca Posted December 27, 2004 Posted December 27, 2004 Banner manager not working in admin area. This is the error info- Warning: imagepng(): Unable to open 'images/graphs/banner_infobox-1.png' for writing in /home/emporium/public_html/admin/includes/classes/phplot.php on line 482 And can this be the reason my banner system in the index page doesn't work? How to fix???? Thanks, Derek <{POST_SNAPBACK}> You are getting the error because the images folder or the graphs folder does not have write persmissions. So change the permissions for the folder graphs and then try it i think it should work. :thumbsup:
RareIntent Posted December 27, 2004 Author Posted December 27, 2004 You are getting the error because the images folder or the graphs folder does not have write persmissions. So change the permissions for the folder graphs and then try it i think it should work. :thumbsup: <{POST_SNAPBACK}> Thanks, that worked...now for banners not showing up on front page at bottom...double checked and have banners set up and live but still don't show...any solutions? Thanks
boxtel Posted December 27, 2004 Posted December 27, 2004 Thanks, that worked...now for banners not showing up on front page at bottom...double checked and have banners set up and live but still don't show...any solutions? Thanks <{POST_SNAPBACK}> may want to check your banner group name Treasurer MFC
RareIntent Posted December 27, 2004 Author Posted December 27, 2004 may want to check your banner group name <{POST_SNAPBACK}> changed banner group names in banner manager.....anywhare else I should check,,,,still not showing banners on pages for some reason. Here's my footer code... <?php /* $Id: footer.php,v 1.26 2003/02/10 22:30:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ require(DIR_WS_INCLUDES . 'counter.php'); ?> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="footer"> <td class="footer"> <?php echo strftime(DATE_FORMAT_LONG); ?> </td> <td align="right" class="footer"> <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?> </td> </tr> </table> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText"> <?php /* The following copyright announcement can only be appropriately modified or removed if the layout of the site theme has been modified to distinguish itself from the default osCommerce-copyrighted theme. For more information please read the following Frequently Asked Questions entry on the osCommerce support site: http://www.oscommerce.com/community.php/faq,26/q,50 Please leave this comment intact together with the following copyright announcement. */ echo FOOTER_TEXT_BODY ?> </td> </tr> </table> <?php if ($banner = tep_banner_exists('dynamic', '468x50')) { ?> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center"><?php echo tep_display_banner('static', $banner); ?></td> </tr> </table> <?php } ?> ...is this where I also comment out the counter sine on left?- and how...put the / where ?? Thanks
boxtel Posted December 27, 2004 Posted December 27, 2004 changed banner group names in banner manager.....anywhare else I should check,,,,still not showing banners on pages for some reason. Here's my footer code... <?php /* $Id: footer.php,v 1.26 2003/02/10 22:30:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright ? 2003 osCommerce Released under the GNU General Public License */ require(DIR_WS_INCLUDES . 'counter.php'); ?> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="footer"> <td class="footer"> <?php echo strftime(DATE_FORMAT_LONG); ?> </td> <td align="right" class="footer"> <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?> </td> </tr> </table> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText"> <?php /* The following copyright announcement can only be appropriately modified or removed if the layout of the site theme has been modified to distinguish itself from the default osCommerce-copyrighted theme. For more information please read the following Frequently Asked Questions entry on the osCommerce support site: http://www.oscommerce.com/community.php/faq,26/q,50 Please leave this comment intact together with the following copyright announcement. */ echo FOOTER_TEXT_BODY ?> </td> </tr> </table> <?php if ($banner = tep_banner_exists('dynamic', '468x50')) { ?> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center"><?php echo tep_display_banner('static', $banner); ?></td> </tr> </table> <?php } ?> ...is this where I also comment out the counter sine on left?- and how...put the / where ?? Thanks <{POST_SNAPBACK}> well, your footer is looking for this group "468x50" if ($banner = tep_banner_exists('dynamic', '468x50')) { Treasurer MFC
RareIntent Posted December 27, 2004 Author Posted December 27, 2004 well, your footer is looking for this group "468x50" if ($banner = tep_banner_exists('dynamic', '468x50')) { <{POST_SNAPBACK}> That did the trick...had name wrong...thanks. D
Recommended Posts
Archived
This topic is now archived and is closed to further replies.