Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Broken / Missing Thumbnails and Images


micromatikal

Recommended Posts

I believe the PHP version may have changed on my hosting server, at least the configuration of the php. Nothing at all changed on my site but suddenly all images and thumbnails are gone.

 

I do get:

 

PHP Notice: Undefined variable: filename in ....product_thumb.php on line 107

 

However I think it's received that error all along.

 

This is the configure from the php on the server, any insight would be greatly appreciated. I am sure it's something simple but I am not sure what I am missing!

 

 

 

PHP Version 5.1.6

 

'./configure' '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib64' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-expat-dir=/usr' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-kerberos' '--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr' '--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--with-mime-magic=/usr/share/file/magic.mime' '--without-sqlite' '--with-libxml-dir=/usr' '--with-xml' '--with-system-tzdata' '--with-apxs2=/usr/sbin/apxs' '--without-mysql' '--without-gd' '--without-odbc' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter'

 

Thanks,

Tim

Link to comment
Share on other sites

I noticed where the issue seems to come from, previously the images were generated / retrieved via PHP somehow, currently the images point to things such as:

 

http://www.companydomain.co.uk/catalog/images/

 

Where as before they were:

 

http://www.companydomain.co.uk/catalog/product_thumb.php?img=images/amd.jpg&w=100&h=66

 

 

Again the only thing that has changed is the version of PHP on the server, can anyone point me to the php module that takes care of this function? Sometime must map these products to the appropriate thumbnail...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...