If It Not One Thing It's Another.

My CS-Cart 4.3.3 decided all by itself to behave very badly.
See attached screen shot.

So...I installed the same version in a separate folder at root.

Went to import products to test for functionality and go...

Fatal error: Call to undefined method Tygh\Tools\ImageHelper::originalProportionsFallback() in /home/jameshou/public_html/app/functions/fn.images.phpon line 911

The empty store behaved well.

Question.

Can I replace the misbehaving store files with files from

the functioning copy ??

Namely these folders and all contents

App

Design

Var

Js

jhserror9nov16.jpg

OK. Almost there.

I installed a fresh copy of 4.3.3 in a new folder ( at root )

restored a backup from my old store and copied the Images folder

to the new store.

The shop front now works perfectly BUT I can't get into admin.

Actually I did access admin but when I saw the top menu ( admin. settings etc ) missing

so I moved the htaccess file ( which I had omitted from the initial transfer ) to root.

I checked config.local.php ...OK

www.xxxxxxxxx.com redirected you too many times.


Can the current htaccess be preventing operation.

DirectoryIndex index.html index.php


# Compress HTML, CSS, JavaScript, Text, XML, fonts
AddOutputFilterByType DEFLATE application/javascript application/x-javascript text/javascript application/json
AddOutputFilterByType DEFLATE application/x-font application/x-font-opentype application/x-font-otf application/x-font-truetype application/x-font-ttf font/opentype font/otf font/ttf application/x-woff application/x-font-woff
AddOutputFilterByType DEFLATE text/css text/html text/plain


# Remove browser bugs (only needed for really old browsers)
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
Header append Vary User-Agent





Header set Access-Control-Allow-Origin "*"



# Cache all images for 2 weeks


ExpiresActive on
ExpiresDefault "access plus 2 weeks"





Header set Cache-Control "max-age=1209600"





RewriteEngine on
# Please note that RewriteBase setting is obsolete use it only in case you experience some problems with SEO addon.
# Some hostings require RewriteBase to be uncommented
# Example:
# Your store url is http://www.yourcompany.com/store/cart
# So "RewriteBase" should be:
# RewriteBase /store/cart
# RewriteBase /
Options -MultiViews

RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

RewriteCond %{REQUEST_URI} ^api/(.*)$ [or]
RewriteCond %{REQUEST_URI} .*/api/(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .*api/(.*)$ api.php?_d=$1 [L,QSA]

RewriteCond %{REQUEST_URI} \.(png|gif|ico|swf|jpe?g|js|css|ttf|svg|eot|woff|yml|xml)$ [or]
RewriteCond %{REQUEST_URI} store_closed.html$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*?)\/(.*)$ $2 [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L,QSA]



# This prevents possible problems when downloading files

php_flag zlib.output_compression Off

Are paths in config local set correct? Clear all in /var/cache

/*
 * Script location options
 *
 *	Example:
 *	Your url is http://www.yourcompany.com/store/cart
 *	$config['http_host'] = 'www.yourcompany.com';
 *	$config['http_path'] = '/store/cart';
 *
 *	Your secure url is https://secure.yourcompany.com/secure_dir/cart
 *	$config['https_host'] = 'secure.yourcompany.com';
 *	$config['https_path'] = '/secure_dir/cart';
 *
 */

Yes all settings were spot on. I even changed all the settings

in the original dysfunctional store I had stuffed into a new folder.

Thankfully it 'appears' to have been a prolongation thing.

All smooth now.

WHEW !!

Thanks heaps anyway Darius because most times it really

is the simplest things that are overlooked.