Jump to content
Latest News: (loading..)

eclecticus

Members
  • Content count

    8
  • Joined

  • Last visited

Everything posted by eclecticus

  1. eclecticus

    [contribution] Simple Template System (sts)

    http://www.oscbooks.com/support.php
  2. eclecticus

    [contribution] Simple Template System (sts)

    http://www.oscbooks.com/support.php
  3. eclecticus

    [contribution] Simple Template System (sts)

    http://www.oscbooks.com/support.php
  4. it is a server error. contact the admin or check the server log what went wrong.
  5. could and would you help me with a problem concerning the contribution otf thumbnailer? i am trying to find out what it is for months now and i am getting nowhere. the error that comes up is: Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/includes/languages/dutch/images/icon.gif) is not within the allowed path(s): (/www/htdocs/hancy:/tmp) in /www/htdocs/hancy/admin/includes/functions/html_output.php on line 72 and the listing of html_output.php until line 75 is below. i checked the code with the readme a hundred times and stil can't find where i went wrong. thanks in advance <?php /* $Id: html_output.php,v 1.29 2003/06/25 20:32:44 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ //// // The HTML href link wrapper function function tep_href_link($page = '', $parameters = '', $connection = 'NONSSL') { if ($page == '') { die('</td></tr></table></td></tr></table><br><br><font color="#ff0000"><b>Error!</b></font><br><br><b>Unable to determine the page link!<br><br>Function used:<br><br>tep_href_link(\'' . $page . '\', \'' . $parameters . '\', \'' . $connection . '\')</b>'); } if ($connection == 'NONSSL') { $link = HTTP_SERVER . DIR_WS_ADMIN; } elseif ($connection == 'SSL') { if (ENABLE_SSL == 'true') { $link = HTTPS_SERVER . DIR_WS_ADMIN; } else { $link = HTTP_SERVER . DIR_WS_ADMIN; } } else { die('</td></tr></table></td></tr></table><br><br><font color="#ff0000"><b>Error!</b></font><br><br><b>Unable to determine connection method on a link!<br><br>Known methods: NONSSL SSL<br><br>Function used:<br><br>tep_href_link(\'' . $page . '\', \'' . $parameters . '\', \'' . $connection . '\')</b>'); } if ($parameters == '') { $link = $link . $page . '?' . SID; } else { $link = $link . $page . '?' . $parameters . '&' . SID; } while ( (substr($link, -1) == '&') || (substr($link, -1) == '?') ) $link = substr($link, 0, -1); return $link; } function tep_catalog_href_link($page = '', $parameters = '', $connection = 'NONSSL') { if ($connection == 'NONSSL') { $link = HTTP_CATALOG_SERVER . DIR_WS_CATALOG; } elseif ($connection == 'SSL') { if (ENABLE_SSL_CATALOG == 'true') { $link = HTTPS_CATALOG_SERVER . DIR_WS_CATALOG; } else { $link = HTTP_CATALOG_SERVER . DIR_WS_CATALOG; } } else { die('</td></tr></table></td></tr></table><br><br><font color="#ff0000"><b>Error!</b></font><br><br><b>Unable to determine connection method on a link!<br><br>Known methods: NONSSL SSL<br><br>Function used:<br><br>tep_href_link(\'' . $page . '\', \'' . $parameters . '\', \'' . $connection . '\')</b>'); } if ($parameters == '') { $link .= $page; } else { $link .= $page . '?' . $parameters; } while ( (substr($link, -1) == '&') || (substr($link, -1) == '?') ) $link = substr($link, 0, -1); return $link; } //// // The HTML image wrapper function // "On the Fly" Auto Thumbnailer using GD Library, servercaching and browsercaching // Scales product images dynamically, resulting in smaller file sizes, and keeps // proper image ratio. Used in conjunction with product_thumb.php t/n generator. function tep_image($src, $alt = '', $width = '', $height = '', $params = '') { // if no file exists display the 'no image' file if (!is_file($src)) { $src = "images/no_image.jpg"; }
  6. check these lines in \admin\includes\configure.php at about line 23 --> define('DIR_WS_IMAGES', 'images/'); line 25 --> define('DIR_WS_CATALOG_IMAGES', '../images/'); if the last line is like define('DIR_WS_CATALOG_IMAGES', 'images/'); it partly causes the open_basedir restriction error. i now and then have the error in certain circumstances. good luck.
  7. hi, i have the same here. Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/includes/languages/dutch/images/icon.gif) is not within the allowed path(s): (/www/htdocs/hancy:/tmp) in /www/htdocs/hancy/admin/includes/functions/html_output.php on line 72 is this a known issue? anybody a solution? thanks in advance.
×