Jump to content
Latest News: (loading..)

Search the Community

Showing results for tags 'fixes'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News and Announcements
    • News and Announcements
    • Partner Announcements
    • Ambassadors
  • Commercial Support
    • Developer Feedback
  • osCommerce Online Merchant v2.x
    • General Support
    • Installation and Configuration
    • Upgrading from Earlier Versions (v2.x to v2.x)
    • Add-Ons
    • Tips and Tricks
    • Security
  • Development
    • osCommerce Online Merchant v2.4
    • osCommerce Online Merchant Community Bootstrap Edition
    • osCommerce Online Merchant v3.x
    • Development Proposals
  • General
    • OSCOMMERCE.TV
    • Next Steps / Optimizations / Marketing
    • Live Shop Reviews
    • E-Commerce Laws
    • General Discussions
    • PHP / SQL / Web Design
  • Club osC's Announcements
  • PayPal's Announcements
  • Sage Pay's Announcements
  • Solomono - new level osCommerce templates's Announcements
  • German Community's OSCOM v2.x
  • German Community's Allgemein
  • German Community's OSCOM v3.x

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Real Name


Location


Interests


Website

Found 1 result

  1. Hi all, I have collected here the most critical new mySqli usage and issues for addon edits recommendation. 1. Different return values from tep_db_query() mysql return false or result mysqli return result object or false Would be better to control the result before do anything: if (tep_db_num_rows("query string") > 0) { //than do something } Try avoid examination on result directly: $result = tep_db_query("query string"); if ($result = 'something') 2. some construction problem may close the mysql connection so a similar error messages found: possible issues - non oscommerce standard redirection Note: when PHP script is finished the database connection automatic closed. 3. hard coded mysql database PHP usage After the updates hardly recommended to use mysqli core built in functions. PHP 5.4 store deprecated errors. mysql_query PHP functions will not be supported in PHP 5.5 version. Other tips are welcome! Best Regards, Gergely
×