This topic is locked

Test and comments to 3.1 build 142

8/28/2006 2:05:28 AM
PHPRunner General questions
rjks author

Morning,
after a weekend of frustration trying to get my project to work with build 118 I thought it was time to make the jump and upgrade to 3.1 build 142 which has resulted in even more frustration.
The first problem I have encountered is I cant find the Template Editor on the miscellaneous page :


Then I tried to generate my project and got the following error


this error came about six or seven times then the generation was complete.
Unfortunatly I can´t start the finished pages as I haveadded a parameter to loginonload() in my template in build 118 which I can´t change in 3.1, because its not there!
I tried to insert the changes in the visual editor but without success.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML><HEAD><TITLE>{mlang_message tag="LOGIN"}</TITLE>

<META http-equiv=Content-Type content="text/html; charset=windows-1252"><LINK

href="include/style.css" type=text/css rel=stylesheet>

<META content="MSHTML 6.00.5346.5" name=GENERATOR></HEAD>

<BODY text=#000000 link=#0066cc bgColor=white leftMargin=0 topMargin=0

onload=java script:document.forms[0].username.focus(); marginheight="0"

marginwidth="0">{include_if_exists file="include/header.php"}
MYCODE START

<!--{if(@$_POST["a"]=="logout" || @$_POST["action"]=="logout" ||!@$_SESSION["MyURL"])

{

$tmpUserID = $_SESSION["UserID"];

session_unset();

}}--> -->-->

{doevent name="LoginOnLoad[$tmpUserID]"}[/color]

MYCODE END
<TABLE height="99%" cellSpacing=0 cellPadding=0 width="100%" border=0>


I think that the general idea is on the right lines but if I can´t edit the code before generation then I can´t use the system to save time.
Is it possible to edit the code and use the phprunner variables as in the template editor i.e. ##field## or can I only change generated code??
Robert
Hallo,
I forget to include this error message which occored after the first during the build


What it means and which changes are the cause would be nice to know before throwing then out again.
Robert

J
Jane 8/28/2006

Robert,
see my answers below:

  1. there is no template editor in the PHPRunner 3.1. You can make your changes in the Visual editor and on the Events tab.

    For example, add your code to the LoginOnLoad event.
  2. We fixed error with masterdetail relationships.

    Download latest PHPRunner 3.1 here:

    http://www.asprunner.com/files/phprunner31.exe
  3. "Project changed" window inform you that you made some changes in the code and/or in the Visual editor and PHPRunner can't submit changes in code to changes in the Visual editor. We're working on this problem. Inthe one of the next update all changes will be added on the fly.

rjks author 8/28/2006

Robert,

see my answers below:

  1. there is no template editor in the PHPRunner 3.1. You can make your changes in the Visual editor and on the Events tab.

    For example, add your code to the LoginOnLoad event.
  2. We fixed error with masterdetail relationships.

    Download latest PHPRunner 3.1 here:

    http://www.asprunner.com/files/phprunner31.exe
  3. "Project changed" window inform you that you made some changes in the code and/or in the Visual editor and PHPRunner can't submit changes in code to changes in the Visual editor. We're working on this problem. Inthe one of the next update all changes will be added on the fly.


Hello Jane,
thanks for the concise reply, I´ll think I´ll wait till all the Beta Bugs have been ironed out.
Robert