Guest Posted February 15, 2013 Posted February 15, 2013 Hi, I'm a bit confused. re a catalog folder. I don't have one. Any idea why? I have looked on the server and local system. But no catalog folder on either. Folder I have from root down:- admin download ext images includes pub Just found this out, while following the 'Facebook like/send buttons on products updated Feb 2013 to include instruction on adding this contribution if you have STS or HTSEO installed.' Procedure. Is my OSC installed correctly? Thanks for reading. Andy
Eszaraxe Posted February 15, 2013 Posted February 15, 2013 Your catalog folder is probably the same as your root folder in this case. osCommerce 2.3.1 - QTPro 4.6.1 - Ultimate SEO URL's 5 Pro r205 - Discount Code 3.1 - Column listing with smart columns - Products Sort and some more
Guest Posted February 15, 2013 Posted February 15, 2013 Okay, I see where your coming form. But. this line. 'In Catalog > Product_info.php make the following changes' Product_info.php is not there. Confused.... It seems to be sitting here ..................................\includes\languages\english\product_info.php
burt Posted February 15, 2013 Posted February 15, 2013 You need to understand how osCommerce hangs together... Each page consists of (usually) two separate files: product_info.php <- this is the main filie /includes/languages/english/product_info.php <- this contains (most of) the language stuff used in the main file On some addons, reference is made to a "catalog" folder. If you have no catalog folder, for example: 1. your oscommerce is installed at /shop/ 2. your oscommerce is installed at / 3. your oscommerce is installed at /catalogue/ 4. your oscommerce is installed at /shop/catalog/ then you simply exchange the word "catalog" for where-ever your shop is really installed. 1. catalog > shop 2. catalog > "" (nothing) 3. catalog > catalogue 4. catalog > shop/catalog
Guest Posted February 15, 2013 Posted February 15, 2013 Hi, Yes, I fully understand that now. but, 'your oscommerce is installed at / (this being the root, or catalog folder)' which means that 'Product_info.php' is not where it should be. and that's the confusing part. In Catalog > Product_info.php make the following changes 1) To get the image name............ AFTER $product_check_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'"); $product_check = tep_db_fetch_array($product_check_query); ADD $product_image_query = tep_db_query("select products_image from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'"); $product_images = tep_db_fetch_array($product_image_query); If you get my drift?
MrPhil Posted February 15, 2013 Posted February 15, 2013 Well, it's product_info.php, if somehow you're looking in a case-sensitive manner (are you on a Linux box?). If your shop is installed at /, there should be a /product_info.php file. If there isn't, it sounds like your installation is damaged in some way. Do you know how to list all the files on your entire site, to see if product_info.php got moved somewhere else? (Windows: dir /s, Linux: ls -laR) The one you spotted under languages/english/ should have only text string definitions.
Guest Posted February 15, 2013 Posted February 15, 2013 the site is on a Linux box. My system is a Windows 7/64. I think you are right in that something is damaged. Do you know how to list all the files on your entire site NO. I use FZ 3.5.3 as the FTP client. There is no way of reinstalling without over writing all I have done? Andy
♥joli1811 Posted February 15, 2013 Posted February 15, 2013 Hi Andy, Sometimes when installing/setting up ftp client the path may be wrong so worthwhile going to your control panel in hosting account and checking if you are actually uploading to correct place as the files should be there somewhere,. No need to overwrite or delete would think more just getting the correct path set up (and if wrong copying the files to correct place.) public_html/ possibly public_html/shop/ or public_html/whatever/ Not sure if that helps Regards Joli To improve is to change; to be perfect is to change often.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.