I'm trying to upload a new theme to my website and I've encountered problem where the .css path have double slash as shown in image. Help Appreciated thanks.
Here's the link to the website : http://13.76.152.95
i check your website and find the issue on "//" on url soo you need to change your config.php
For quick, professional OpenCart support
Online
contact me on skype : dparakhiya_1
email : dipneshp@gmail.com
<?php
// HTTP
define('HTTP_SERVER', 'http://'.$_SERVER['SERVER_NAME'].':80/');
// HTTPS
define('HTTPS_SERVER', 'https://'.$_SERVER['SERVER_NAME'].':443/');
// DIR
define('DIR_APPLICATION', '/opt/bitnami/apps/opencart/htdocs/catalog/');
define('DIR_SYSTEM', '/opt/bitnami/apps/opencart/htdocs/system/');
define('DIR_IMAGE', '/opt/bitnami/apps/opencart/htdocs/image/');
define('DIR_STORAGE', '/opt/bitnami/apps/opencart/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/');
// HEADERS
header('Access-Control-Allow-Origin: *');
header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept");
Code: Select all
<link href="catalog/view/theme//stylesheet/stylesheet.css" rel="stylesheet"/>
<!-- Codezeel - Start -->
<link rel="stylesheet" type="text/css" href="catalog/view/javascript/jquery/magnific/magnific-popup.css"/>
<link rel="stylesheet" type="text/css" href="catalog/view/theme//stylesheet/codezeel/carousel.css"/>
<link rel="stylesheet" type="text/css" href="catalog/view/theme//stylesheet/codezeel/custom.css"/>
<link rel="stylesheet" type="text/css" href="catalog/view/theme//stylesheet/codezeel/bootstrap.min.css"/>
<link rel="stylesheet" type="text/css" href="catalog/view/theme//stylesheet/codezeel/lightbox.css"/>
<link rel="stylesheet" type="text/css" href="catalog/view/theme//stylesheet/codezeel/animate.css"/>
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
Code: Select all
define('DIR_APPLICATION', '/opt/bitnami/apps/opencart/htdocs/catalog/');
Code: Select all
define('DIR_TEMPLATE', DIR_APPLICATION . '/view/theme/');
Code: Select all
define('DIR_TEMPLATE', DIR_APPLICATION . '/view/theme/');
Code: Select all
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/theme/');
For quick, professional OpenCart support
Online
contact me on skype : dparakhiya_1
email : dipneshp@gmail.com
Actually, where is theme name?letxobnav wrote: ↑Tue Apr 23, 2019 10:50 amCode: Select all
catalog/view/theme//stylesheet/stylesheet.css
What theme are you using?
It should look more like:
Code: Select all
catalog/view/theme/{theme name}/stylesheet/stylesheet.css
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk



Responsive Website Design | Opencart E-commerce Development | Search Engine Optimization (SEO)
Skype: lkdesigners
Website: www.lkdesigners.com
Users browsing this forum: Majestic-12 [Bot], marilyn55david and 28 guests