Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

psychoder

Pioneers
  • Posts

    34
  • Joined

  • Last visited

About psychoder

  • Birthday 12/27/1983

Profile Information

psychoder's Achievements

  1. Doing a search for "cron" helped of course... and the answer is to use wget.
  2. I have an addon to generate feeds for google products, bing, nextag, etc (feedmachine addon). This addon basically products a tab delimited text file feed of your products, and while doing that creates the links for your products as well... It has a web interface to create the feeds manually but you can also set a cron job to do it periodically. The manual creation of feeds work fine with USU5 Pro but when the thing is run as a cron job it gives the following error: Fatal error</b>: Call to a member function retrieveDependencies() on a non-object in <b>/home/..../includes/modules/ultimate_seo_urls5/main/bootstrap.php I am guessing this is because it is not run in a browser. Is this the reason behind it or what can be the problem? Is there a work-around?
  3. I have been fidgeting with the kissmt.php language file but I am not sure if it works properly yet... Or it is not behaving as I would expect it to be - any insight would be largely appreciated... (My previous questions were mainly result of these problems) The main problem I am having is with: /** * General * Default text to add to meta titles that are too short. Leave blank if not needed. you can inlude %s to place your shop name in there. */ define( 'KISSMT_TITLE_PADDING', 'buy from %s' ); /** * Homepage * Note: The %s is where your shop name will go in the text */ define( 'KISSMT_HOMEPAGE_TITLE', 'My Great Product Range' ); define( 'KISSMT_HOMEPAGE_DESCRIPTION', 'Full Range of Wiggets' ); First problem is the title padding does not seem to work - it never adds it after the title. I put a 12 character shortened store name there. It does not add it there even if "max meta title length" is not reached. It instead takes first few words from the KISSMT_HOMEPAGE_DESCRIPTION and adds it there. It does the same thing for products pages, categories pages, etc... Is there a way to change this behavior? is it normal? On another note - is it possible to add a feature to add a number of keywords to the dynamically created list of key words?
  4. I have two different feed configurations, one for bing and other for google products. They both encoding set as false but while one of the can produce the ® - registered character correctly, the other one replaces it with ® why would this be the case? Edit: Found the problem. It is related to "HTML_ENTITIES" option.
  5. Yeah - I thought that might the problem as well... Anyway it is working on normal pages - just need to fine tune it. let me try... 1) Category-Manufacturers Descriptions-H1 page title optional extra: I put the echo KissMT::init()->page_title . PHP_EOL; at appropriate locations. In home page this displays the Store title, in categories pages this displays the category name - as page <H1> title. However this does not put the category name there for the category page a 3-level-deep category, ie when cpath=XX_XXX_XXXXX. 2) KissMT configuration values: Was wondering if it is possible to set "Limit the meta title length." value differently for different pages - but what I had in mind was to be able to have longer titles for the category pages but they all work through the index.php - it is kinda hard I guess. 3) Category-Manufacturers Descriptions-H1 page title optional extra: the H1 page title uses the same text as the "Meta Title" uses? 4) And for the "meta title": when KISS_MT_META_TITLE_LENGTH=60 and I have KISSMT_HOMEPAGE_TITLE as 40 characters, it will pad it with repeating some words from KISSMT_HOMEPAGE_TITLE. is this normal? something like this: This is my store Title - This is my store when KISSMT_HOMEPAGE_TITLE="This is my store title."
  6. A couple of further questions on the usage: I use the page_title but it stops producing the Category name as title, at 3 level-deep category. It puts proper titles for upper levels of categories. Is this normal? Would there be a way to set different title lengths ( the meta titles) for different pages? About meta title and pageHeading title - are they always the same text? for home page, and categories page? And finally - when there is a short title as title - it pads with the same text again, taking as many words needed... Is it also a normal behavior?
  7. I have a strange problem (at least strange to me)... I uploaded the files to our website, and wanted to try it - since it is a live website - I use index-test.php for testing purposes. I tried adding the required include on that file <?php include_once DIR_WS_MODULES . 'kiss_meta_tags/kiss_meta_tags.php'; ?> and it kept giving the error: Fatal error: Class 'KissMT_Module' not found in ... I checked all the comments/discussions about this error and none of them applies to me, the directory settings are correct - and i dont have any payment systems etc... Then i figured out to put the line in other php files, then they worked. Then I tried on the original index.php file - it works there as well. Why wouldn't it work on index-test.php? Thanks.
  8. Oh thanks - got it... Then I really need to fix just 20 errors, good to hear :)
  9. Hello, Is it normal that the error reporting shows like 500~ notice errors, but only list 10-20 of them? Is there a limit on the number of errors it will list? Thanks.
  10. For each link it creates it calls tep_href_link function - i guess that would be normal behavior right? there are over 900 categories in the store. And apparently it is not calling that query for each of them, maybe just for ones that has child categories. Though I am not exactly sure if it is the tep_href_link function that calls that db query I quoted each time... That is why I thought your input might be of help here :) Would there be a reason why it would not cache on the same page? I am working through an index filed called index-test.php and checking queries through KissER query output... Edit: Oh so it doesnt cache subsequent queries... Ok... But it is this function that calls that query right? I have another modification (optimize categories box) that uses single query to get those child categories. Guess I can do some modification to use those maybe..
  11. No problem at all.. Thanks for this addon... I need some more help with a problem related to another addon interacting with USU5. I have DynaMenu for oscommerce installed and I was trying to optimize it by decreasing the number of queries it uses - which becomes a problem for stores with a lot of categories and products. The addon calls the tep_href_link(FILENAME_DEFAULT, $cPath_new) function and I think the modified version of this function (modified for USU5 pro that is) calls this kind of query: SELECT cd2.categories_name AS pName, cd.categories_name AS cName FROM :TABLE_CATEGORIES c LEFT JOIN :TABLE_CATEGORIES_DESCRIPTION cd2 ON c.parent_id = cd2.categories_id AND c.parent_id = cd2.categories_id AND cd2.language_id = :languages_id, :TABLE_CATEGORIES_DESCRIPTION cd WHERE c.categories_id = cd.categories_id AND c.categories_id = :cid AND cd.language_id = :languages_id With USU5 caching in place, shouldnt it be calling this query once and cache the result? With dynaMenu it seems to be using this query everytime on refresh the page (producing like ~400 queries for the menu)... Thanks.
  12. Hello, I searched the post but I did not see it was mentioned... I noticed an error when I was trying to update my sitemaps in google webmaster tools. The sitemapIndex file created by the sitemap tool in the extras does not seem to be conforming to the specifications described in http://sitemaps.org/protocol.php as in: <?xml version="1.0" encoding="UTF-8"?> <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <sitemap> <loc>http://www.example.com/sitemap1.xml.gz</loc> <lastmod>2004-10-01T18:23:17+00:00</lastmod> </sitemap> <sitemap> <loc>http://www.example.com/sitemap2.xml.gz</loc> <lastmod>2005-01-01</lastmod> </sitemap> </sitemapindex> The one created by the tool is structured just like a regular sitemap with url tags, and google webmaster tools thinks that you are submitting a few links to it...
  13. OHHHH.... I See... You are totally right in my misunderstanding. Figures... I still have to add other caching for the other query problems then. I have been reading a lot of different discussions and contributions regarding this, and USU5 Pro came up and someone also mentioned he is using USU5 for caching... That one was the misleading part I guess. It never occurred to me that the URL functionality itself would require caching... :) Thanks for the quick response... Back to square one regarding loading speed :)
  14. I just installed USU5 PRO on our website... The initial installation went on successfully, and the store is running correctly with the default settings. The reason I installed this addon was the caching system. What is the caching system is supposed to cache, and what will not be cached with this system? Our website has many nested categories (close to 1000) and a couple addons cause a huge amount of queries and this causes a very slow loading website. (I figured this out after trying KissER Query Output - 3000+ queries in the homepage?). These two addons are category box enhancement - which adds a dropdown for all categories (I doubt it is any use now, but still) and DynaMenu for Oscommerce - which basically has this flyout menu system for the category system. Both of these addons use a lot of queries to get the category information. After the installation of USU5 Pro and enabling the caching system, I would think the number of queries would decrease drastically as well as the loading time. However this does not seem to be the case, the Query Output addon still shows the same number of queries and the website loads slowly. I can see the cache being created in the folders (tried both file and sqlite options). What am I missing? or do I need to do additional modifications for the other addons to benefit from the caching system? Thanks for the great addon by the way, the URL parts are working properly. I noticed there is a discussion about GoDaddy hosting regarding path based URIs. Those seem to work on our hosting account. We are using unlimited linux hosting option, and using the 4GH hosting - which they seem to have rolled out recently. (They even have implemented Google mod_speed in that one).
  15. The part added for adding single products from a drop down list, quotes_product_popup.php will not work properly if you have double quotes in your product names - since it will ruin the syntax. Find this line $js .= ' products[' . $ctr . '] = "' . $products['products_name'] . '";' . "\n"; Replace it with $js .= ' products[' . $ctr . '] = "' . addslashes($products['products_name']) . '";' . "\n"; if you are having same sort of problem.
×
×
  • Create New...