Guest Posted January 17, 2005 Share Posted January 17, 2005 Hi All, This is my first post here, but I install OSC very frequently without problems. Now the problem I have is first time I saw, and I have no idea what?s happening... I have installed and it was working perfectly OSC in this URL but now all site is without images and in plain text :'( Looking at the properties for each image I found that the link is like: http:///images/xxx.gif But, more incredible yet, the admin section is working perfectly! You can see it because I?ve removed all passwords. I have reinstalled all, but the problem persists. Also I have copied another site located in same server (www.ciberlibros.com/tienda) and it database over the broken site, but nothing changes... The only difference I found is that in admin section it says "You are protected by a unknown secure SSL connection." and in the working site is no protected at all. I have no idea about this and what?s happening. Any help will be appreciated. Thank you very much for your help. Hugo PS. Sorry for my poor English... I?m from Spain :) Link to comment Share on other sites More sharing options...
ringo Posted January 17, 2005 Share Posted January 17, 2005 In the file \includes\configure.php make sure that the code looks like something below: define('HTTP_SERVER', 'http://www.elmanantialediciones.com'); Just someone trying to make sense of all of this code. Link to comment Share on other sites More sharing options...
Guest Posted January 17, 2005 Share Posted January 17, 2005 In the file \includes\configure.php make sure that the code looks like something below: ?define('HTTP_SERVER', 'http://www.elmanantialediciones.com'); <{POST_SNAPBACK}> Thank you, Ringo Yes, the file is exactly as you can see: define('HTTP_SERVER', 'http://www.elmanantialediciones.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.elmanantialediciones.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/tienda/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/tienda/'); define('DIR_WS_HTTPS_CATALOG', ''); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/elmanant/public_html/tienda/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); I?ve checked all, but I can?t see anything wrong... Thanks again, Hugo Link to comment Share on other sites More sharing options...
Guest Posted January 17, 2005 Share Posted January 17, 2005 define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers is where he is talking about, you need your http://domain here Link to comment Share on other sites More sharing options...
ringo Posted January 17, 2005 Share Posted January 17, 2005 How about this? ?define('HTTP_SERVER', 'http://www.elmanantialediciones.com/tienda/'); I thought you only needed define('HTTPS_SERVER', ''); when you used https? Just someone trying to make sense of all of this code. Link to comment Share on other sites More sharing options...
Guest Posted January 17, 2005 Share Posted January 17, 2005 How about this? ?define('HTTP_SERVER', 'http://www.elmanantialediciones.com/tienda/'); I thought you only needed define('HTTPS_SERVER', ''); when you used https? <{POST_SNAPBACK}> I have tried again, but it doesn?t work :( :( Thanks again! Link to comment Share on other sites More sharing options...
ramble Posted January 18, 2005 Share Posted January 18, 2005 I have installed it for the first time, and have this problem too. I suspect it has something to do with the "base" address. Its perhaps looking for /images but with differing prefixes. Something to do with relative URLs... The "user" part is looking at the correct images directory, but the admin part is looking for an images directory off my root directory. The function tep_image seems to be used consistently. But in one case when I look at the HTML produced get: img src="/images/admiral.jpg" and in the other: img src="images/admiral.jpg" Very subtle difference in the slash... Link to comment Share on other sites More sharing options...
jeanh Posted February 7, 2005 Share Posted February 7, 2005 I have installed it for the first time, and have this problem too. I suspect it has something to do with the "base" address. Its perhaps looking for /images but with differing prefixes. Something to do with relative URLs... The "user" part is looking at the correct images directory, but the admin part is looking for an images directory off my root directory. The function tep_image seems to be used consistently. But in one case when I look at the HTML produced get: img src="/images/admiral.jpg" and in the other: img src="images/admiral.jpg" Very subtle difference in the slash... <{POST_SNAPBACK}> Hi everyone, I am having the exact same problem here. Reinstalled several times... Obviously a problem with the base address. Works fine under admin too but not under catalog. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.