usuallyneedhelp Posted November 5, 2009 Posted November 5, 2009 Hi, i really hope someone can help me. I am hosting on a windows server 2003, PHP Version 4.3.10. i recently move hosting provider and uploaded my site via FTP and setup database etc, everything appears to be working correctly however for some unknown reason no images are showing on the website. When i view the source of the page i can see that the img src= is looking at product_thumb.php?img=images/nameofproduct.jpg&w=65&h=100 i understand this is the dynamic resizing however i dont understand why it still wont display the image. if i go directly to the images/nameofproduct.jpg the image will display! 1 more thing when i type the above url direct in my browser http://www.mydomain.com/product_thumb.php?img=images/nameofproduct.jpg&w=65&h=100 all i get is a page with the URL on. hope this helps and i look forward to someone helping me! Thanks
spooks Posted November 5, 2009 Posted November 5, 2009 try disableing the thumbnailer, see what happens then, also check your configure settings. These are examples of both configure files with locations CATALOG/ADMIN/INCLUDES/CONFIGURE.PHP define('HTTP_SERVER', 'http://www.my-site.co.uk'); define('HTTP_CATALOG_SERVER', 'http://www.my-site.co.uk'); define('HTTPS_CATALOG_SERVER', 'http://www.my-site.co.uk'); define('DIR_WS_HTTP_CATALOG', '/servername/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/servername/catalog/'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/home/servername/public_html/catalog/'); define('DIR_WS_ADMIN', '/catalog/admin/'); define('DIR_FS_ADMIN', '/home/servername/public_html/catalog/admin/'); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', '/home/servername/public_html/catalog/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); CATALOG/INCLUDES/CONFIGURE.PHP define('HTTP_SERVER', 'http://www.my_site.co.uk'); define('HTTPS_SERVER', 'http://www.my_site.co.uk'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'www.my_site.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'www.my_site.co.uk'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/servername/public_html/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', 'Localhost'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); if your store is in the root remove catalog/ above Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
usuallyneedhelp Posted November 6, 2009 Author Posted November 6, 2009 Hi, Thanks for you help. What would be the quickest way to disable the thumbnailer ?
spooks Posted November 6, 2009 Posted November 6, 2009 Hi, Thanks for you help. What would be the quickest way to disable the thumbnailer ? check in the docs for the contrib you added, there is usually a setting in admin. Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
usuallyneedhelp Posted November 6, 2009 Author Posted November 6, 2009 i have now viewed the source of the page when typing in the URL: http://www.mydomain.com/product_thumb.php?img=images/productname.jpg&w=75&h=56 and i now can see this error: <br /> <b>Warning</b>: imagejpeg(): Unable to open 'thumbnails/images/productname.jpg.thumb_326x245.jpg' for writing in <b>C:\Home\t\h\website\www\product_thumb.php</b> on line <b>270</b><br /> <br /> <b>Warning</b>: Cannot modify header information - headers already sent by (output started at C:\Home\t\h\website\www\product_thumb.php:270) in <b>C:\Home\t\h\website\www\product_thumb.php</b> on line <b>133</b><br />
Recommended Posts
Archived
This topic is now archived and is closed to further replies.