j00p Posted January 20, 2006 Posted January 20, 2006 I installed osc via fantastico on a sub directory (http://domain.com/shop) and I had "Use SSL (secure transactions)" set to 'NO' and "Secure server hostname" set to 'domain.com' under base configuration before you install osc in fatastico. After the installation when I visit the shop at http://domain.com/shop, it: 1) doesn't display the images 2) all the formatting is gone When I checked path for images, css file, or even the any other file(s), they are all referencing to https (e.g. https://domain.com/shop/stylesheet.css) instead of http://domain.com/shop/stylesheet.css, and same for all the images and files. I've installed and un-installed it many times but no luck. Can anyone tell me what im doing wrong??? or how to fix this problem? TIA
♥Vger Posted January 20, 2006 Posted January 20, 2006 Edit the includes/configure.php and the admin/includes/configure.php files by downloading them and editing them in a plain text editor like Notepad. Make sure that 'enable_ssl' is set to false in both of them, and that https references are left blank (nothing between the two apostrophies). Vger
onnyab Posted January 20, 2006 Posted January 20, 2006 Make sure that 'enable_ssl' is set to false in both of them, and that https references are left blank (nothing between the two apostrophies). I have the same problem, and I follow your instruction. but still 1) doesn't display the images 2) all the formatting is gone
j00p Posted January 21, 2006 Author Posted January 21, 2006 I actually posted a thread in Fantastico forums as well and was referred to the following threads: http://forums.cpanel.net/showthread.php?t=37676 http://forums.cpanel.net/showthread.php?t=44208 They also said that "Apparently no-one knows why or how to fix it but some CPanel upgrades and apache restarts seem to have helped." So I went through the threads, and then upgraded the cpanel, restarted the apache and it works ... how weired .... But it doesnt seem like a permanent solution either, so will see if the problem comes back again. Appreciate your help though.
GraphicsGuy Posted January 21, 2006 Posted January 21, 2006 I don't know about Fantastico installations, but some of these control panel installations are using overide configure.php files in the /includes/local/ folders. So on those, if making corrections in /includes/configure.php files does't correct something, you might look to see if /inlcudes/local/configure.php exists. If it does, it overides settings made in the primary configure.php files. Rule #1: Without exception, backup your database and files before making any changes to your files or database. Rule #2: Make sure there are no exceptions to Rule #1.
AlanR Posted January 21, 2006 Posted January 21, 2006 I don't know about Fantastico installations, but some of these control panel installations are using overide configure.php files in the /includes/local/ folders.So that's where they come from. I always wondered how some people ended up with those. I don't trust any automated installers anyway. You don't know what version you're getting and we've had posts here just recently from people running automated installs then getting "Register Globals is Disabled" messages. Doh!! They're only as good as the people maintaining them and in some cases that's pretty poor. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
GraphicsGuy Posted January 21, 2006 Posted January 21, 2006 So that's where they come from. I always wondered how some people ended up with those. I don't trust any automated installers anyway. You don't know what version you're getting and we've had posts here just recently from people running automated installs then getting "Register Globals is Disabled" messages. Doh!! They're only as good as the people maintaining them and in some cases that's pretty poor. You are right, some of them are really messed up. I think the proliferation of these control panel installers is why there has been a heavy upsurge in configuration errors that seem to defy correction. Rule #1: Without exception, backup your database and files before making any changes to your files or database. Rule #2: Make sure there are no exceptions to Rule #1.
onnyab Posted January 23, 2006 Posted January 23, 2006 You are right, some of them are really messed up. I think the proliferation of these control panel installers is why there has been a heavy upsurge in configuration errors that seem to defy correction. I try to install osc Manually ( Not using fanstatico) After followed all intructions, there is no problem in Admin pages BUT still in The online catalog the images doesn't show up. Please help
AlanR Posted January 23, 2006 Posted January 23, 2006 Set both of these lines the same for now define('HTTP_SERVER', ''); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers put your http address inn for both of them and do not enable ssl. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.