Hello, I have an issue with the second domain in the multistore.
The default one works without issues but the second domain cant display images.
Attachments
bandicam 2023-01-25 10-48-50-803.png (68.63 KiB) Viewed 328 times
bandicam 2023-01-25 10-48-35-576.png (90.77 KiB) Viewed 328 times
bandicam 2023-01-25 10-48-35-576.png (90.77 KiB) Viewed 328 times
If you are after help you will need to provide more information. OpenCart version, PHP version, theme and extensions used? Any errors in both the PHP and OpenCart error logs? Any errors in your web browser's developer console?
The browser console errors are: Failed to load resource: the server responded with a status of 404 ()
The errors from server logs are:
the main store is loaded properly: https://loleta.bg/sveti-valentin
but on the second domain: https://sexlover.bg/sveti-valentin I have these errors
The errors from server logs are:
Code: Select all
2023-01-25 12:31:35.136671 [INFO] [1339987] [T0] [23.227.72.53:45191#APVH_sexlover.bg:443] File not found [/home/sexlover/public_html/404.shtml]
2023-01-25 12:31:35.136651 [INFO] [1339987] [T0] [23.227.72.53:45191#APVH_sexlover.bg:443] File not found [/home/sexlover/public_html/image/catalog/Sexlover/Logo_TransperentBG.png]
2023-01-25 12:29:16.355864 [INFO] [1339987] [T0] [95.111.39.193:62366:HTTP2-273#APVH_sexlover.bg:443] File not found [/home/sexlover/public_html/404.shtml], has been hit 108 times per second, shortcut to 404.
2023-01-25 12:29:16.355857 [INFO] [1339987] [T0] [95.111.39.193:62366:HTTP2-273#APVH_sexlover.bg:443] File not found [/home/sexlover/public_html/image/cache/catalog/products/9/3d-dildo-s-trojna-platnost-7-39-39-17-8-cm-21343-939600915-70x70h.jpeg.webp]
2023-01-25 12:29:16.355269 [INFO] [1339987] [T0] [95.111.39.193:62366:HTTP2-271#APVH_sexlover.bg:443] File not found [/home/sexlover/public_html/404.shtml], has been hit 107 times per second, shortcut to 404.
2023-01-25 12:29:16.355262 [INFO] [1339987] [T0] [95.111.39.193:62366:HTTP2-271#APVH_sexlover.bg:443] File not found [/home/sexlover/public_html/image/cache/catalog/Sexlover/Products/Others/ .. ........ Premium 12775/ .. ........ Premium_1-70x70h.jpg.webp]
2023-01-25 12:29:16.347265 [INFO] [1339987] [T0] [95.111.39.193:62366:HTTP2-269#APVH_sexlover.bg:443] File not found [/home/sexlover/public_html/404.shtml], has been hit 106 times per second, shortcut to 404.
2023-01-25 12:29:16.347258 [INFO] [1339987] [T0] [95.111.39.193:62366:HTTP2-269#APVH_sexlover.bg:443] File not found [/home/sexlover/public_html/image/cache/catalog/Sexlover/Products/Vibrators/Vibro Cockrings/ ................ ........ Gladiator/ ................ ........ Gladiator_1-70x70h.jpg.webp]
2023-01-25 12:29:16.345259 [INFO] [1339987] [T0] [95.111.39.193:62366:HTTP2-267#APVH_sexlover.bg:443] File not found [/home/sexlover/public_html/404.shtml], has been hit 105 times per second, shortcut to 404.
2023-01-25 12:29:16.345253 [INFO] [1339987] [T0] [95.111.39.193:62366:HTTP2-267#APVH_sexlover.bg:443] File not found [/home/sexlover/public_html/image/cache/catalog/products/2/roklya-mrega-s-m-170144-640471997-70x70h.jpeg.webp]
2023-01-25 12:29:16.345133 [INFO] [1339987] [T0] [95.111.39.193:62366:HTTP2-265#APVH_sexlover.bg:443] File not found [/home/sexlover/public_html/404.shtml], has been hit 104 times per second, shortcut to 404.
2023-01-25 12:29:16.345127 [INFO] [1339987] [T0] [95.111.39.193:62366:HTTP2-265#APVH_sexlover.bg:443] File not found [/home/sexlover/public_html/image/cache/catalog/products/2/analno-dildo-s-dekorativen-kamak-sartse-l-752941618-70x70w.jpeg.webp]
2023-01-25 12:29:16.339741 [INFO] [1339987] [T0] [95.111.39.193:62366:HTTP2-263#APVH_sexlover.bg:443] File not found [/home/sexlover/public_html/404.shtml], has been hit 103 times per second, shortcut to 404.
but on the second domain: https://sexlover.bg/sveti-valentin I have these errors
It looks like your second domain is not pointing to the same folder on your hosting as your main domain.
that is the config for the domains
main domain:
and for the second domain:
main domain:
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'http://loleta.bg/');
// HTTPS
define('HTTPS_SERVER', 'https://loleta.bg/');
// DIR
define('DIR_APPLICATION', '/home/sexlover/loleta.bg/catalog/');
define('DIR_SYSTEM', '/home/sexlover/loleta.bg/system/');
define('DIR_IMAGE', '/home/sexlover/loleta.bg/image/');
define('DIR_STORAGE', DIR_SYSTEM . 'storage/');
define('DIR_LANGUAGE', DIR_APPLICATION . 'language/');
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/theme/');
define('DIR_CONFIG', DIR_SYSTEM . 'config/');
define('DIR_CACHE', DIR_STORAGE . 'cache/');
define('DIR_DOWNLOAD', DIR_STORAGE . 'download/');
define('DIR_LOGS', DIR_STORAGE . 'logs/');
define('DIR_MODIFICATION', DIR_STORAGE . 'modification/');
define('DIR_SESSION', DIR_STORAGE . 'session/');
define('DIR_UPLOAD', DIR_STORAGE . 'upload/');
// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'user');
define('DB_PASSWORD', 'pass');
define('DB_DATABASE', 'sexlover_ocar369');
define('DB_PORT', 'port');
define('DB_PREFIX', 'octm_');
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'http://sexlover.bg/');
// HTTPS
define('HTTPS_SERVER', 'https://sexlover.bg/');
// DIR
define('DIR_APPLICATION', '/home/sexlover/loleta.bg/catalog/');
define('DIR_SYSTEM', '/home/sexlover/loleta.bg/system/');
define('DIR_IMAGE', '/home/sexlover/loleta.bg/image/');
define('DIR_STORAGE', DIR_SYSTEM . 'storage/');
define('DIR_LANGUAGE', DIR_APPLICATION . 'language/');
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/theme/');
define('DIR_CONFIG', DIR_SYSTEM . 'config/');
define('DIR_CACHE', DIR_STORAGE . 'cache/');
define('DIR_DOWNLOAD', DIR_STORAGE . 'download/');
define('DIR_LOGS', DIR_STORAGE . 'logs/');
define('DIR_MODIFICATION', DIR_STORAGE . 'modification/');
define('DIR_SESSION', DIR_STORAGE . 'session/');
define('DIR_UPLOAD', DIR_STORAGE . 'upload/');
// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'user');
define('DB_PASSWORD', 'pass');
define('DB_DATABASE', 'sexlover_ocar369');
define('DB_PORT', 'port');
define('DB_PREFIX', 'octm_');
That's not a multi-store setup. It looks like you have two separate installations of OpenCart.
Who is online
Users browsing this forum: No registered users and 529 guests