webbuddy Posted May 11, 2008 Posted May 11, 2008 New installation via Fantastico auto install and all went well, except the style sheet was not loading in catalog or admin. The domain specified for the host account is not yet pointed at this install, so I finaally figured out that somewhere in this oscommerce install I had to tell it the actual IP address path. In that I have not yet changed the DNS details over to this install, I did the following; edited these two files /includes/configure.php /admin/includes/configure.php replacing mydomain.com.au with xxx.xxx.x.xxx/~account where; mydomain.com.au is the the url reference for your domain, but is not currently pointing to the oscommerce install xxx.xxx.x.xxx/~account is the actual current ip address of your site. The syntax may vary for your actuall address but that is how mine is. Do not point directly to your oscommerce install folder, just the parent domain, the configure.php should take care of the rest /admin/includes/configure.php edit these 3 lines <?php define('HTTP_SERVER', 'http://xxx.xxx.x.xxx/~account'); define('HTTP_CATALOG_SERVER', 'http://xxx.xxx.x.xxx/~account'); define('HTTPS_CATALOG_SERVER', 'https://xxx.xxx.x.xxx/~account'); /includes/configure.php edit these 4 lines <?php define('HTTP_SERVER', 'http://xxx.xxx.x.xxx/~account'); define('HTTPS_SERVER', 'http://xxx.xxx.x.xxx/~account'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'xxx.xxx.x.xxx/~account'); define('HTTPS_COOKIE_DOMAIN', 'xxx.xxx.x.xxx/~account'); This worked for me and it was only my unfamiliarity with oscommerce that took me so long to find a solution and the fact that I must be the only one here who has ever had this issue. I hope this helps anyone else having similar issues, and stress that you back up the above files before editing them as a SOP. Note to self: Once I have moved DNS over I should reinstate my url domain to those two files. I spent all day on this searching this forum for a solution and finally worked out why by searching for the same problem on Joomla support forum.
Guest Posted May 11, 2008 Posted May 11, 2008 New installation via Fantastico auto install and all went well, except the style sheet was not loading in catalog or admin.The domain specified for the host account is not yet pointed at this install, so I finaally figured out that somewhere in this oscommerce install I had to tell it the actual IP address path. In that I have not yet changed the DNS details over to this install, I did the following; edited these two files /includes/configure.php /admin/includes/configure.php replacing mydomain.com.au with xxx.xxx.x.xxx/~account where; mydomain.com.au is the the url reference for your domain, but is not currently pointing to the oscommerce install xxx.xxx.x.xxx/~account is the actual current ip address of your site. The syntax may vary for your actuall address but that is how mine is. Do not point directly to your oscommerce install folder, just the parent domain, the configure.php should take care of the rest /admin/includes/configure.php edit these 3 lines /includes/configure.php edit these 4 lines This worked for me and it was only my unfamiliarity with oscommerce that took me so long to find a solution and the fact that I must be the only one here who has ever had this issue. I hope this helps anyone else having similar issues, and stress that you back up the above files before editing them as a SOP. Note to self: Once I have moved DNS over I should reinstate my url domain to those two files. I spent all day on this searching this forum for a solution and finally worked out why by searching for the same problem on Joomla support forum. Too late now, but this may have helped: A guide to the configure.php files, Or how to move your site without breaking anything.
webbuddy Posted May 11, 2008 Author Posted May 11, 2008 Too late now, but this may have helped: A guide to the configure.php files, Or how to move your site without breaking anything. Hehe, thanks for the heads up Coopco, yes that would have been of immense help and it appears I have restated the obvious in my post. Notwithstanding that, countless searches for "stylesheet not loading", didnt really point me in the right direction and being new to oscommerce, i didnt know where and what file/s would be the culprit. I have been down this road before with Joomla and knew why, I just didnt know where to look, so i searched for same problem on Joomla forums and the solution immediately presented itself with an edit to Joomla configuration.php. Then the penny dropped and I recalled posts for oscommerce often referred to configure.php in the two includes folders, so I looked there and found the offending url. Damn spent most of the day just sorting that out. What wasnt helping was that I had successfully deployed oscommerce to another domain earlier today, which worked fine, only in that case the domain was correctly pointing to the name servers. Live and learn... now lets see if I can break this install by messing with it a bit. Cheers
Guest Posted May 11, 2008 Posted May 11, 2008 Live and learn... now lets see if I can break this install by messing with it a bit. Cheers Go for it, it's the only way to learn (do you think I can stop banging my head on the brick wall now?).
Recommended Posts
Archived
This topic is now archived and is closed to further replies.