Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fredi

Members
  • Posts

    508
  • Joined

  • Last visited

  • Days Won

    5

Reputation Activity

  1. Thanks
    Fredi reacted to JcMagpie in NEW! Complete Order Editing Tool!   
    For this kind of error simply add at begining of function.
    $index = '';  
  2. Like
    Fredi reacted to BrockleyJohn in NEW! Complete Order Editing Tool!   
    @Fredi as you have been testing on 1.0.5.1 please post any actual errors - either messages that start Error, or things that don't seem to work properly.
    You are going to be getting notices about constants not being defined because of the customer data work in 1.0.5.1 which has removed some of the old style language definitions, but apart from that it seems to me to be doing what it's supposed to do.
    You can temporarily fix these notices by adding the defines to the order editor language file for the language you are supporting: ENTRY_COMPANY ENTRY_SUBURB ENTRY_TELEPHONE_NUMBER - I guess you already know how to do this.
    I have yet to get into the customer data work so I don't know why only some defines have been removed but I guess the rest of them will be going soon too; maybe there are core admin pages still using the old defs.
  3. Like
    Fredi reacted to JcMagpie in NEW! Complete Order Editing Tool!   
    Running latest version on Phoenix 1.0.5.1 downloaded 2 days ago. Only installed the main files not the options and worked fine even with the notices and warning plus one error.
    simply updated languge file to get rid of all Undefined echo's and use ' ' on all Undefined veriables. The fatal error was simply missing "function tep_class_exists" was in the optional genral.php but not in functions.php so just moved over and fixed.
    Only issue left is PHP Notice:  Undefined index: shipping_same_as_billing,  not sure but this look to be just a filter to show or not show the address for now just commeted out from css.php and notice is gone. Impact! all adresss will show all the time.... for me not an issue.
    [25-Feb-2020 21:10:49 Europe/London] PHP Notice: Undefined variable: orders_products in /home/************/public_html/************/order_editor/cart.php on line 33 [25-Feb-2020 21:10:49 Europe/London] PHP Notice: Undefined variable: index in /home/************/public_html/************/order_editor/cart.php on line 46 [25-Feb-2020 21:10:49 Europe/London] PHP Notice: Undefined variable: orders_products in /home/************/public_html/************/order_editor/cart.php on line 33 [25-Feb-2020 21:10:49 Europe/London] PHP Notice: Undefined index: shipping_same_as_billing in /home/************/public_html/************/order_editor/css.php on line 180 [25-Feb-2020 21:10:49 Europe/London] PHP Notice: Undefined index: shipping_same_as_billing in /home/************/public_html/************/order_editor/css.php on line 181 [25-Feb-2020 21:10:49 Europe/London] PHP Notice: Undefined index: billing_same_as_customer in /home/************/public_html/************/order_editor/css.php on line 183 [25-Feb-2020 21:10:49 Europe/London] PHP Notice: Undefined index: billing_same_as_customer in /home/************/public_html/************/order_editor/css.php on line 184 [25-Feb-2020 21:10:49 Europe/London] PHP Warning: Use of undefined constant BOX_WIDTH - assumed 'BOX_WIDTH' (this will throw an Error in a future version of PHP) in /home/************/public_html/************/edit_orders.php on line 1149 [25-Feb-2020 21:10:49 Europe/London] PHP Warning: Use of undefined constant BOX_WIDTH - assumed 'BOX_WIDTH' (this will throw an Error in a future version of PHP) in /home/************/public_html/************/edit_orders.php on line 1150 [25-Feb-2020 21:10:49 Europe/London] PHP Warning: Use of undefined constant ENTRY_COMPANY - assumed 'ENTRY_COMPANY' (this will throw an Error in a future version of PHP) in /home/************/public_html/************/edit_orders.php on line 1237 [25-Feb-2020 21:10:49 Europe/London] PHP Warning: Use of undefined constant ENTRY_SUBURB - assumed 'ENTRY_SUBURB' (this will throw an Error in a future version of PHP) in /home/************/public_html/************/edit_orders.php on line 1245 [25-Feb-2020 21:10:49 Europe/London] PHP Warning: Use of undefined constant ENTRY_TELEPHONE_NUMBER - assumed 'ENTRY_TELEPHONE_NUMBER' (this will throw an Error in a future version of PHP) in /home/************/public_html/************/edit_orders.php on line 1273 [25-Feb-2020 21:10:49 Europe/London] PHP Warning: Use of undefined constant ENTRY_COMPANY - assumed 'ENTRY_COMPANY' (this will throw an Error in a future version of PHP) in /home/************/public_html/************/edit_orders.php on line 1319 [25-Feb-2020 21:10:49 Europe/London] PHP Warning: Use of undefined constant ENTRY_SUBURB - assumed 'ENTRY_SUBURB' (this will throw an Error in a future version of PHP) in /home/************/public_html/************/edit_orders.php on line 1327 [25-Feb-2020 21:10:49 Europe/London] PHP Warning: Use of undefined constant ENTRY_COMPANY - assumed 'ENTRY_COMPANY' (this will throw an Error in a future version of PHP) in /home/************/public_html/************/edit_orders.php on line 1390 [25-Feb-2020 21:10:49 Europe/London] PHP Warning: Use of undefined constant ENTRY_SUBURB - assumed 'ENTRY_SUBURB' (this will throw an Error in a future version of PHP) in /home/************/public_html/************/edit_orders.php on line 1398 [25-Feb-2020 21:10:49 Europe/London] PHP Fatal error: Uncaught Error: Call to undefined function tep_class_exists() in /home/************/public_html/************/edit_orders.php:1488 Stack trace: #0 {main} thrown in /home/************/public_html/************/edit_orders.php on line 1488 tep_class_exists  
  4. Like
    Fredi got a reaction from azpro in NEW! Complete Order Editing Tool!   
    Thanks Arjan for your very correct recommendations!
    I will definitely use them!
  5. Thanks
    Fredi reacted to azpro in NEW! Complete Order Editing Tool!   
    Don't get me wrong - I totally love to see you and others engaging and try to improve your sites / stores ... But maybe it is just a little over your head in terms of newer coding standards. And then I would advice to give it some time .. just pause for a few weeks - take a coffee and relax. There is no need to adapt your store for point (just to clarify that is 1.0.5.1 / 1.0.5.2 / 1.0.5.3 etc) relaeses ... Just give it some time!
    You can freely play with the newest code - but take some time to read - give it some effort from your side and don't ask the simplest of questions over and over again... if you go to  https://www.w3schools.com   and work your way through the tutorials you will learn a lot! Off course there is lots of other interseting sites to learn from - eg  https://www.stackoverflow.com  
    And I really hope this helps - so you understand what a development path consists of!
  6. Thanks
    Fredi reacted to burt in NEW! Complete Order Editing Tool!   
    Dutch people - they speak plainly and bluntly, and by god, I love them for it.
  7. Like
    Fredi reacted to yahalimu in NEW! Complete Order Editing Tool!   
    I installed a version from here..
    https://apps.oscommerce.com/wwEZ9&order-editor-for2-3-v1-0
    Went in fine on 1.0.5.1 except for a call to a wrapper function (if class exists) which needs changing to call the base function.
    A few notices/warnings to fix maybe but it works OK on my installation, especially if you disable the payment drop down, which caused a few warnings about constants not defined etc..
    Theres also a depreciated function that needs changing soon.
  8. Like
    Fredi reacted to Philo2005 in Google XML Sitemap SEO   
    @Jack_mcs
    Thanks for the fast respond!
    1 - okay i deleted the file manually, maybe this should be mentioned at the end of point 3) in the "readme.txt"  file of the add on.
    2 - okay thank you for adding it to you to do list, this seems important to me to be present on google in more than one language .

    Have a nice day 🙂
  9. Like
    Fredi reacted to JcMagpie in Support thread for JcM Header /Footer Message Animated V1.0 Phoenix   
    I think we have plenty of room on the forum for all  osC member both old and new... All projects can move in any direction they wish that's what open source is all about.
    I can not speek for other people only myself. I do my free add-on for fun... and maybe along they way one or two people my use them.....
     
    It's just a shame that some projects have "supporters"  that feel the need to poke people in the eye with a sharp stick!.
  10. Like
    Fredi reacted to valquiria23 in Support thread for JcM Header /Footer Message Animated V1.0 Phoenix   
    Thank you very much Zahid for supporting oscommerce !!
  11. Like
    Fredi reacted to LeeFoster in Easy Admin Group - Login Issues   
    I'll have a look shortly.
  12. Thanks
    Fredi reacted to ruden in XML Sitemap Generator   
    add fix
    addon updated
     
     
  13. Like
    Fredi reacted to Denzel in Alternative Administration System: Categories/Products   
    I have found and edited the file. You have to copy it into
    admin/ext/aas/plugins/core/actions/
    Please make a backup of your file, it's untested...
    And tell me if it works  
    aas.php
  14. Like
    Fredi reacted to Jack_mcs in Information Pages SEO addon   
    A new version has been uploaded. It just contains missing files, mainly for the Frozen version, so if you are not having problems with the addon, you can skip this version.
  15. Like
    Fredi reacted to ruden in XML Sitemap Generator   
    XML Sitemap Generator
    For all version osCommerce create an XML sitemap for the products, categories and manufacturers, that can be submitted to Google, Bing.

    Install
    ---------

    Unzip the archive and upload the files on server.

    In admin/includes/functions/general.php

    Find
     
    function tep_redirect($url) { global $logger;
    Add after
     
    // start add-on xml sitemap generator global $current_page; if (in_array($current_page, ['categories.php', 'manufacturers.php'])) { if (file_exists(DIR_FS_CATALOG . 'sitemap-index.xml')) { @unlink(DIR_FS_CATALOG . 'sitemap-index.xml'); } } // end add-on xml sitemap generator
    Using
    --------

    Sign in to Google Search Console or Bing Webmaster Tools and add sitemap URL http://example.com/sitemap.php
     
  16. Like
    Fredi got a reaction from domiosc in Español pack para OsC Responsive BS EDGE o Gold   
    Yes, that's a good idea. Multilingual support needs to be organized jointly and to concentrate all available languages on one platform.
    I am ready to participate in this for my language.
    Additionally, you need to make it possible to output configuration definitions in the multilingual format in Admin.
    Today, OSC and Phoenix are bad supported in this regard. This creates a problem for people and peoples who do not know English well. This holds back application in different countries.
    This needs to be fixed.
  17. Like
    Fredi got a reaction from raiwa in Español pack para OsC Responsive BS EDGE o Gold   
    Yes, that's a good idea. Multilingual support needs to be organized jointly and to concentrate all available languages on one platform.
    I am ready to participate in this for my language.
    Additionally, you need to make it possible to output configuration definitions in the multilingual format in Admin.
    Today, OSC and Phoenix are bad supported in this regard. This creates a problem for people and peoples who do not know English well. This holds back application in different countries.
    This needs to be fixed.
  18. Like
    Fredi reacted to valquiria23 in Español pack para OsC Responsive BS EDGE o Gold   
    That is true !!! It is a very good opportunity for improvement.
    Hopefully the Core team @burtwill take it into consideration for upcoming versions or explain why it won't.
    When that is done @raiwa  count on me for the new translations.
    Best regards
    Valqui
  19. Like
    Fredi got a reaction from valquiria23 in Español pack para OsC Responsive BS EDGE o Gold   
    Yes, that's a good idea. Multilingual support needs to be organized jointly and to concentrate all available languages on one platform.
    I am ready to participate in this for my language.
    Additionally, you need to make it possible to output configuration definitions in the multilingual format in Admin.
    Today, OSC and Phoenix are bad supported in this regard. This creates a problem for people and peoples who do not know English well. This holds back application in different countries.
    This needs to be fixed.
  20. Thanks
    Fredi reacted to Demitry in Shipping in cart without addon?   
    I realize this is an old thread, however,.. while redoing the Shipping Cost Estimator addon for BS Edge, I came across the same error message. See below:
    [08-Jun-2018 20:41:53 America/New_York] PHP Warning: Creating default object from empty value in /home/ ... /public_html/dev2/ship_estimator.php on line 90 I fixed it via this - in catalog/ship_estimator.php
    Find the following code (around line 90 to 92):
    $country_info = tep_get_countries($shipcountry, true); $order->delivery = array('postcode' => $shippostcode, 'country' => array('id' => $shipcountry, 'title' => $country_info['countries_name'], 'iso_code_2' => $country_info['countries_iso_code_2'], 'iso_code_3' => $country_info['countries_iso_code_3']), 'country_id' => $shipcountry, 'format_id' => tep_get_address_format_id($shipcountry)); Add just above it:
    require_once('includes/classes/order.php'); $order = new order; I tested it with different scenarios, both logged in and not, no errors at all.
    I hope this helps anyone who may stumble upon this thread in search for a solution.
    Demitry
     
     
  21. Thanks
    Fredi reacted to Jack_mcs in Header Tags SEO   
    A new version has been uploaded with these changes:
    Added missing code to display the manufacturer images. Changed pseudo module so it works properly with other addons. Changed code for the social icons page in admin to account for a deleted definition in CE. Found by member @mk_osc. Changed the open_graph code so it passes Facebooks test. Found by member @mk_osc. Changed fill tags code to correct php 7.3 errors. Found by member @Fredi. Corrected instructions for admin and added a missing php delimiter. Found by member @tobybailey. Corrected the path to the include file in admin since it would fail under some conditions. Corrected coding mistake in admin functions file. Found by member @241. Fixed Copy To code for products in admin. Found by member @lucsangel.. Fixed spelling mistake in the admin/header_tags_seo_keywords.php file. Found by member @mk_osc. Fixed code mistake in admin/manufacturers.php that precented the manufacturer description from being saved. Increased the limit for the meta description tag to 300. Google made this change in December, 2017. Moved the category and manufacturers descriptions code to modules (CE or late 2.3.4 version only). Removed unnecessary code from index.php. Removed unnecessary code from modules/header_tags_opengraph.php for OG availability. Found my member @BrockleyJohn. Removed code from admin so View Result is not forced to an http connection. Removed Googles +1 option and code. Removed remaining TABLE_ definitions (CE only). Removed all pre-Frozen files. Please note that this version focuses on changes for Phoenix. I have tested it and did not find any problems but that is in a controlled environment so I strongly suggest that you try the installation in a test shop first. In the lease, make a complete copy of your shops files in case you need to restore.  Also, there are some core-changes needed. There's no way to avoid those since this addon uses the same sections of code as the default, in several cases.
    For Phoenix, the instructions should be correct. For Frozen, they may not be. If this addon is already installed, you can skip the category and manufacturer file changes in admin. The changes for the categories file have been reduced for easier installation but the resulting code is the same as before.
    For pre-Frozen shops, the addon will still work fine with them. But given my time is very limited, I have to stop offering free support for those versions.
     
  22. Thanks
    Fredi reacted to JcMagpie in Support thread for JcM footer Open Street Map V1.2 Phoenix   
    😊 This is made clear in the instructions neither Google maps or Openstreet maps iframes are responsive by default you have to make them responsive by setting width to 100%.
  23. Thanks
    Fredi reacted to Jack_mcs in Article Manager v1.0   
    You can edit the floaters class in the admin/articles.php file.
  24. Thanks
    Fredi reacted to Jack_mcs in Category Images   
    Then I misunderstood the issues. I thought they were the same but apparently not. Thanks for reporting the results. I will apply the changes to the next version.
  25. Thanks
    Fredi reacted to valquiria23 in Category Images   
    Thank you very much Jack @Jack_mcsfor your support of the OSC community.
    Especially for your excellent support and for SHARING.
    Cheers
    Valqui
×
×
  • Create New...