This topic is locked

October 6, 2011. PHPRunner 6/ASPRunnerPro 7 release candidate 2

10/7/2011 1:32:38 PM
ASPRunner/PHPRunner change log
admin

PHPRunner 6/ASPRunnerPro 7 release candidate 2

Build 9462
Download links:

PHP: http://asprunner.com/files/phprunner-setup60b.exe

ASP: http://asprunner.com/files/asprunnerpro-setup70b.exe
Final version will be released on October 11-12.
This release canidate is stable enough to be used in production environment. In final version we'll be also including an updated version of charts in this update that supports both Flash and HTML5 meaning charts will work on iPhone/iPad/iPod touch devices. At the same time we'll post updated version of Enterprise Edition and Templates pack.
A few upgrade considerations

  1. Opening projects created by older versions of PHPRunner or ASPRunnerPro that contain buttons or code snippets. If wizard is not able to place buttons/snippets properly you will find them at the top of the page in Visual Editor. You will need to drag buttons/snippets to desired location in the new version. The same applies to manually inserted CAPTCHAs and Google Maps.
  2. (PHPRunner/MySQL only) mysql vs mysqli extensions.
    PHPRunner 5.3 uses old style ext/mysql functions that are no longer recommended to use and will be depreciated in newer versions of PHP. PHPRunner 6 supports both mysql and mysqli extensions. New projects will use mysqli functions by default. Old projects (created in v5.3 and older) by default will be using mysql functions.
    You can also tell PHPRunner what library to use. For this purpose create a new server connection or 'Output directory' screen and add the following line of code there:
    // to use mysqli functions

    $useOldMysqlLib = false;
    // to use mysql functions

    $useOldMysqlLib = true;
    How this affects you?
    If you have an existing PHPRunner project with events that utilize mysql_query, mysql_fetch_array etc functions you have the following options:
  3. Re-write your code making use of Data Access Layer functions or PHPRunner wrappers for database access.
  4. Force PHPRunner to use old style mysql functions adding the following to a new server connection:

    $useOldMysqlLib = true;
    If you create a new PHPRunner/MySQL project and need to perform some database manipulations you have the following options:
  5. Use DAL functions
  6. Use PHPRunner wrapper functions (works for both mysqli and mysql). In most cases you simply need to replace mysql prefix with db prefix i.e. mysql_query becomes db_query, mysql_fetch_array becomes db_fetch_array etc.
  7. Use mysqli functions.