close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

insert page blank after multiple record insert

Thread began 3/30/2010 8:04 am by Russell Collins | Last modified 4/01/2010 8:31 am by Jason Byrnes | 2114 views | 8 replies |

Russell CollinsBeta Tester

insert page blank after multiple record insert

Hi,
Any ideas why my insert page goes blank after I apply the multiple record insert behaviour.
I have noticed that it can also do this after the repeat selection has been added to a tr sometimes.
I have an MRT at the top of the page.

Regards

Russ

Sign in to reply to this post

Jason ByrnesWebAssist

when a page displays blank, it means a php error has occurred, but error reporting is turned of.


to turn error reporting on, add the following code at line 1:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>
Sign in to reply to this post

Russell CollinsBeta Tester

error not displaying

Hi,
the page is still blank even with errors turned on !

Sign in to reply to this post

Jason ByrnesWebAssist

Interesting, can you send a copy of the page so I can take a look at the code?

Sign in to reply to this post

Russell CollinsBeta Tester

Here is the page

Thanks Jason,

As soon as I place the repeat selection before applying the insert multiple it goes blank.
The page has just the repeat selection added.

Russ

Sign in to reply to this post

Russell CollinsBeta Tester

page code

Here is the repeat selection code on a dummy page that is blank, applied to an editable region


<div id="content"><!-- InstanceBeginEditable name="EditRegion1" -->
<form id="form1" method="post" action="">
<table width="100%" border="0" cellspacing="6" cellpadding="6">
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<?php
// RepeatSelectionCounter_1 Begin Loop
$RepeatSelectionCounter_1_IterationsRemaining = $RepeatSelectionCounter_1_Iterations;
while($RepeatSelectionCounter_1_IterationsRemaining--){
if($RepeatSelectionCounterBasedLooping_1 || $row_None){
?>
<tr>
<td><select name="email_types_<?php echo $RepeatSelectionCounter_1; ?>" id="email_types_<?php echo $RepeatSelectionCounter_1; ?>">
<option value="">TYPES:</option>
<?php
do {
?>
<option value="<?php echo $row_RSemailType['idEMAIL_TYPE']?>"><?php echo $row_RSemailType['EMAIL_TYPE']?></option>
<input type="hidden" name="email_types_mihidden_<?php echo $RepeatSelectionCounter_1; ?>" id="email_types_mihidden_<?php echo $RepeatSelectionCounter_1; ?>" value="1" />
undefined

</select></td>
<td><input type="text" name="email_<?php echo $RepeatSelectionCounter_1; ?>" id="email_<?php echo $RepeatSelectionCounter_1; ?>" /></td>
</tr>
<?php
} // RepeatSelectionCounter_1 Begin Alternate Content
else{
?>
<?php } // RepeatSelectionCounter_1 End Alternate Content
if(!$RepeatSelectionCounterBasedLooping_1 && $RepeatSelectionCounter_1_IterationsRemaining != 0){
if(!$row_None && $RepeatSelectionCounter_1_Iterations == -1){$RepeatSelectionCounter_1_IterationsRemaining = 0;}
$row_None = mysql_fetch_assoc($None);
}
$RepeatSelectionCounter_1++;
} // RepeatSelectionCounter_1 End Loop
?>
<tr>
<td>&nbsp;</td>
<td><input type="submit" name="submit" id="submit" value="Submit" /></td>
</tr>
</table>
</form>
<!-- InstanceEndEditable --></div>

Sign in to reply to this post

Russell CollinsBeta Tester

Working only with text fields

Hi Jason,

does insert multi work with a menu or list in a tr.
I think this is the problem.

Regards

Russ

Sign in to reply to this post

Russell CollinsBeta Tester

unknown code

Jason,

I removed all the multi insert behaviours and still had a blank page displayed.

After searching through the page code I found this inserted just above the doc description.

<?php<wasscdeletetemp>?>
<?php<wasscdeletetemp>?>

I removed it and had my page displaying properly

do you know what this is ?

Regards

Russ

Sign in to reply to this post

Jason ByrnesWebAssist

this is place holder code for the server behaviors that should be deleted once the behavior is applied. Not sure why it is not being removed.

try rebooting the computer, and deleting the cache file and see if the problem persists.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...