Images And Layout Not Showing

Hi,

I've recently moved a cs-cart version 2 community edition to a new hosting. Everything's working well except for images and layout not showing.

Any ideas as to why?

Here's the error log:

[15-Aug-2017 14:48:59 Asia/Kuala_Lumpur] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0

[15-Aug-2017 14:48:59 Asia/Kuala_Lumpur] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/sqlite.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
[15-Aug-2017 14:48:59 Asia/Kuala_Lumpur] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ixed.5.3.lin' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ixed.5.3.lin: cannot open shared object file: No such file or directory in Unknown on line 0

The GD library is probably not installed on your server.

Had a check from phpinfo:

gd

			GD Support 
		
			enabled 
	
			GD Version 
		
			bundled (2.1.0 compatible) 
	
			FreeType Support 
		
			enabled 
	
			FreeType Linkage 
		
			with freetype 
	
			FreeType Version 
		
			2.4.11 
	
			GIF Read Support 
		
			enabled 
	
			GIF Create Support 
		
			enabled 
	
			JPEG Support 
		
			enabled 
	
			libJPEG Version 
		
			6b 
	
			PNG Support 
		
			enabled 
	
			libPNG Version 
		
			1.5.13 
	
			WBMP Support 
		
			enabled 
	
			XPM Support 
		
			enabled 
	
			libXpm Version 
		
			30411 
	
			XBM Support 
		
			enabled
	

Does this mean it's installed?

My bad. I read your original post too fast. However, there is something wrong with your php,inii file. See if you have an empty "extension=" in your php.ini file or duplicate lines.

I see, here's the content of the file:

; Enable Experimental v5 IonCube Loader extension module

