micromods Posted August 26, 2006 Posted August 26, 2006 I have just installed the new store and everthing works fine except the buttons are broken. eg Quick Link Well I say not working, they work its just that there are no images. Is there a quick fix for this and is it a known problem. I have had a quick search and could not find anything. I am pretty new to this, if someone could explain it to me in the basics. Thank you for your help in advance.
jamesn666 Posted August 26, 2006 Posted August 26, 2006 I have just installed the new store and everthing works fine except the buttons are broken. eg Quick Link Well I say not working, they work its just that there are no images. Is there a quick fix for this and is it a known problem. I have had a quick search and could not find anything. I am pretty new to this, if someone could explain it to me in the basics. Thank you for your help in advance. What are the properties(url) of the image, right click view properties on where the image is supposed to be.
micromods Posted August 26, 2006 Author Posted August 26, 2006 thanks I have checked these and the links seem to be fine. eg http://www.trackhuggers.co.uk/includes/lan...images/icon.gif I dont know why they are not working. Thanks
jamesn666 Posted August 26, 2006 Posted August 26, 2006 It seems as if them images dont exist, upload them again & make sure all the folders are uploaded
micromods Posted August 26, 2006 Author Posted August 26, 2006 Nope still nothing. I cont understand why it is doing it all the paths are correct. Everything is where it is supposed to be but it wont display the button images.
micromods Posted August 26, 2006 Author Posted August 26, 2006 Thanks, They are still broken. If anyone can help please coudl you reply as I am on stop until I can reslove this issue. Thank you
micromods Posted August 26, 2006 Author Posted August 26, 2006 HELP HELP HELP. PLease help. I have no idea why they are not working.
micromods Posted August 27, 2006 Author Posted August 27, 2006 Hi everyone I still need to fix this problem. Please could someone help me. Thank you in advance
meanjeanslo Posted September 4, 2006 Posted September 4, 2006 Hi everyone I still need to fix this problem. Please could someone help me. Thank you in advance I have this same problem, except that my catalog is in a folder called /store/ and the problem is that the image link is pointing to the root rather than just straight to the /store/ folder. In your /includes/configure.php for your catalog, where do you have these directories pointing? define('DIR_WS_HTTP_CATALOG', '/store/'); define('DIR_WS_HTTPS_CATALOG', '/store/'); define('DIR_WS_IMAGES', '/store/images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', '/www/store/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/'); I've messed around with the directories and I can't seem to fix the problem. My root is www and if I remove that, then my entire catalog disappears. So, I'm thinking that the link problem must be in a different file. I hope someone can help soon. I'm really tired of messing with this.
meanjeanslo Posted September 4, 2006 Posted September 4, 2006 Hi everyone I still need to fix this problem. Please could someone help me. Thank you in advance I finally found a way to fix my problem, although I don't know if this will work for everyone. First, open you file called html_output.php which is located in your catalog/includes/functions/ Then locate where it is pointing your language files, about line 116 you should see this code: // The HTML form submit button wrapper function // Outputs a button in the selected language What I did was changed this: $image_submit = '<input type="image" src="' . tep_output_string(DIR_WS_LANGUAGES . $language . '/images/buttons/' . $image) . '" to the exact path in the language that I'm using, which is english. Since I don't intend to use other languages, this worked for me. New code is: $image_submit = '<input type="image" src="' . tep_output_string('/mystore/includes/languages/english/images/buttons/' . $image) . '" There is one more place right below this section, which begins on line 132 and the code I changed is on line 137. Just did the same thing. I changed it to: //// // Output a function button in the selected language function tep_image_button($image, $alt = '', $parameters = '') { global $language; return tep_image('/mystore/includes/languages/english/images/buttons/' . $image, $alt, '', '', $parameters); The mystore folder is where my catalog is stored. So, if you don't have that subdirectory, then just remove that little part and change it so ('/includes/languages/english/images/buttons/' . $image,$alt,",",... I really hope this helps. I know I've been searching for days to fix this problem. I still haven't resolved the language icon problem, but am working on that fix, too. Good luck!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.