s1lverf0x Posted June 30, 2009 Share Posted June 30, 2009 Hi Stanislav,That has reverted it back to the original problem - I'm not getting "Product not found" any more but if you add more than 1 product to the cart from the category/product_listing it just duplicates the first item in the cart. I've noticed that at that piece of code you mentioned above in the product_listing.php - it's slightly different fro me as I have the contribution Bundled Products installed, my code looks like this: // BOF Bundled Products case 'PRODUCT_LIST_BUY_NOW': $lc_align = 'center'; $StockChecker1 = tep_get_products_stock($listing['products_id']); if ( $StockChecker1 <> 0){ $lc_text = (($listing['products_price'] > 0) ? '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action', 'product_id')) . 'action=buy_now&products_id=' . $listing['products_id']) . '">' . tep_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . '</a> ' : ' '); }else{ $lc_text = tep_image_button('button_out_of_stock.gif', IMAGE_BUTTON_OUT_OF_STOCK) . ' '; } break; // EOF Bundled Products I have php5.2.9 installed - should I be on Ultimate SEO URL 5 (I'm on 2.7)? if I move to version 5 do you know if that would mess-up things like my Bundled Products that are embedded into files like product_listing.php? I'll start looking at Ultimate SEO URL 5 install to see what's involved. Cheers Jason Hi Stanislav, I found my problem - because my code was slightly different to the line you posted, I typed the new field in - products_id - but I missed the 's' off products_id - I've done as you said - restored the /catalog/shopping_cart.php (taking out the new 'products_id' field) and added this field into /catalog/inclludes/modules/product_listing.php - and it all works as it should now - no more duplicate items in my cart & no more "roduct not found". Thank you for your support & help. Cheers Jason Quote Link to comment Share on other sites More sharing options...
Andreas2003 Posted July 1, 2009 Share Posted July 1, 2009 (edited) Hi there, I installed UltimateSEO version 2.7 and it works really like a charm. But I have a question regarding languages: I'm offering two languages in my shop, english and german. In my sitemap, the SEO-URL are also fine. All english products are tagged with "?language=en", which might be ok regarding SEO. BUT ... As I looked at the URL in detail, I figured out, that the URL is not different when looking at the same product item. The only difference is the a.m. "?language=en" which is added to the URL. Example with a cellular phone: English URL: http://www.domain.com/cellularphone-p-10.html?language=en German URL: http://www.domain.com/cellularphone-p-10.html But "cellular phone" is called "mobiltelefon" in German, so IMHO the correct german URL should be: German URL: http://www.domain.com/mobiltelefon-p-10.html Google is taking all aspects from the URL into the ranking and if you want a good performance in ranking in both languages, I think, the german "mobiltelefon" should rank better, when all other keywords onpage are also "mobiltelefon". I hope, I could somehow describe the problem and hope you can help me. Can this behaviour changes somehow? If this issue is already discussed in the past, please point me to the correct page. Kind regards Andreas Edited July 1, 2009 by Andreas2003 Quote Link to comment Share on other sites More sharing options...
hooliead Posted July 2, 2009 Share Posted July 2, 2009 I have just installed this contrib but I have a trouble with it (my website is down now <_< ) I haave installed and eddit everything like in the file is written only now I cant see any of my products anymore. Can somebody please look at the site and maybe give me the golden tip how I get it working again. Webshop url: www.kledingenstickers.nl/webshop Thanks in advance for the help Quote Link to comment Share on other sites More sharing options...
Pektsekye Posted July 2, 2009 Share Posted July 2, 2009 I have just installed this contrib but I have a trouble with it (my website is down now <_< ) I haave installed and eddit everything like in the file is written only now I cant see any of my products anymore. Can somebody please look at the site and maybe give me the golden tip how I get it working again. Webshop url: www.kledingenstickers.nl/webshop Thanks in advance for the help Hello, check the htaccess file try to remove it Stanislav Quote Link to comment Share on other sites More sharing options...
hooliead Posted July 2, 2009 Share Posted July 2, 2009 Hello, check the htaccess file try to remove it Stanislav I can't see the htaccess file so i can't remove it i already tried to send an empty htaccess but then it does not work. Ik have turned of the contrib in the admin and the site is working again (only with the old url's) anyone any idea (i think the problem is with the HTACCES and the directory or something, to be honest i don't understand complete what they mean there) Quote Link to comment Share on other sites More sharing options...
Pektsekye Posted July 2, 2009 Share Posted July 2, 2009 I can't see the htaccess file so i can't remove it i already tried to send an empty htaccess but then it does not work. Ik have turned of the contrib in the admin and the site is working again (only with the old url's) anyone any idea (i think the problem is with the HTACCES and the directory or something, to be honest i don't understand complete what they mean there) Hello, You should upload the .htaccess file with correct content The contribution will not work without it I have to check "Show Hidden Files" in my ftp program to be able to see the .htaccess Stanislav Quote Link to comment Share on other sites More sharing options...
Guest Posted July 2, 2009 Share Posted July 2, 2009 Hello, I have installed the contribution but when i go to my admin on http://www.mbitz.info/iadmin/administrators.php then it redirects and i get a error: 404 can't find and it gives this url : http://www.mbitz.infodir_ws_http_cataloglogin.php/ I have looked everywhere (also in this topic), but i can't get in my admin. Thank you very much for the help. Kind regards, Erwin Quote Link to comment Share on other sites More sharing options...
Pektsekye Posted July 2, 2009 Share Posted July 2, 2009 Hello, I have installed the contribution but when i go to my admin on http://www.mbitz.info/iadmin/administrators.php then it redirects and i get a error: 404 can't find and it gives this url : http://www.mbitz.infodir_ws_http_cataloglogin.php/ I have looked everywhere (also in this topic), but i can't get in my admin. Thank you very much for the help. Kind regards, Erwin Hello, check the http://www.mbitz.info/iadmin/.htaccess file OR http://www.mbitz.info/.htaccess file try to remove it If it helps then you have to correct it and upload again Stanislav Quote Link to comment Share on other sites More sharing options...
Guest Posted July 2, 2009 Share Posted July 2, 2009 Hello, check the http://www.mbitz.info/iadmin/.htaccess file OR http://www.mbitz.info/.htaccess file try to remove it If it helps then you have to correct it and upload again Stanislav Hello, Thank you for your answer but i deleted the htaccess files and that doesn't work. So it's not those files that causes the error. Erwin Quote Link to comment Share on other sites More sharing options...
Pektsekye Posted July 2, 2009 Share Posted July 2, 2009 (edited) Hello, Thank you for your answer but i deleted the htaccess files and that doesn't work. So it's not those files that causes the error. Erwin Hello, You have something wrong in the iadmin/includes/configure.php file also check the /includes/configure.php as I see you have wrong urls with double slash: http://www.mbitz.info//monitoren-gebruikte-monitoren-c-6_41.html Stanislav Edited July 3, 2009 by Pektsekye Quote Link to comment Share on other sites More sharing options...
Guest Posted July 3, 2009 Share Posted July 3, 2009 Hello, Then you have something wrong in the http://www.mbitz.info/iadmin/includes/configure.php file Stanislav Hello Stanislav, But this shop was working well, but when i installed the contribution the admin doesn't work anymore. Why does it redirect to a file that doesn't exist? www.mbitz.infodir_ws_http_cataloglogin.php It was www.mbitz.info/iadmin/administrators.php, but something redirects it to the URL above. The configure file seems to be right but cataloglogin.php (this file is not on my server) Erwin Quote Link to comment Share on other sites More sharing options...
Pektsekye Posted July 3, 2009 Share Posted July 3, 2009 Hello Stanislav, But this shop was working well, but when i installed the contribution the admin doesn't work anymore. Why does it redirect to a file that doesn't exist? www.mbitz.infodir_ws_http_cataloglogin.php It was www.mbitz.info/iadmin/administrators.php, but something redirects it to the URL above. The configure file seems to be right but cataloglogin.php (this file is not on my server) Erwin Can you show both configure.php files here without the database passwords? Stanislav Quote Link to comment Share on other sites More sharing options...
Guest Posted July 3, 2009 Share Posted July 3, 2009 (edited) osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'http://www.mbitz.info'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://www.mbitz.info'); define('HTTPS_CATALOG_SERVER', 'http://www.mbitz.info'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '//iadmin/'); define('DIR_FS_ADMIN', '/usr/home/ws/mbitzinfo/www.mbitz.info/www/iadmin/'); define('DIR_WS_CATALOG', '//'); define('DIR_FS_CATALOG', '/usr/home/ws/mbitzinfo/www.mbitz.info/www/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'www.mbitz.info/images/'); 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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); // define our database connection define('DB_SERVER', 'xxxxxxx'); define('DB_SERVER_USERNAME', 'xxxxxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxxxx'); define('DB_DATABASE', 'xxxxxxx'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); This is the admin one, and the contribution on the shop works well, execpt this admin thing. Edited July 3, 2009 by Erwin79 Quote Link to comment Share on other sites More sharing options...
Pektsekye Posted July 3, 2009 Share Posted July 3, 2009 Hello, try this instead of your code: define('HTTP_SERVER', 'http://www.mbitz.info'); define('HTTP_CATALOG_SERVER', 'http://www.mbitz.info'); define('HTTPS_CATALOG_SERVER', 'http://www.mbitz.info'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/usr/home/ws/mbitzinfo/www.mbitz.info/www/'); define('DIR_WS_ADMIN', '/iadmin/'); define('DIR_FS_ADMIN', '/usr/home/ws/mbitzinfo/www.mbitz.info/www/iadmin/'); define('DIR_WS_CATALOG', '/'); define('DIR_FS_CATALOG', '/usr/home/ws/mbitzinfo/www.mbitz.info/www/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); 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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); show your includes/configure.php file also as I see you have wrong urls with double slash: http://www.mbitz.info//monitoren-gebruikte...ren-c-6_41.html Stanislav Quote Link to comment Share on other sites More sharing options...
Guest Posted July 3, 2009 Share Posted July 3, 2009 define('HTTP_SERVER', 'http://www.mbitz.info'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'http://www.mbitz.info'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', 'false'); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'mbitz.info'); define('HTTPS_COOKIE_DOMAIN', 'mbitz.info'); define('HTTP_COOKIE_PATH', '//'); define('HTTPS_COOKIE_PATH', '//'); define('DIR_WS_HTTP_CATALOG', '//'); 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', '/www.mbitz.info/www/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); This is the include/configure file, but this shop is up and running for a longer time. And everything is working fine untill i installed the contribution and the redirect for the admin. I don't get it. Erwin Quote Link to comment Share on other sites More sharing options...
Pektsekye Posted July 3, 2009 Share Posted July 3, 2009 (edited) Hello, use this code for the includes/configure.php: define('HTTP_SERVER', 'http://www.mbitz.info'); define('HTTPS_SERVER', 'http://www.mbitz.info'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'mbitz.info'); define('HTTPS_COOKIE_DOMAIN', 'mbitz.info'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); 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', '/usr/home/ws/mbitzinfo/www.mbitz.info/www/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); This is the include/configure file, but this shop is up and running for a longer time. And everything is working fine untill i installed the contribution and the redirect for the admin. I don't get it. This contribution requires correct path settings. Stanislav Edited July 3, 2009 by Pektsekye Quote Link to comment Share on other sites More sharing options...
Guest Posted July 3, 2009 Share Posted July 3, 2009 Stanislav, Did replace the codes but it's stil redirecting. But a simple question, how can it redirect from www.mbitz.info/iadmin/administrators.php to the other link? Then there is code that tells to redirect, or i am wrong? Thank you for your hard work. Erwin Quote Link to comment Share on other sites More sharing options...
Pektsekye Posted July 3, 2009 Share Posted July 3, 2009 Stanislav, Did replace the codes but it's stil redirecting. But a simple question, how can it redirect from www.mbitz.info/iadmin/administrators.php to the other link? Then there is code that tells to redirect, or i am wrong? Thank you for your hard work. Erwin Hello, show the content of the two files here: admin/includes/application_top.php admin/login.php Stanislav Quote Link to comment Share on other sites More sharing options...
Pektsekye Posted July 3, 2009 Share Posted July 3, 2009 Stanislav, Did replace the codes but it's stil redirecting. But a simple question, how can it redirect from www.mbitz.info/iadmin/administrators.php to the other link? Then there is code that tells to redirect, or i am wrong? Thank you for your hard work. Erwin Hello, It looks like you have modified admin/includes/functions/html_output.php instead of /includes/functions/html_output.php Stanislav Quote Link to comment Share on other sites More sharing options...
Guest Posted July 3, 2009 Share Posted July 3, 2009 Hello, It looks like you have modified admin/includes/functions/html_output.php instead of /includes/functions/html_output.php Stanislav Stanislav, Pffff that's right, i modified the wrong file. Now everything is working. Thank you very much for al your help. Erwin Quote Link to comment Share on other sites More sharing options...
SpankyAndy Posted July 4, 2009 Share Posted July 4, 2009 Hi all ! I've got Ultimate SEO URL's 2.1d installed and working fine, but I've now discovered I need to move and rename one of my categories for SEO purposes. A 301 redirect is in order, but this is confusing me big time while USEO URL's is involved. Basically, I'm trying to do this ... Current setup: Name: Category1 (parent) Real URL: /index.php?cPath=10 USEO Rewritten URL: /category1-c-10.html Category1 is to be renamed Category2 and moved to a sub category as follows: Name: Category2 (sub category) Real URL: /index.php?cPath=20_10 USEO Rewritten URL: /[parent]-category2-c-20_10.html Now, I realise I need a 301 dynamic page redirect in my .htaccess for either index.php?cPath=10 or category1-c-10.html, but I'm totally unsure of the syntax given the USEO contribution rewrites the URL in the first place, so there's no HTML file to redirect. As I said... I'm very confused. If anyone's able to help me out, I'd really appreciate it ! Cheers Andy Quote Link to comment Share on other sites More sharing options...
webwork Posted July 4, 2009 Share Posted July 4, 2009 Hi, I am using yahoo hosting. It doesn't support .htaccess feature. Is there a way to use this contribution without .htaccess, or is there any similiar contributions without .htaccess requirement? Thanks Quote Link to comment Share on other sites More sharing options...
Pektsekye Posted July 4, 2009 Share Posted July 4, 2009 Hi, I am using yahoo hosting. It doesn't support .htaccess feature. Is there a way to use this contribution without .htaccess, or is there any similiar contributions without .htaccess requirement? Thanks Hello, I think that ULTIMATE Seo Urls 5 can make urls like this: www.mysite.com/product_info.php/great-product-p-3 without .htaccess file Stanislav Quote Link to comment Share on other sites More sharing options...
jozinecko Posted July 5, 2009 Share Posted July 5, 2009 Hi, I am sorry if I repeat someone but I dont find it. sometimes when I click on some item or categore it wrote me this: Warning: mb_strpos() [function.mb-strpos]: Empty delimiter. in /www_root/includes/classes/seo.class.php on line 1180 but I dont have catalog dir that I delete this code in includes/classes/seo.class.php if (strpos($origUrl, $catalog) !== FALSE) $origUrl = substr($origUrl, strlen($catalog)); //remove the catalog from the url string now is working perfect, hope to someone help too:) Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 6, 2009 Share Posted July 6, 2009 A new version has been uploaded. This version uses the last, stable release of the contribution. It doesn't provide anything new but just fixes problems with the original, which are: - Fixed code that would cause the deletion of configuration settings for other contributions. - Fixed short words code. - Fixed include category name code. - Fixed changed url code (if name of the url doesn't match the actual name, it redirects). All that has changed is the includes/classes/seo_class.php file so uploading that will apply this version. After installing it, click around your site a few times. Then go into admin->Configuration->SEO URLs and set the options as you wish. Then use the reset option to clear cache. It should work at that point. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.