All i get is a load of errors, such as:
Warning: fopen(/var/www/web/catalog/view/theme//stylesheet/bootstrap.css): failed to open stream: No such file or directory in /var/www/web/catalog/controller/startup/sass.php on line 14Warning: flock() expects parameter 1 to be resource, boolean given in /var/www/web/catalog/controller/startup/sass.php on line 16Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/web/catalog/controller/startup/sass.php on line 18Warning: fflush() expects parameter 1 to be resource, boolean given in /var/www/web/catalog/controller/startup/sass.php on line 20Warning: flock() expects parameter 1 to be resource, boolean given in /var/www/web/catalog/controller/startup/sass.php on line 22Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/web/catalog/controller/startup/sass.php on line 24
could anyone help me and let me know what I have done wrong?
Would really appreciate any help at all
thanks in advance
Mark
Extensions for affiliates (openCart 1, 2, 3):
Advanced Multi Level Affiliate System
Customer and Affiliate Accounts Combined into one Account
Affiliate Tracking with Coupons
Discount for Referred Customers - Order Total
Type Tracking Code
Mass Pay
Affiliate Transactions for openCart 3
Affiliate Pack X - all modules with 40% discount
Many many thanks for your swift reply - under is my admin/config.php code
does this look right? I copied the code and replaced www.example.com with my website, but now I am a bit confused. Your help is most appreciated....
<?php
// HTTP
define('HTTP_SERVER', 'http://www.wallace-berg.com/admin/');
define('HTTP_CATALOG', 'http://www.wallace-berg.com/');
define('HTTP_IMAGE', 'http://www.wallace-berg.com/image/');
// HTTPS
define('HTTPS_SERVER', 'https://www.wallace-berg.com/admin/');
define('HTTPS_CATALOG', 'https://www.wallace-berg.com/');
define('HTTPS_IMAGE', 'https://www.wallace-berg.com/image/');
// DIR
define('DIR_APPLICATION', '/var/www/web/catalog/');
define('DIR_SYSTEM', '/var/www/web/system/');
define('DIR_IMAGE', '/var/www/web/image/');
define('DIR_STORAGE', '/var/www/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/');
(I left the DB stuff out as it has my passwords etc for my database)
Many thanks in advance
Mark
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'http://www.wallace-berg.com/admin/');
define('HTTP_CATALOG', 'http://www.wallace-berg.com/');
// HTTPS
define('HTTPS_SERVER', 'https://www.wallace-berg.com/admin/');
define('HTTPS_CATALOG', 'https://www.wallace-berg.com/');
// DIR
define('DIR_APPLICATION', '/var/www/web/admin/');
define('DIR_SYSTEM', '/var/www/web/system/');
define('DIR_IMAGE', '/var/www/web/image/');
define('DIR_STORAGE', '/var/www/storage/');
define('DIR_CATALOG', '/var/www/web/catalog/');
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/');
Extensions for affiliates (openCart 1, 2, 3):
Advanced Multi Level Affiliate System
Customer and Affiliate Accounts Combined into one Account
Affiliate Tracking with Coupons
Discount for Referred Customers - Order Total
Type Tracking Code
Mass Pay
Affiliate Transactions for openCart 3
Affiliate Pack X - all modules with 40% discount
I have replaced the admin/config.php with what you posted above (and included the database stuff!) - now all i get is a HTTP error 500 - and "this page isnt working"
ahh - dont know what to do without your help -
Mark
NEVER create duplicates in the future.
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
apologies again and sorry for the duplicate.
If anyone can still help with the HTTP500 error i would really appreciate it. Many thanks
Extensions for affiliates (openCart 1, 2, 3):
Advanced Multi Level Affiliate System
Customer and Affiliate Accounts Combined into one Account
Affiliate Tracking with Coupons
Discount for Referred Customers - Order Total
Type Tracking Code
Mass Pay
Affiliate Transactions for openCart 3
Affiliate Pack X - all modules with 40% discount
Code: Select all
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/theme/');
Code: Select all
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/template/');
Extensions for affiliates (openCart 1, 2, 3):
Advanced Multi Level Affiliate System
Customer and Affiliate Accounts Combined into one Account
Affiliate Tracking with Coupons
Discount for Referred Customers - Order Total
Type Tracking Code
Mass Pay
Affiliate Transactions for openCart 3
Affiliate Pack X - all modules with 40% discount
I also changed the .htaccess file, which might be causing the problem
This is what I added to the .htaccess file - provided by my hosting company:
RewriteEngine On
# http -> https
RewriteCond %{HTTPS} !on [NC]
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
# non-www -> www
RewriteCond %{HTTP_HOST} !^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
Many thanks for all your help - really appreciate you all taking the time,
mark
I cannot thank you enough....
Mark