I done what needed to be done with the config in admin & root folder! - Long story short, i've given up now and reverted back.
Something is weird since changing these.
as you can see on below image the store URL was different before making changes and its making my website act weird! any help would be very much appreciated!
Attachments
store.jpg (19.21 KiB) Viewed 2059 times
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'http://www.lovesuperstore.co.uk/admin/');
define('HTTPS_CATALOG', 'http://www.lovesuperstore.co.uk/');
// HTTPS
define('HTTPS_SERVER', 'https://www.lovesuperstore.co.uk/admin/');
define('HTTPS_CATALOG', 'https://www.lovesuperstore.co.uk/');
// DIR
define('DIR_APPLICATION', '/home/lovesupe/public_html/admin/');
define('DIR_SYSTEM', '/home/lovesupe/public_html/system/');
define('DIR_IMAGE', '/home/lovesupe/public_html/image/');
define('DIR_LANGUAGE', '/home/lovesupe/public_html/admin/language/');
define('DIR_TEMPLATE', '/home/lovesupe/public_html/admin/view/template/');
define('DIR_CONFIG', '/home/lovesupe/public_html/system/config/');
define('DIR_CACHE', '/home/lovesupe/public_html/system/storage/cache/');
define('DIR_DOWNLOAD', '/home/lovesupe/public_html/system/storage/download/');
define('DIR_LOGS', '/home/lovesupe/public_html/system/storage/logs/');
define('DIR_MODIFICATION', '/home/lovesupe/public_html/system/storage/modification/');
define('DIR_UPLOAD', '/home/lovesupe/public_html/system/storage/upload/');
define('DIR_CATALOG', '/home/lovesupe/public_html/catalog/');
// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', '*************');
define('DB_PASSWORD', '*************');
define('DB_DATABASE', 'lovesupe_shop');
define('DB_PORT', '3306');
define('DB_PREFIX', 'oc_');
Code: Select all
// HTTP
define('HTTP_SERVER', 'http://www.lovesuperstore.co.uk/admin/');
define('HTTPS_CATALOG', 'http://www.lovesuperstore.co.uk/');
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'http://www.lovesuperstore.co.uk/admin/');
define('HTTP_CATALOG', 'http://www.lovesuperstore.co.uk/');
// HTTPS
define('HTTPS_SERVER', 'http://www.lovesuperstore.co.uk/admin/');
define('HTTPS_CATALOG', 'http://www.lovesuperstore.co.uk/');
<?php
Code: Select all
// HTTP
define('HTTP_SERVER', 'https://www.lovesuperstore.co.uk/admin/');
define('HTTP_CATALOG', 'https://www.lovesuperstore.co.uk/');
// HTTPS
define('HTTPS_SERVER', 'https://www.lovesuperstore.co.uk/admin/');
define('HTTPS_CATALOG', 'https://www.lovesuperstore.co.uk/');
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
I literally only played around with the 's' to get the SSL working correctly!
Now no images are showing in admin area and seems to be trying to pull them like this:
http://www.lovesuperstore.co.uk/admin/H ... -40x40.jpg
pretty sure my store url was public_html/ before, now its HTTP_CATALOG ! HELP!
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'http://'.HTTP.'/admin/');
define('HTTP_CATALOG', 'http://'.HTTP.'/');
define('HTTP_IMAGE', 'http://'.HTTP.'/image/');
// HTTPS
define('HTTPS_SERVER', 'https://'.HTTP.'/admin/');
define('HTTPS_IMAGE', 'https://'.HTTP.'/image/');
// DIR
define('BASE_DIR', str_replace(DIRECTORY_SEPARATOR.'admin', '', realpath(dirname(__FILE__))));
define('DIR_APPLICATION',
define('DIR_SYSTEM',
define('DIR_IMAGE',
define('DIR_LANGUAGE',
define('DIR_TEMPLATE',
define('DIR_CONFIG',
define('DIR_CACHE',
define('DIR_DOWNLOAD',
define('DIR_LOGS',
define('DIR_MODIFICATION',
define('DIR_UPLOAD',
define('DIR_CATALOG',
// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'host.com');
define('DB_USERNAME', 'username');
define('DB_PASSWORD', 'password');
define('DB_DATABASE', 'db');
define('DB_PORT', 'port'); // 3306
define('DB_PREFIX', 'oc_');
Something has gone wrong and images are no longer showing properly in admin (i.e product images) i right click and view source and on an image (or where is should be) and it looks like this:
http://www.lovesuperstore.co.uk/admin/H ... -40x40.jpg
Config.php
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'http://www.lovesuperstore.co.uk/');
// HTTPS
define('HTTPS_SERVER', 'http://www.lovesuperstore.co.uk/');
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'http://www.lovesuperstore.co.uk/admin/');
define('HTTPS_CATALOG', 'http://www.lovesuperstore.co.uk/');
// HTTPS
define('HTTPS_SERVER', 'http://www.lovesuperstore.co.uk/admin/');
define('HTTPS_CATALOG', 'http://www.lovesuperstore.co.uk/');
(which by the way shouldnt have "admin/HTTP_CATLOG" it should be just http://www.lovesuperstore.co.uk/image/c ... -40x40.jpg)
but in version 2.2 the cache would be image/cache/catalog and not image/cache/data !!!!!
here is explained how to fix some files
viewtopic.php?f=99&t=168626#p641205
Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com
// ADMIN Config.php HTTPS Settings:
Code: Select all
// HTTP
define('HTTP_SERVER', 'https://www.lovesuperstore.co.uk/admin/');
define('HTTP_CATALOG', 'https://www.lovesuperstore.co.uk/');
// HTTPS
define('HTTPS_SERVER', 'https://www.lovesuperstore.co.uk/admin/');
define('HTTPS_CATALOG', 'https://www.lovesuperstore.co.uk/');
// DIR
define('DIR_APPLICATION', '/home/lovesupe/public_html/admin/');
define('DIR_SYSTEM', '/home/lovesupe/public_html/system/');
define('DIR_IMAGE', '/home/lovesupe/public_html/image/');
define('DIR_LANGUAGE', '/home/lovesupe/public_html/admin/language/');
define('DIR_TEMPLATE', '/home/lovesupe/public_html/admin/view/template/');
define('DIR_CONFIG', '/home/lovesupe/public_html/system/config/');
define('DIR_CACHE', '/home/lovesupe/public_html/system/storage/cache/');
define('DIR_DOWNLOAD', '/home/lovesupe/public_html/system/storage/download/');
define('DIR_LOGS', '/home/lovesupe/public_html/system/storage/logs/');
define('DIR_MODIFICATION', '/home/lovesupe/public_html/system/storage/modification/');
define('DIR_UPLOAD', '/home/lovesupe/public_html/system/storage/upload/');
define('DIR_CATALOG', '/home/lovesupe/public_html/catalog/');
Code: Select all
// HTTP
define('HTTP_SERVER', 'http://www.lovesuperstore.co.uk/admin/');
define('HTTP_CATALOG', 'http://www.lovesuperstore.co.uk/');
// HTTPS
define('HTTPS_SERVER', 'http://www.lovesuperstore.co.uk/admin/');
define('HTTPS_CATALOG', 'http://www.lovesuperstore.co.uk/');
// DIR
define('DIR_APPLICATION', '/home/lovesupe/public_html/admin/');
define('DIR_SYSTEM', '/home/lovesupe/public_html/system/');
define('DIR_IMAGE', '/home/lovesupe/public_html/image/');
define('DIR_LANGUAGE', '/home/lovesupe/public_html/admin/language/');
define('DIR_TEMPLATE', '/home/lovesupe/public_html/admin/view/template/');
define('DIR_CONFIG', '/home/lovesupe/public_html/system/config/');
define('DIR_CACHE', '/home/lovesupe/public_html/system/storage/cache/');
define('DIR_DOWNLOAD', '/home/lovesupe/public_html/system/storage/download/');
define('DIR_LOGS', '/home/lovesupe/public_html/system/storage/logs/');
define('DIR_MODIFICATION', '/home/lovesupe/public_html/system/storage/modification/');
define('DIR_UPLOAD', '/home/lovesupe/public_html/system/storage/upload/');
define('DIR_CATALOG', '/home/lovesupe/public_html/catalog/');
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
I just hope, that you have redworked your ROOT config.php File also !
Good Luck !
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Do i just copy the above into the config.php file?
would that be the reason im getting this on sitemap errors:
Errors
Invalid URL
This is not a valid URL. Please correct it and resubmit.
4,372 :- image/cache/data/products/W11015011x1-0-1-1-500x500.jpg
Users browsing this forum: No registered users and 398 guests