bryan.herbstritt Posted January 29, 2018 Share Posted January 29, 2018 I am having an issue after installing osCommerce using Plesk. OsCommerce overall functions without any issues. Everything works with the Catalog portal. This issue is with the admin portal. No graphics and not formatting correctly. When viewing source I have found it is appending "DIR_WS_HTTPS_ADMIN" to the rear of the <base href="https://yourdomain.comDIR_WS_HTTPS_ADMIN">. This is causing the CSS and images not to resolve correctly as they are looking for https://yourdomain.comDIR_WS_HTTPS_ADMIN/catalog/admin/images instead of https://yourdomain.com/catalog/admin/images. This is NOT an issue for the Catalog just the admin portal. Link to comment Share on other sites More sharing options...
Dan Cole Posted January 30, 2018 Share Posted January 30, 2018 is DIR_WS_HTTPS_ADMIN defined in your admin configuration file? Dan Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
mcmannehan Posted January 30, 2018 Share Posted January 30, 2018 7 hours ago, bryan.herbstritt said: I am having an issue after installing osCommerce using Plesk. OsCommerce overall functions without any issues. Everything works with the Catalog portal. This issue is with the admin portal. No graphics and not formatting correctly. When viewing source I have found it is appending "DIR_WS_HTTPS_ADMIN" to the rear of the <base href="https://yourdomain.comDIR_WS_HTTPS_ADMIN">. This is causing the CSS and images not to resolve correctly as they are looking for https://yourdomain.comDIR_WS_HTTPS_ADMIN/catalog/admin/images instead of https://yourdomain.com/catalog/admin/images. This is NOT an issue for the Catalog just the admin portal. If u follow the osC install way, there shoud be no issue. DIR_WS_HTTPS_ADMIN is a variable for the path. Open /catalog/admin/includes/configure.php and write the correct path: define('DIR_WS_HTTPS_ADMIN', '/admin/'); Make shure, if you install again, that you write the path in the install routine. The clever one learn from everything and from everybody The normal one learn from his experience The silly one knows everything better [socrates, 412 before Christ] Computers help us with the problems we wouldn't have without them! 99.9% of the bugs sit in front of the computer! My programmed add-ons: WDW EasyTabs 1.0.3, WDW Facebook Like 1.0.0 if(isset($this) || !isset($this)){ // that's the question... Link to comment Share on other sites More sharing options...
bryan.herbstritt Posted January 31, 2018 Author Share Posted January 31, 2018 fixed after adding this to the admin configuration file: define('DIR_WS_HTTPS_ADMIN', '/admin/'); The Plesk installer did not add this correctly. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.