Sir Lance Posted August 31, 2008 Share Posted August 31, 2008 My Back buttons and add 2 carts buttons are not shown. These are the buttons under the catalog/includes/languages/english/images/buttons/ When I view the source of my web site I have <img title=" Back " height="19" alt="Back" src="http://www.myrc.com.au/includes/languages/english/images/buttons/button_back.gif I note there is no CATALOG directory in the path. I did have a redirect which http://myrc.com.au -> http://myrc.com.au/catalog but I have now removed this and I am still getting an error. Any help would be appreciated. Sir Lance Heres my config file define('HTTP_SERVER', 'http://www.myrc.com.au'); define('HTTPS_SERVER', 'https://www.myrc.com.au'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'www.myrc.com.au'); define('HTTPS_COOKIE_DOMAIN', 'www.myrc.com.au'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/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/myrccom/public_html/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Link to comment Share on other sites More sharing options...
jhande Posted August 31, 2008 Share Posted August 31, 2008 My Back buttons and add 2 carts buttons are not shown. These are the buttons under the catalog/includes/languages/english/images/buttons/ Check the file and folder permissions. When you enter the URL address for the image, a page with the image should display not an error message. http://www.myrc.com.au/catalog/includes/la...ton_details.gif Forbidden You don't have permission to access /catalog/includes/languages/english/images/buttons/button_details.gif on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Also when I first visited your site I received the error that your configuration file is writeable. It didn't display again when I returned so not sure if you fixed while I was visiting. - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 - Link to comment Share on other sites More sharing options...
Sir Lance Posted August 31, 2008 Author Share Posted August 31, 2008 Ta Yeah - I was playing with the config file but this is not the error. You are right I cant access \catalog\includes\languages\english\images\buttons because I have changed the file attributes of the Includes directory to 700 (using filezilla) which is Owner RWE. Am I protecting this Includes folder incorrectly ?? I am confused ? Also should my config dir defines include the www or not define('HTTP_SERVER', 'http://myrc.com.au') OR define('HTTP_SERVER', 'http://www.myrc.com.au') Link to comment Share on other sites More sharing options...
Sir Lance Posted August 31, 2008 Author Share Posted August 31, 2008 This is wierd If I go to http://myrc.com.au/catalog/includes/langua...tton_delete.gif, I can see the button But if i go to http://WWW.myrc.com.au/catalog/includes/la...tton_delete.gif Note the www I cannot see the button. Does this have something to do with my configure file, ie all my defines should either have 'http://myrc.com.au' or 'http://www.myrc.com.au' Sir lance Link to comment Share on other sites More sharing options...
jhande Posted August 31, 2008 Share Posted August 31, 2008 Your config file should not have the WWW in it. It should look like this - define('HTTP_SERVER', 'http://myrc.com.au'); define('HTTPS_SERVER', 'https://myrc.com.au'); define('ENABLE_SSL', false); // Switch to true once you have a SSL certificate. define('HTTP_COOKIE_DOMAIN', 'myrc.com.au'); define('HTTPS_COOKIE_DOMAIN', 'myrc.com.au'); // Your domain only if you have a private SSL, otherwise your shared host path. Your folders/directories should be 0755 and your files 0644. Oh by the way... I can't access either images from the above links. I receive the Forbidden message. - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 - Link to comment Share on other sites More sharing options...
Sir Lance Posted September 3, 2008 Author Share Posted September 3, 2008 Thanks Jim for your help. I now have it working. I couldn't get access to the pictures due to the the security on my Includes folder being too high. PS. you comment regarding private SSL as shown below: define('HTTPS_COOKIE_DOMAIN', 'myrc.com.au'); // Your domain only if you have a private SSL, otherwise your shared host path. I don't have SSL installed yet, but am going to. I assume its best just to pay my web manager and get their SSL certificate. Once I do this and get an SSL, is this a private SSL, or as I suspect a public SSL. My real question is (and dumb one as that), if my domain is 'myrc.com.au' then what is my shared host path ? Thanks Sir Lance Link to comment Share on other sites More sharing options...
jhande Posted September 4, 2008 Share Posted September 4, 2008 Sorry for the late reply Sir Lance, college homework has me busy along with my wife and kids. :( Glad I was of some help for you. Regarding SSL certificates... You can get either a shared SSL through your host if they offer one or your own private SSL certificate. My host offered the shared SSL for free. It was easy to activate and setup through CPanel. My host also can hook me up with a private SSL but there are extra cost involved. First let me mention that using a shared SSL will tend to slow down your secured pages much more so than a private SSL. Shared SSL (if offered by your host): They supply you with the path you will need to add to your config files. My config lines using shared - define('HTTP_SERVER', 'http://handeshobbies.com'); define('HTTPS_SERVER', 'https://secure.bluehost.com/~handesho'); Private SSL: First you will need a dedicated IP address from your host, at an extra cost per month/year (mine would be $30 a year). Then you also need to purchase the certificate. I can purchase the RapidSSL certificate from my host for $45.00 a year (they also offer StarterSSL). There are a few steps that I have to take and then they set it up for me. Hope that helps a little. ;) - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 - Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.