Jump to content

boelle

Members
  • Content count

    324
  • Joined

  • Last visited

Everything posted by boelle

  1. boelle

    Google XML Sitemap SEO

    tried this: $this->savepath = substr(DIR_FS_CATALOG, 0, - $pos - 1); //not returning right above - quick fix for now $this->savepath .= (substr($this->savepath, -1) !== '/') ? '/' : ''; //append a slash if needed } else { $this->savepath = DIR_FS_CATALOG . ((substr(DIR_FS_CATALOG, -1) !== '/') ? '/' : ''); } $this->savepath .= 'sitemaps/'; $this->base_url = $domain_name; and also this one $this->savepath = substr(DIR_FS_CATALOG, 0, - $pos - 1); //not returning right above - quick fix for now $this->savepath .= (substr($this->savepath, -1) !== '/') ? '/' : ''; //append a slash if needed $this->savepath .= 'sitemaps/'; } else { $this->savepath = DIR_FS_CATALOG . ((substr(DIR_FS_CATALOG, -1) !== '/') ? '/' : ''); } $this->base_url = $domain_name;
  2. boelle

    Google XML Sitemap SEO

    odd enough that now give an 500 error will try and thinker with it
  3. boelle

    Google XML Sitemap SEO

    quick Q: how can i mod the scripts so it saves the sitemaps to a folder and not in the root?
  4. i'm the IT guy for the local pizza delivery and we have not made a change at all tax law makes it illegal to delete the orders, they have to stay there for 5 years. But i have a script that deletes those that are 5 years or older and i run that at new years day other than that we only have customers: Customer name Address email phone number ie we only have the absolute minimum to deiver a pizza. and we do keep track on when a customer has last placed an order, if they have not ordered within a year we assume they have moved outside our delivery area and we delete them arround new year day too no need to make a big deal out of a fart in a glass of water
  5. boelle

    Google XML Sitemap SEO

    i have tested my php7 idea on a php7 server i get a 500 error but if on a test server with php5 same config and same files it runs so maybe there is something about it? EDIT: i also have to disable creation of standard pages. to make it run
  6. boelle

    Google XML Sitemap SEO

    all the files in root are present and set to 755 but it still fails on sitemappages.xml i guess that it has been tested with php7 and that is not the issue are there ways you can help without it costing me an arm and leg?
  7. boelle

    Google XML Sitemap SEO

    i just updated to the BS friendly version and i get this when running the script (with diagnostic output off: ERROR: Google Pages Sitemap Generation FAILED! Array ( [QUERY] => Array ( [PRODUCTS] => Array ( [STATUS] => success [NUM_ROWS] => 156 ) [CATEOGRY] => Array ( [STATUS] => success [NUM_ROWS] => 19 ) ) [SAVE_FILE_XML] => Array ( [0] => Array ( [file] => /var/www/xxxxxxxxxxxxxxxxx/test/sitemapproducts.xml [status] => success [file_exists] => true ) [1] => Array ( [file] => /var/www/xxxxxxxxxxxxxxxxx/test/sitemapcategories.xml [status] => success [file_exists] => true ) [2] => Array ( [file] => /var/www/xxxxxxxxxxxxxxxxx/test/sitemapindex.xml [status] => success [file_exists] => true ) ) ) ERROR: Google Pages Sitemap Generation FAILED! Array ( [QUERY] => Array ( [PRODUCTS] => Array ( [STATUS] => success [NUM_ROWS] => 156 ) [CATEOGRY] => Array ( [STATUS] => success [NUM_ROWS] => 19 ) ) [SAVE_FILE_XML] => Array ( [0] => Array ( [file] => /var/www/xxxxxxxxxxxxxxxxx/test/sitemap_mobileproducts.xml [status] => success [file_exists] => true ) [1] => Array ( [file] => /var/www/xxxxxxxxxxxxxxxxx/test/sitemap_mobilecategories.xml [status] => success [file_exists] => true ) [2] => Array ( [file] => /var/www/xxxxxxxxxxxxxxxxx/test/sitemap_mobileindex.xml [status] => success [file_exists] => true ) ) ) Completed! with diag on i get Opening /var/www/xn--pizzalg-v1a.dk/test/sitemapproducts.xml FS_CAT /var/www/xxxxxxxxxxxxxxxxx/test/ Server http://test.xxxxxxxxxxxxxxxxx Save Path /var/www/xxxxxxxxxxxxxxxxx/test/ WS_CAT / Write /var/www/xxxxxxxxxxxxxxxxx/test/sitemapproducts.xml Generated Google Product Sitemap Successfully Opening /var/www/xxxxxxxxxxxxxxxxx/test/sitemapcategories.xml FS_CAT /var/www/xxxxxxxxxxxxxxxxx/test/ Server http://test.xxxxxxxxxxxxxxxxx Save Path /var/www/xxxxxxxxxxxxxxxxx/test/ WS_CAT / Write /var/www/xxxxxxxxxxxxxxxxx/test/sitemapcategories.xml Generated Google Category Sitemap Successfully ERROR: Google Pages Sitemap Generation FAILED! Opening /var/www/xxxxxxxxxxxxxxxxx/test/sitemapindex.xml FS_CAT /var/www/xxxxxxxxxxxxxxxxx/test/ Server http://test.xxxxxxxxxxxxxxxxx Save Path /var/www/xxxxxxxxxxxxxxxxx/test/ WS_CAT / Write /var/www/xxxxxxxxxxxxxxxxx/test/sitemapindex.xml Generated Google Sitemap Index Successfully Array ( [QUERY] => Array ( [PRODUCTS] => Array ( [STATUS] => success [NUM_ROWS] => 156 ) [CATEOGRY] => Array ( [STATUS] => success [NUM_ROWS] => 19 ) ) [SAVE_FILE_XML] => Array ( [0] => Array ( [file] => /var/www/xxxxxxxxxxxxxxxxx/test/sitemapproducts.xml [status] => success [file_exists] => true ) [1] => Array ( [file] => /var/www/xxxxxxxxxxxxxxxxx/test/sitemapcategories.xml [status] => success [file_exists] => true ) [2] => Array ( [file] => /var/www/xxxxxxxxxxxxxxxxx/test/sitemapindex.xml [status] => success [file_exists] => true ) ) ) Opening /var/www/xxxxxxxxxxxxxxxxx/test/sitemap_mobileproducts.xml FS_CAT /var/www/xxxxxxxxxxxxxxxxx/test/ Server http://test.xxxxxxxxxxxxxxxxx Save Path /var/www/xxxxxxxxxxxxxxxxx/test/ WS_CAT / Write /var/www/xxxxxxxxxxxxxxxxx/test/sitemap_mobileproducts.xml Generated Google Product Sitemap Successfully Opening /var/www/xxxxxxxxxxxxxxxxx/test/sitemap_mobilecategories.xml FS_CAT /var/www/xxxxxxxxxxxxxxxxx/test/ Server http://test.xxxxxxxxxxxxxxxxx Save Path /var/www/xxxxxxxxxxxxxxxxx/test/ WS_CAT / Write /var/www/xxxxxxxxxxxxxxxxx/test/sitemap_mobilecategories.xml Generated Google Category Sitemap Successfully ERROR: Google Pages Sitemap Generation FAILED! Opening /var/www/xxxxxxxxxxxxxxxxx/test/sitemap_mobileindex.xml FS_CAT /var/www/xxxxxxxxxxxxxxxxx/test/ Server http://test.xxxxxxxxxxxxxxxxx Save Path /var/www/xxxxxxxxxxxxxxxxx/test/ WS_CAT / Write /var/www/xxxxxxxxxxxxxxxxx/test/sitemap_mobileindex.xml Generated Google Sitemap Index Successfully Array ( [QUERY] => Array ( [PRODUCTS] => Array ( [STATUS] => success [NUM_ROWS] => 156 ) [CATEOGRY] => Array ( [STATUS] => success [NUM_ROWS] => 19 ) ) [SAVE_FILE_XML] => Array ( [0] => Array ( [file] => /var/www/xxxxxxxxxxxxxxxxx/test/sitemap_mobileproducts.xml [status] => success [file_exists] => true ) [1] => Array ( [file] => /var/www/xxxxxxxxxxxxxxxxx/test/sitemap_mobilecategories.xml [status] => success [file_exists] => true ) [2] => Array ( [file] => /var/www/xxxxxxxxxxxxxxxxx/test/sitemap_mobileindex.xml [status] => success [file_exists] => true ) ) ) Completed! any pointers are welcome my hoster has forced php7 on me so i have no choice here, could that be it?
  8. boelle

    zipcode shipping module

    Hi i found this one: https://apps.oscommerce.com/rR9ja&zipcode-shipping-delivery no support link mentioned and i was prob blind enough that i could not find the module mentioned problem with the module is that it has a flaw in that if no zip code is defined it will allow the customer to get free shipping anyone know of a quick hack that can disable the module if it cant calculate a price?
  9. figured it....language file for cm_i_text_main.php done wrong
  10. going through every setup in admin i got a strange thing when i click modules and then content i get huge fonts and the page starts with the store front main text... where can this happen? as soon i click somewhere else in admin everything is back to normal
  11. i have just recently spent a few days of getting a store in sync with edge then a mail ticks in from a programmer i have hired for a job creating a a addon that can calculate avg. delivery times so we have an idea on how long it takes to delivery this programmer says that 2.4 will be the end of life for the responsive version.... is he right? or would responsive live on and take bits from 2.4?
  12. boelle

    [Contribution] Ship In Cart

    this is not for mobile.... i have converted BS in to a Point Of Sale terminal and want to see orders total in the cart box so i can tell customer in shop what the total is before i place the order this pos version of BS is just a stripped down version example view: http://imgur.com/d4wzv28 but such a module would also be usefull on the normal site as the customer when placing orders from their home.... they can select in advance if they want the order delivered or not... and how then want to pay but since i'm not a programmer i will live without
  13. boelle

    [Contribution] Ship In Cart

    @@raiwa - what changes would i need to do for it work from within the shopping cart box in BS version? with selectors for shipping method and payment method as they both can change the outcome of the price
  14. boelle

    Payment Type Charge

    to fast... that only adds 0,00 so it does not display the fee
  15. boelle

    Payment Type Charge

    figured it in checkout payment only add echo ' ('.$currencies->format($selection[$i]['cost']).')';
  16. boelle

    Payment Type Charge

    "If you want to display the payment fee in the checkout page, add this code :" that part of the install.txt does not work in 2.3.4 i get the fee in order total but i want to let the customer know before hand
  17. boelle

    Adding a Fee to sub total

    i got it to work.... first i go to http://addons.oscommerce.com/info/251 click show more downloads and take the top one then i go to http://addons.oscommerce.com/info/7996 and do the same i first copy over the files from the last one, then over write them with the files from the first one... at the confirm i now have an amount but still need to mod the files so it shows up at payment method selection
  18. boelle

    ### POINTS AND REWARDS MODULE V1.00 ###

    i strongly doubt that the link to ver3 in the addons library is really v3... just translating the admin section and found: define('MOD_VER', '2.00');
  19. boelle

    ### POINTS AND REWARDS MODULE V1.00 ###

    Deprecated: Function split() is deprecated fixed that by replacing split with explode in the code... so besides translation and the fact that is gives points for everything its pretty close to "useable" i assume the problem in checkout_process is just a small thing but cant see it
  20. boelle

    ### POINTS AND REWARDS MODULE V1.00 ###

    bummer... the module award points for everything.... ie if i restrict to a single product it also tells about points for other products :(
  21. boelle

    ### POINTS AND REWARDS MODULE V1.00 ###

    also just noted that the copyright notice in admin says module is V2 even thou i got it from the addon page where it says V3
  22. boelle

    ### POINTS AND REWARDS MODULE V1.00 ###

    removed this part in checkout process and it let me go on: #### Points/Rewards Module V3.0 balance customer points BOF #### if ((USE_POINTS_SYSTEM == 'true') && (USE_REDEEM_SYSTEM == 'true')) { // customer pending points added if ($order->info['total'] > 0) { $points_toadd = get_points_toadd($order); $points_comment = 'TEXT_DEFAULT_COMMENT'; $points_type = 'SP'; if ((get_redemption_awards($customer_shopping_points_spending) == true) && ($points_toadd >0)) { tep_add_pending_points($customer_id, $insert_id, $points_toadd, $points_comment, $points_type); } } // customer referral points added if ((tep_session_is_registered('customer_referral')) && (tep_not_null(USE_REFERRAL_SYSTEM))) { $referral_twice_query = tep_db_query("select unique_id from " . TABLE_CUSTOMERS_POINTS_PENDING . " where orders_id = '". (int)$insert_id ."' and points_type = 'RF' limit 1"); if (!tep_db_num_rows($referral_twice_query)) { $points_toadd = USE_REFERRAL_SYSTEM; $points_comment = 'TEXT_DEFAULT_REFERRAL'; $points_type = 'RF'; tep_add_pending_points($customer_referral, $insert_id, $points_toadd, $points_comment, $points_type); } } // customer shoppping points account balanced if ($customer_shopping_points_spending) { tep_redeemed_points($customer_id, $insert_id, $customer_shopping_points_spending); } }
  23. boelle

    ### POINTS AND REWARDS MODULE V1.00 ###

    also i see this when i access http://xn--pizzalg-v1a.dk/my_points_help.php Deprecated: Function split() is deprecated in /var/www/xn--pizzalg-v1a.dk/public_html/includes/languages/danish/my_points_help.php on line 215 EDIT: Admin side seems to work as it should, i just need to translate it to danish EDIT2: if i add a point to my test account in the shop i get this at checkout_Payment: Deprecated: Function split() is deprecated in /var/www/xn--pizzalg-v1a.dk/public_html/includes/functions/redemptions.php on line 103 Deprecated: Function split() is deprecated in /var/www/xn--pizzalg-v1a.dk/public_html/includes/functions/redemptions.php on line 104 Deprecated: Function split() is deprecated in /var/www/xn--pizzalg-v1a.dk/public_html/includes/functions/redemptions.php on line 316 Deprecated: Function split() is deprecated in /var/www/xn--pizzalg-v1a.dk/public_html/includes/functions/redemptions.php on line 317
  24. boelle

    ### POINTS AND REWARDS MODULE V1.00 ###

    Hi i got this module from http://addons.oscommerce.com/info/9193 yet it still says to ask for support here.... first thing i note is that at checkout_process.php i get: Parse error: syntax error, unexpected end of file in /var/www/xn--pizzalg-v1a.dk/public_html/checkout_process.php on line 423 the file looks like this: http://pastebin.com/FrEXgnpv send these mails directly also: --------------------MAIL1----------------------------- also i noted that the account.php was in the modified files folder, but you did not make any changes to the file also under catalog\includes\modules\payment\ there are the paypal_standard.php i dont have that one as i dont use paypal... but i assume that i should add the same to all my payment modules at the beginning of the file i see: // Points/Rewards Module V3.0 balance customer points BOF but i never see a EOF the next i see is: /*#### Points/Rewards Module V3.0 for osc2.3.4 balance customer points BOF ####*/ so i assume there are no changes before the the 2nd edit just writing this so you can update the module and maybe explain it a bit better.... but otherwise i like the way you have done... still missing a lot of files but i like to write over several mails so i dont forget --------------------MAIL2----------------------------- in \includes\classes\payment.php //Points/Rewards Module V3.0 BOF but i dont see a EOF... is this a fault? --------------------MAIL3----------------------------- in includes\ you have a boxes folder... oscommerce does not have that... was this a fault?
  25. that is what it's set to standard... and since it complains about QT Pro i set it to OSC also
×