Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Andreas2003

Pioneers
  • Posts

    315
  • Joined

  • Last visited

Everything posted by Andreas2003

  1. Sam, I would like to mod the search in that way, that the database-field "categories_htc_title_tag" is included in the search as well, not only the "categories_name". Can you please tell me, where to make this modification ? Thank you very much for this great contribution and your support, Regards Andreas
  2. Hi there, I have a rather old version of IPU installed. On my multi-lingual site, I have the problem, that one page has different ID's for every language. For example: The imprint in English has the ID = 1 The imprint in German has the ID = 2 The imprint in Espanol has the ID = 3 Due to this, you cannot switch between the languages. Is this possibly solved in the newest version of IPU ? Thanks in advance, Regards, Andreas
  3. Jack, one additional question: I have the problem, that the info, that I entered for the root page index.php also appears, when a category is being watched. Then, both information, the one entered for the category AND the info for the index.php appears. Is it possible to enter separate information for the index.php (the root page of the shop) only, without affecting all category pages as well ? Thanks in advance
  4. That was the solution, thanks ! First I deleted all pseudo pages and the root page of information.php in the admin page control. Next, I added the root page again, by adding missing pages. Next, I added one pseudo page. To this point of time, the database had no entries for these two pages. Next I added the data in the page control and it works ! Thanks for your help !
  5. Jack, sorry for coming up with this problem again, but I double-checked the permissions on the file /catalog/includes/header_tags.php. The file is writeable for oscommerce. I also deleted all case-blocks in the middle of /catalog/includes/header_tags.php and let the file being re-written by selecting the "add all missing pages"-Function in the admin. After that the /catalog/includes/header_tags.php was re-written, but the code for the information.php-case is not longer than the one of the other pages. In the database, a pseudo page ("information.php?info_id=9") is set up correctly, but the results wont show up in the frontend. Do you have an advice for me please, what to check next in order to get my pseudo pages working correctly ? Any help very much appreciated. Andreas PS: osC is on version RC2.2a and PHP 5.2.14.
  6. No, I didn't mean the includes/headertags.php, but the information.php !
  7. Hi Jack, thank you for you quick answer. File permission is set to server writable. Date and time is set to current data, if I update the file. But the entry for the information page is not bigger than the ones of the other pages. Is there another code snip-set needed for the information.php? The used one is this: <?php if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) { ob_start(); require(DIR_WS_INCLUDES . 'header_tags.php'); $preventDuplicates->checkTarget(ob_get_clean()); echo $preventDuplicates->finalMeta . "\n"; } else { ?> <title><?php echo $INFO_TITLE; ?></title> <?php } ?> If this is correct, what other "writing" problems may occur ? Thanks in advance
  8. I'm having a small problem with pseudo pages. I have the unlimited info pages contrib installed, which is working. The "information.php" is shown correctly in HeaderTags. Then I setup a pseudo page in order to fill the meta information for "information.php?info_id=xx" (where xx are some of my id's). Setup is working also correctly. But... The result in the frontend is not showing up, only the information of the root page (=information.php) is shown. Same result is shown, when I click on "view result" in the page control. Same problem appears when setting up the meta information for ask_a_question. Only a static info "ask a question" is shown in the frontend. Any ideas appreciated, where I can find a solution to this problem. Many thanks in advance, regards Andreas PS: Cache is disabled
  9. Warum willst Du auf das Update verzichten ? Klar hast Du mit dem Update einen gewissen Aufwand, aber m.E. lohnt der sich durchaus. Du bekommst damit die PHP5-Fähigkeiten, sowie diverse Verbesserungen und Bugfixes.
  10. Got some more information: http://www.80legs.com/spider.html I blocked it through robots.txt: User-agent: 008 Disallow: / Hope, that will work.
  11. Got something on my site, which I'm not familiar with: Name: 0.83 IP-address is changing, but a lot from different comcast-nodes like "c-66-41-29-213.hsd1.mn.comcast.net". No session, no referrer. I searched through my spiders.txt, but did not found anything like "0.83". Do anyone of you know, if this is a real "bot" or someone too interested in my site? Thanks in advance, regards Andreas
  12. Yes, you'r right. It workes so far, thank you very much for your input, but to be honest, I'm not definitely sure, if I want to expand the product_info_query as you mentioned. Lets see, if another idea are coming up.
  13. RusNN, yes, I need it only in my product_info.php. But which existing query or array do you mean. I did not found any, where "products_head_keywords_tag" is fetched or avail too.
  14. The database field, where the info is coming from, is called "products_head_keywords_tag" in Table products_description. Is there a way to access it through the array, because I don't want an additional query. Thanks
  15. Jack, got a quick question. In the settings for my product_info.php, I have set to include the categories name behind. That is necessary for my page title and I cannot / don't want to change it. But now, I want to display the HT-Keywords as well at another place of the product_info. So, I tried this: <?php echo $header_tags_array['keywords']; ?> But as result, I got: keyword, category which, of course, is correct, according to my settings. I also looked up the whole header_tags_array for another solution, but with no success. So I want to ask you, if I can somehow extract or access the keyword without the appendix of the category. Is this somehow possible? Thank you very much in advance. Regards Andreas
  16. Hello together, maybe I have a small problem, which comes up with my installed xsell contribution. The link of the "buy now"-button of the xsell-product shows the following: http://www.domain.com/category/product-p-1234.html?product_to_buy_id=4321&action=buy_now But when I click on that button, an error message appears, that the product (id=4321) cannot be found. Is it possible, that this problem comes up with my installed ultimate-seo contrib ? Can someone of you tell me, if the a.m. link is correctly built up ? Thanks in advance, Regards Andreas
  17. So, new insight. Now I let me print out all partial values. With that I found out, that the result of the original formula is negative ! So PayPal is not complaining because of the formatting, but because of the value. Here are my example values: Item value: 0.59 Shipping: 4 Total: 4.59 included Tax: 0.73 Result with original code: -0.14 (4.59 - 4 - 0.73) In the PayPal Integration Guide, the 'amount' definition is as follows: Price of the item or the total price of all items in the shopping cart. Thus, the formula would still be correct with: 'Amount' => $ this-> format_raw ($ order-> info ['total'] - $ order-> info ['shipping_cost']), Total = 4.59 and since shipping = 4.00, so I would be the correct item value = 0.59. But with that, Paypal shows me: Total value: € 0.59 Tax: € 0.73 Total: € 4.00 Total including shipping: € 5.32 EUR But then, in the total from last line, the tax reduction is missing. On the other hand, if I comment out the 'tax' definition, then the result is : Total value: € 0.59 Total: € 4.00 Amount: € 4.59 EUR That would be correct, but the tax must still be identified correctly, so this way does not work. Was there a change in PayPal 'amount'-definition, without changing the integration help (see link)? Gained some more experience, but still no breakthrough. Any help appreciated, Regards Andreas
  18. Hello together, I have a big problem with the PayPal module, which is included in the RC2a osCommerce files. Filename is "paypal_standard.php". During my first test in paying with Paypal, I received the following error message: The link that you have accessed the PayPal system contains an incorrectly formatted amount for the item. (Sorry, message translated, not the original message). I tried to find the error. In the function "process_button" in line 285, there is the 'amount' definition included in the parameters array. 'amount' => $this->format_raw($order->info['total'] - $order->info['shipping_cost'] - $order->info['tax']), First I tried to fix the amount by this line: 'amount' => '1.10'), which was working. Then I tried the parts of the definition: 'amount' => $this->format_raw($order->info['total']), and 'amount' => $this->format_raw($order->info['total'] - $order->info['shipping_cost']), where both were working too. So, it seems, that there is an error in the tax definition. Then I tried: 'amount' => $this->format_raw($order->info['total'] - $order->info['shipping_cost'] - '1.10'), and received the error message again. Even this was not working: 'amount' => $this->format_raw($order->info['total'] - $order->info['shipping_cost'] - '1'), On the other hand, this was working too: 'amount' => $this->format_raw($order->info['total'] - $order->info['tax']), All trials with changing the formula of amount calculation leads towards the paypal login with no error message, but of course the values mentioned on the paypal site are incorrectly calculated. Can anyone give me some hints, how to solve this ? Thank you very much in advance and sorry for my english. Regards Andreas
  19. Now I have excluded all subdirs, so Sitemonitor should only monitor the root files. But I'm getting the same error message.
  20. Jack, I already excluded: - admin - images - thumbnails (from my thumbnailer) So the only files being monitored, are in the root-dir of osC and the includes-dir.
  21. Additional info: I have already set the maximum execution time of php scripts to 55 seconds (more is not possible due to my provider). Memory size was 20 MB, I upped it to 30 MB with no success for the sitemonitor. The error message appears, when running Sitemonitor in my admin backend. My cronjob is not running successfully as well. The execution command is here: /home/httpd/cgi-bin/php4 /usr/www/users/shop/admin/sitemonitor.php But the shop is running under php5, so should I change the line to php5 ? I found a piece of code in another contribution, which might help to prevent the timeout: // Send fake header to avoid timeout, got this trick from phpMyAdmin $time1 = time(); if ($time1 >= $time0 + 30) { $time0 = $time1; header('X-bpPing: Pong'); } } Don't know, if this could help.
  22. Hi Jack, any advice, what I can do? All big directories are excluded (which should not), and it is givin' me the a.m. message. A.m. Line 463 is the $parts-line within the following code: function GetPart($part, $path) { $parts = explode(",", $path); return trim($parts[$part]); } Thanks in advance. Regards Andreas
  23. Alright, I guess, you mean that posting here ?! And another silly question: Do I have to submit all xml-sitemap-files beneath the sitemap-index ?
  24. I'll keep on reading through the whole thread. But with that change, it was possible to manually create different language-sitemaps (by copying/renaming the files of first run etc.). Can you give me a hint, where the output-process is in your files? What I mean: I want to rename the filename "sitemapproduct" to "sitemapproducts_english" etc. but I didn't found the place, where this placed. I found the function "SaveFile" in the "sitemap.class.php". Maybe, this is the right place? Whats your opinion on changing line 329 and 342 $filename .= '.xml.gz'; $filename .= '.xml'; to that ?? $filename .= '_english.xml.gz'; $filename .= '_english.xml'; In a second step, the given URL-parameter can change the filename between the languages (_english, _espanol, _german....). Thanks in advance. Regards Andreas
×
×
  • Create New...