Jump to content
Latest News: (loading..)

Portman

Members
  • Content count

    36
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Pete

Recent Profile Visitors

2,034 profile views
  1. never mind @burt... found it.... now to make sense of the whole ting
  2. hey @burt... I am still trying to get my head around the whole github thing, but how do i find the edge project... I followed your tutorial on the read me file but I cant find the project you searched up, am i doing something wrong on has it changed?
  3. Updates to osCommerce

    Thanks guys, this helps me a lot... good to know it’s not completely dead!
  4. Updates to osCommerce

    Hi everyone... this is not a complaint, this is a question. I have been noticing of late that there have not been a lot of updates to the core of oscommerce over the past number of years, and I am wondering if there are things I have to do to keep up to date... I am running v2.3.4 and checking updates says I am up to date, but as I look around the forum there is talk of edge and gold and boot strap and other things that I am not sure what they are. there is also talk of a php upgrade that has me a bit concerned I am not really a programmer but I have been learning along the may through using this using this platform and I have really enjoyed it, but the other side of running my business means I don't have the time to keep up to date with all the changes in the computing world. Can someone tell me if there are things i need to do to keep up to date and secure online?? or am I ok? As I said I really enjoy using osCommerce and don't want to change to another platform (in fact I don't think there is a truly open source platform out there that can do what I have been able to accomplish through osCommerce) but if it is becoming dangerously out of date then maybe that's what I need to do .
  5. Thanks @raiwa - it ended up being a problem with the create_account_success.php file ... it was a problem with an addon I installed but later removed - i must have forgotten to reinstall this one file on the site (my local copy was the correct file)
  6. Hi, I have installed a fresh install of v2.3.4.1 - I was testing adding a new customer as I could not remember what fields it captured. Once setting up the account I received the account success message but it read like this; I have added a few add-ons to the site but nothing that affects the account creation side of things... the files associated are below require('includes/application_top.php'); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CREATE_ACCOUNT_SUCCESS); $breadcrumb->add(NAVBAR_TITLE_1); $breadcrumb->add(NAVBAR_TITLE_2); if (sizeof($navigation->snapshot) > 0) { $origin_href = tep_href_link($navigation->snapshot['page'], tep_array_to_string($navigation->snapshot['get'], array(tep_session_name())), $navigation->snapshot['mode']); $navigation->clear_snapshot(); } else { $origin_href = tep_href_link(FILENAME_DEFAULT); } require(DIR_WS_INCLUDES . 'template_top.php'); ?> <h1><?php echo HEADING_TITLE; ?></h1> <div class="contentContainer"> <div class="contentText"> <?php echo TEXT_ACCOUNT_CREATED; ?> </div> <div class="buttonSet"> <span class="buttonAction"><?php echo tep_draw_button(IMAGE_BUTTON_CONTINUE, 'triangle-1-e', $origin_href); ?></span> </div> </div> <?php require(DIR_WS_INCLUDES . 'template_bottom.php'); require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> define('NAVBAR_TITLE_1', 'Create an Account'); define('NAVBAR_TITLE_2', 'Success'); define('HEADING_TITLE', 'Your Account Has Been Created!'); define('TEXT_ACCOUNT_CREATED', 'Congratulations! Your new account has been successfully created! You can now take advantage of member priviledges to enhance your online shopping experience with us. If you have <small><strong>ANY</strong></small> questions about the operation of this online shop, please email the <a href="' . tep_href_link(FILENAME_CONTACT_US) . '">store owner</a>.<br /><br />A confirmation has been sent to the provided email address. If you have not received it within the hour, please <a href="' . tep_href_link(FILENAME_CONTACT_US) . '">contact us</a>.'); ?> any idea why I get the TEXT_ACCOUNT_CREATED_DISABLE ?> bit at the end of the message?
  7. I have sorted it - i put a if statement outside the call to the function that worked better
  8. Hi, I am trying to make it so that I can check stock quantities on certain items only (some stock we always have available because we produce them on demand, other items we order in and on-sell to our customers) I have added a field in the products table "products_count_stock" which defaults to "0" and can be changed to "1" in admin/categories.php - this bit I got to work fine Now what I am trying to do is that every time a page calls the function tep_check_stock I want it not only to pass the products_id and products_quantity fields but also the products_count_stock field so that I can check within tep_check_stock if products_count_stock is true (1) so far I have been playing around with shopping_cart.php, all I have done is change the following code; if (STOCK_CHECK == 'true') { $stock_check = tep_check_stock($products[$i]['id'], $products[$i]['count_stock'], $products[$i]['quantity']);// - added 'count_stock' if (tep_not_null($stock_check)) { $any_out_of_stock = 1; $products_name .= $stock_check; } } obviously this does not work as to test it I have put an echo in the tep_check_function to show the value of the three variables and the count_stock variable always comes up empty. function tep_check_stock($products_id, $products_count_stock, $products_quantity) { echo "value:" . $products_id . "," . $products_count_stock . "," . $products_quantity ; //- My Mod if ($products_count_stock == "1"); // -- My Mod $stock_left = tep_get_products_stock($products_id) - $products_quantity; $out_of_stock = ''; if ($stock_left < 0) { $out_of_stock = '<span class="markProductOutOfStock">' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . '</span>'; } return $out_of_stock; } // - My Mod } I am not a great coder but if someone could point me in the right direction, I'd' really appreciate it
  9. Hi, is there a way or add on to allow me to have stock quantities on some items only. we are a manufacturer so stock levels are irrelevant for most items we sell, but we do purchase some stock with limited numbers (such as books) and need to keep track of these items.
  10. SPPC - for 2.3.4

    hi, I've just installed SPPC 2.3.4 BS GOLD - v1.1b on a fresh install of osc... Ive noticed that when I go to edit a group in customer groups it drops the id number and displays the primary group instead; eg ... /catalog/admin/customers_groups.php?page=1&cID=&action=edit I can manually put the id number after the cID= bit in the above URL and still access it, but obviously would prefer to not have to. Is this a common problem? I cant find any reference to it anywhere and as it is a fresh install and first app added I am wondering if I have done something wrong with the initial install.
  11. I'VE FOUND IT!!!!!!!!!!! For some reason in my configure.php file I was missing the final '/' on the definition of DIR_FS_CATALOG Thanks for all your help @greasemonkey
  12. Ok I changed the configuration settings to reflect yours - still no dice.
  13. Ok... I have updated the paypal app as above and got a sandbox account working on my test site (still nothing on my active site, but that is a problem for another day). In the sandbox account however I am still having the same problem that I started this thread with - ie - returning to my site and forcing standard shipping. Now that I am back to my original problem... any ideas what I can do?
  14. sorry.. I confused myself, I have done the updates.... UNFORTUNATELY... thinking that having the two versions of Paypal express on my site may have been causing conflicts I uploaded the New version onto my active site and it has caused some sort of conflict... my Test site and my active site are identical, but when i try to add something to my cart in my active site I get an error (when paypal express is active) but I do the same thing in my test site and get no error... Looking on the error log on the server I think this is the error (sorry dont know this side of things at all); [Fri Feb 02 07:58:33.327397 2018] [access_compat:error] [pid 611385] [client 60.224.144.228:60031] AH01797: client denied by server configuration: /home/creativ3/public_html/orders/images/home.html, referer: https://creativeabundance.com.au/orders/index.php?cPath=24 any thoughts? could having the two paypal modules with the same credentials running cause a conflict? or is it something else?
  15. Hi @greasemonkey I had the old version on my active site and have just downloaded the new version onto my test site but I can only find version 5.010 (https://apps.oscommerce.com/fZMiN&paypal-app) which is what I have. am I missing something? Both my sites still have the same problem above.
×