```php
zend_extension = "/opt/cpanel/ea-php56/root/usr/lib64/php/modules/ioncube_loader_lin_5.6.so"
extension = suhosin.so
extension = bcmath.so
extension = bz2.so
extension = calendar.so
extension = ctype.so
extension = curl.so
extension = dom.so
extension = enchant.so
extension = exif.so
extension = fileinfo.so
extension = ftp.so
extension = gd.so
extension = gettext.so
extension = iconv.so
extension = imap.so
extension = intl.so
extension = json.so
engine = On
short_open_tag = On
asp_tags = Off
precision = 12
output_buffering = Off
zlib.output_compression = Off
implicit_flush = Off
unserialize_callback_func =
serialize_precision = 100
disable_functions =
disable_classes =
expose_php = On
max_execution_time = 300
max_input_time = 60
memory_limit = 128M
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
display_errors = Off
display_startup_errors = Off
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
track_errors = Off
error_log = error_log
variables_order = "EGPCS"
register_argc_argv = On
post_max_size = 8M
gpc_order = "GPC"
auto_prepend_file =
auto_append_file =
default_mimetype = "text/html"
include_path = ".:/usr/lib/php:/usr/local/lib/php"
doc_root =
user_dir =
enable_dl = On
file_uploads = On
upload_max_filesize = 20M
allow_url_fopen = On
default_socket_timeout = 60
extension = mbstring.so
extension = mcrypt.so
extension = mysqlnd.so
extension = mysqlnd_mysql.so
extension = mysqlnd_mysqli.so
extension = pdo.so
extension = pdo_mysqlnd.so
extension = pdo_sqlite.so
extension = phar.so
extension = posix.so
extension = pspell.so
extension = simplexml.so
extension = soap.so
extension = sockets.so
extension = ixed.5.6.lin
extension = sqlite3.so
extension = tidy.so
extension = tokenizer.so
extension = xml.so
extension = wddx.so
extension = xmlreader.so
extension = xmlrpc.so
extension = xmlwriter.so
extension = xsl.so
zend_extension = "/opt/cpanel/ea-php56/root/usr/lib64/php/modules/ZendGuardLoader.so"
zend_extension = "/opt/cpanel/ea-php56/root/usr/lib64/php/modules/opcache.so"
extension = zip.so
zend.enable_gc = On
html_errors = On
request_order = "GP"
auto_globals_jit = On
max_file_uploads = 20
allow_url_include = Off
[Syslog]
[mail function]
smtp_port = 25
sendmail_path = "/usr/sbin/sendmail -t -i"
mail.add_x_header = On
[Java]
[SQL]
sql.safe_mode = Off
[ODBC]
odbc.allow_persistent = On
odbc.check_persistent = On
odbc.max_persistent = -1
odbc.max_links = -1
odbc.defaultlrl = 4096
odbc.defaultbinmode = 1
[MySQL]
mysql.allow_persistent = Off
mysql.max_persistent = -1
mysql.max_links = -1
mysql.default_port =
mysql.default_socket =
mysql.default_host =
mysql.default_user =
mysql.default_password =
mysql.connect_timeout = 60
mysql.trace_mode = Off
mysql.allow_local_infile = On
mysql.cache_size = 2000
[mSQL]
msql.allow_persistent = On
msql.max_persistent = -1
msql.max_links = -1
[PostgresSQL]
pgsql.allow_persistent = On
pgsql.auto_reset_persistent = Off
pgsql.max_persistent = -1
pgsql.max_links = -1
pgsql.ignore_notice = 0
pgsql.log_notice = 0
[Sybase]
sybase.allow_persistent = On
sybase.max_persistent = -1
sybase.max_links = -1
sybase.min_error_severity = 10
sybase.min_message_severity = 10
sybase.compatability_mode = Off
[Sybase-CT]
sybct.allow_persistent = On
sybct.max_persistent = -1
sybct.max_links = -1
sybct.min_server_severity = 10
sybct.min_client_severity = 10
[dbx]
dbx.colnames_case = "unchanged"
[bcmath]
bcmath.scale = 0
[browscap]
[Informix]
[Session]
session.save_handler = files
session.save_path = /tmp
session.use_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = "/"
session.cookie_domain =
session.serialize_handler = php
session.gc_probability = 1
session.gc_divisor = 100
session.gc_maxlifetime = 1440
session.referer_check =
session.entropy_length = 0
session.entropy_file =
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 0
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
session.use_strict_mode = 0
session.use_only_cookies = 1
session.cookie_httponly =
session.bug_compat_42 = On
session.bug_compat_warn = On
session.hash_function = 0
session.hash_bits_per_character = 5
[MSSQL]
mssql.allow_persistent = On
mssql.max_persistent = -1
mssql.max_links = -1
mssql.min_error_severity = 10
mssql.min_message_severity = 10
mssql.compatability_mode = Off
mssql.secure_connection = Off
[Assertion]
[Ingres II]
ingres.allow_persistent = On
ingres.max_persistent = -1
ingres.max_links = -1
ingres.default_database =
ingres.default_user =
ingres.default_password =
[Verisign Payflow Pro]
[com]
[Printer]
[mbstring]
[FrontBase]
[Crack]
[exif]
date.timezone = "Asia/Kuala_Lumpur"
[CLI Server]
cli_server.color = On
[Date]
date.timezone = "UTC"
[filter]
[iconv]
[intl]
[sqlite]
[sqlite3]
[Pcre]
[Pdo]
[Pdo_mysql]
pdo_mysql.cache_size = 2000
pdo_mysql.default_socket =
[Phar]
[Interbase]
ibase.allow_persistent = 1
ibase.max_persistent = -1
ibase.max_links = -1
ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
ibase.dateformat = "%Y-%m-%d"
ibase.timeformat = "%H:%M:%S"
[MySQLi]
mysqli.max_persistent = -1
mysqli.allow_persistent = On
mysqli.max_links = -1
mysqli.cache_size = 2000
mysqli.default_port = 3306
mysqli.default_socket =
mysqli.default_host =
mysqli.default_user =
mysqli.default_pw =
mysqli.reconnect = Off
[mysqlnd]
mysqlnd.collect_statistics = On
mysqlnd.collect_memory_statistics = Off
[OCI8]
[PostgreSQL]
pgsql.allow_persistent = On
pgsql.auto_reset_persistent = Off
pgsql.max_persistent = -1
pgsql.max_links = -1
pgsql.ignore_notice = 0
pgsql.log_notice = 0
[gd]
[Tidy]
tidy.clean_output = Off
[soap]
soap.wsdl_cache_enabled = 1
soap.wsdl_cache_dir = "/tmp"
soap.wsdl_cache_ttl = 86400
soap.wsdl_cache_limit = 5
[sysvshm]
[ldap]
ldap.max_links = -1
[mcrypt]
[dba]
[curl]

Not sure. You probably need to contact your server admin. I would probably rebuild php.

I see, thank you. Anyone else would like to help, please?

In the config.local.php file try to replace

'image_resize_lib' => 'auto',

with

'image_resize_lib' => 'gd',

or

'image_resize_lib' => 'imagick',

Try both variants

Hi eComLabs,

The line does not exist in the config.local.php file.

Hi eComLabs,

The line does not exist in the config.local.php file.

Ah, I see, you use 2 version. Did you set up 777 permissions on the images directory?

Yes, it is 777. It's still not working though.

And yes, it's ver 2 community edition

Got any ideas, eComLabs?

Got any ideas, eComLabs?

I have no idea. But most possibly this is server side issue. Try to contact server administrator