This topic is locked

Error message in 3.1

8/18/2006 12:40:07 PM
PHPRunner General questions
A
andyjames author

Hi
I have given up importing version 3 projects into 3.1 for the moment so the following error is based upon a new project created from scratch in 3.1.
I created one master table and 3 detail tables, set permissions and everything worked fine (hooray).

I then created four views of the master table and received the following message during the build process:

C:\Program Files\PHPRunner3.1\source\register.php(7) - Unknown context @TABLE

and then:

C:\Program Files\PHPRunner3.1\source\register.php(57) - Unknown context @TABLE
The menu order was not "remembered". I tried cutting and pasting menu items in visual editor and that made them stick.
I suspect the menu order issue is different from the error messages, which don't appear if the master table is also included as a table (as opposed to just views of the master table, which used to work in version 3).
I have just opened "register.php" and it seems to be obviously curtailled:

<?php

ini_set("display_errors","1");

ini_set("display_startup_errors","1");

set_magic_quotes_runtime(0);
include("include/dbcommon.php");

include("include/


That's the end of the file...

Alexey admin 8/18/2006

Alan,
to fix the Register page problem add your table with usernames and passwords to the project.

Looks like you removed it on Datasource table tab in PHPRunner. Add it back.
Please clarify how the menu order was not "remembered".

How can I reproduce this problem ?

A
andyjames author 8/19/2006

Hi
What I mean by the menu "not being remembered" is that after setting the order of items as they are to appear in your menu on the "Menu" tab on the Field orders and totals page (Step 8), they actually appear in the order that the tables have been added in PhpRunner.

If you go on to step 10 and compare the menu order of the Menu page in Visual Editor, it doesn't match that specified in step 8. What appears in Visual Editor is what then appears after building the project but not what specified in step 8.

The work around is to cut and paste the menu items in Visual editor but use a soft return (Shift Enter) to keep the spacing correct.

Does that make sense?

Sergey Kornilov admin 8/21/2006

Andy,
this was fixed in update from August 19. Take a look and let me know if it works fine.

A
andyjames author 8/21/2006

Hi Sergey,
Part of it works fine, part of it doesn't...
The Menu order on the Menu tab on the Field orders and totals page now properly sets the menu order on Menu.php in Visual Editor and on the menu page that is generated.
The quick jump menu drop down box, however, is still the incorrect order (the order you originally added tables/views to phprunner rather than the order set in teh Menu tab on the Field orders and totals page.
Hope that helps. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=10565&image=1&table=forumreplies' class='bbc_emoticon' alt=':rolleyes:' />