Forum Sample Error

I bought the Developer Toolbox and am using the Forum Sample to design a Message Board.
Everything except the post_message.php page is working. I keep getting this error:
"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1"
I've gone over the completed samples line by line, and they match my page. Has anyone had this error? Any ideas how to fix it?
Thanks

Here is the code:
<br />
<br /><?php require_once('Connections/db_ell.php'); ?>
<br /><?php<br />// Load the common classes<br />require_once('includes/common/KT_common.php');<br /><br />// Load the tNG classes<br />require_once('includes/tng/tNG.inc.php');<br /><br />// Make a transaction dispatcher instance<br />$tNGs = new tNG_dispatcher("");<br /><br />// Make unified connection variable<br />$conn_db_ell = new KT_connection($db_ell, $database_db_ell);<br /><br />//Start log out user<br />  $logout = new tNG_Logout();<br />  $logout->setLogoutType("link");<br />  $logout->Execute();<br />//End log out user<br /><br />//Start Restrict Access To Page<br />$restrict = new tNG_RestrictAccess($conn_db_ell, "");<br />//Grand Levels: Any<br />$restrict->Execute();<br />//End Restrict Access To Page<br /><br />// Start trigger<br />$formValidation = new tNG_FormValidation();<br />$formValidation->addField("subject_msg", true, "text", "", "", "", "");<br />$formValidation->addField("content_msg", true, "text", "", "", "", "");<br />$tNGs->prepareValidation($formValidation);<br />// End trigger<br /><br />//start Trigger_Custom trigger<br />function Trigger_Custom(&$tNG) {<br />$pkval = $tNG->getColumnValue('id_msg');<br />$query_update_initmsgid = "UPDATE message_msg SET id_init_msg = ".$pkval." WHERE id_msg = ".$pkval;<br />$result_update = $tNG->connection->execute($query_update_initmsgid);<br />}<br />//end Trigger_Custom trigger<br /><br />// Make an insert transaction instance<br />$ins_message_msg = new tNG_insert($conn_db_ell);<br />$tNGs->addTransaction($ins_message_msg);<br />// Register triggers<br />$ins_message_msg->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Insert1");<br />$ins_message_msg->registerTrigger("BEFORE", "Trigger_Default_FormValidation", 10, $formValidation);<br />$ins_message_msg->registerTrigger("END", "Trigger_Default_Redirect", 99, "view_message.php?id_top={GET.id_top}");<br />$ins_message_msg->registerTrigger("AFTER", "Trigger_Custom", 50);<br />// Add columns<br />$ins_message_msg->setTable("message_msg");<br />$ins_message_msg->addColumn("idtop_msg", "NUMERIC_TYPE", "VALUE", "{GET.id_top}");<br />$ins_message_msg->addColumn("idusr_msg", "NUMERIC_TYPE", "VALUE", "{SESSION.kt_login_id}");<br />$ins_message_msg->addColumn("date_msg", "DATE_TYPE", "VALUE", "{NOW_DT}");<br />$ins_message_msg->addColumn("subject_msg", "STRING_TYPE", "POST", "subject_msg");<br />$ins_message_msg->addColumn("content_msg", "STRING_TYPE", "POST", "content_msg");<br />$ins_message_msg->addColumn("subscribe_msg", "CHECKBOX_1_0_TYPE", "POST", "subscribe_msg", "0");<br />$ins_message_msg->setPrimaryKey("id_msg", "NUMERIC_TYPE");<br /><br />// Execute all the registered transactions<br />$tNGs->executeTransactions();<br /><br />// Get the transaction recordset<br />$rsmessage_msg = $tNGs->getRecordset("message_msg");<br />$row_rsmessage_msg = mysql_fetch_assoc($rsmessage_msg);<br />$totalRows_rsmessage_msg = mysql_num_rows($rsmessage_msg);<br />?>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<script src="includes/common/js/base.js" type="text/javascript"></script>
<br />
<script src="includes/common/js/utility.js" type="text/javascript"></script>
<br />
<script src="includes/skins/style.js" type="text/javascript"></script>
<br /><?php echo $tNGs->displayValidationRules();?>
<br />
<br />
<br />
<br />
<div id="masthead">
<br />
<div id="utility">
<a href="index.php">Home</a> |
<br /> <?php<br />//Show If User Is Logged In (region1)<br />$isLoggedIn = new tNG_UserLoggedIn($conn_db_ell);<br />//Grand Levels: Any<br />if ($isLoggedIn->Execute()) {<br />?>
<br />
<a href="%3C?php%20echo%20$logout-%3EgetLogoutLink();%20?%3E">Logout</a>
<br /> <?php <br />// else Show If User Is Logged In (region1)<br />} else { ?>
<br />
<a href="register.php">Register</a> |
<a href="login.php">Login</a>
<br /> <?php<br />}<br />//End Show If User Is Logged In (region1)<br />?></div>
<br />
<h1>
<img src="logo_gray.gif" alt="Kent ISD Logo" width="170" height="37" />
</h1>
<br />
<h1>English Language Learners Message Board</h1>
<br /></div>
<br />
<div id="pagecell1">
<br /> <?php<br /> echo $tNGs->getErrorMsg();<br />?>
<br />
<form method="post" id="form2" action="%3C?php%20echo%20KT_escapeAttribute(KT_getFullUri());%20?%3E">
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<table cellpadding="2" cellspacing="0" class="KT_tngtable">
<tr>
<td class="KT_th">
<label for="subject_msg">Subject:</label>
</td>
<td>
<input type="text" name="subject_msg" id="subject_msg" value="<?php echo KT_escapeAttribute($row_rsmessage_msg['subject_msg']); ?>" size="32" />
<br /> <?php echo $tNGs->displayFieldHint("subject_msg");?> <?php echo $tNGs->displayFieldError("message_msg", "subject_msg"); ?></td>
</tr>
<tr>
<td class="KT_th">
<label for="content_msg">Content:</label>
</td>
<td>
<textarea name="content_msg" id="content_msg" cols="50" rows="5">
<?php echo KT_escapeAttribute($row_rsmessage_msg['content_msg']); ?>
</textarea>
<br /> <?php echo $tNGs->displayFieldHint("content_msg");?> <?php echo $tNGs->displayFieldError("message_msg", "content_msg"); ?></td>
</tr>
<tr>
<td class="KT_th">
<label for="subscribe_msg">Subscribe:</label>
</td>
<td>
<input <?php if (!(strcmp(KT_escapeAttribute($row_rsmessage_msg['subscribe_msg']),"1"))) {echo "checked";} ?> type="checkbox" name="subscribe_msg" id="subscribe_msg" value="1" />
<br /> <?php echo $tNGs->displayFieldError("message_msg", "subscribe_msg"); ?></td>
</tr>
<tr class="KT_buttons">
<td colspan="2">
<input type="submit" name="KT_Insert1" id="KT_Insert1" value="Post" /></td>
</tr>
</table>
<br /></form>
<br /></div>
<br />
<br />
<br />
<br />The login is Username: Judy Wert and Password star
<br />http://my.kentisd.org/ell_message_board/login.php?

Similar Messages

  • HSDIO conditionally fetch hardware compare sample errors (script trigger to flag whether or not to wait for software trigger)

    I am moderately new to Labview and definitely new to the HSDIO platform, so my apologies if this is either impossible or silly!
    I am working on a system that consists of multiple PXI-6548 modules that are synchronized using T-CLK and I am using hardware compare.  The issue I have is that I need to be able to capture ALL the failing sample error locations from the hardware compare fetch VI... By ALL I mean potentially many, many more fails than the 4094 sample error depth present on the modules.
    My strategy has been to break up a large waveform into several subsets that are no larger than 4094 samples (to guarantee that I can't overflow the error FIFO) and then fetch the errors for each block.  After the fetch is complete I send a software reference trigger that is subsequently exported to a scriptTrigger that tells the hardware it is OK to proceed (I do this because my fetch routine is in a while loop and Labview says that the "repeated capbility has not yet been defined" if I try to use a software script trigger in a loop).
    This works fine, but it is also conceivable that I could have 0 errors in 4094 samples.  In such a case what I would like to do is to skip the fetching of the hardware compare errors (since there aren't any) and immediately begin the generation of the next block of the waveform.  That is, skip the time where I have to wait for a software trigger.
    I tried to do this by exporting the sample error event to a PFI and looping that PFI back in to generate a script trigger.  What I thought would happen was that the script trigger would get asserted (and stay asserted) if there was ever a sample error in a block, then I could clear the script trigger in my script.  However, in debug I ended up exporting this script trigger back out again and saw that it was only lasting for a few hundred nanoseconds (in a case where there was only 1 injected sample error)... The sample error event shows up as a 1-sample wide pulse.
    So, my question is this:  is there a way to set a flag to indicate that at least one sample error occurred in a given block  that will persist until I clear it in my script?  What I want to do is below...
    generate wfmA subset (0, 4094)
    if scriptTrigger1
      clear scriptTrigger1
      wait until scriptTrigger0
    end 
    clear scriptTrigger0
    generate wfmA subset (4094, 4094)
    I want scriptTrigger1 to be asserted only if there was a sample error in any block of 4094 and it needs to stay asserted until it is cleared in the script.  scriptTrigger0 is the software trigger that will be sent only if a fetch is performed.  Again, the goal being that if there were no sample errors in a block, the waiting for scriptTrigger0 will not occur.
    I am probably going about it all wrong (obviously since it doesn't work), so any help would be much appreciated!

    Please disregard most of my previous post... after some more debug work today I have been able to achieve the desired effect at slower frequencies.  I did straighten out my script too:
    generate wfmA
    if scriptTrigger1
      clear scriptTrigger0
      wait until scriptTrigger0
    end if
    generate wfmA
    scriptTrigger1 = sample error event flag
    scriptTrigger0 = software trigger (finished fetching error backlog in SW)
    However, I am still having a related issue.
    I am exporting the Sample Error Event to a PFI line, looping that back in on another PFI line, and having the incoming version of the Sample Error Event generate a script trigger.  My stimulus has a single injected sample error for debug. For additional debug I am exporting the script trigger to yet another PFI; I have the sample error event PFI and the script trigger PFI hooked up to a scope.
    If I run the sample clock rate less than ~133MHz everything works... I can see the sample error event pulse high for one clock period and the script trigger stays around until it is consumed by my script's if statement.
    Once I go faster than that I am seeing that the script trigger catches the sample error event occasionally.  The faster I go, the less often it is caught.  If I widen out the error to be 2 samples wide then it will work every time even at 200MHz.
    I have tried PFI0-3 and the PXI lines as the output terminal for the sample error event and they all have the same result (this implies the load from the scope isn't the cause).
    I don't know what else to try?  I can't over sample my waveform because I need to run a true 200MHz. I don't see anything that would give me any other control over the sample error event in terms of its pulsewidth or how to export it directly to a script trigger instead of how I'm doing it.
    Any other ideas?

  • [svn:bz-trunk] 19423: Fixes blz-604 BlazeDS samples error with "Error #1014 : Class flash.events::SoftKeyboardEvent could not be found."

    Revision: 19423
    Revision: 19423
    Author:   [email protected]
    Date:     2010-12-16 07:00:31 -0800 (Thu, 16 Dec 2010)
    Log Message:
    Fixes blz-604 BlazeDS samples error with "Error #1014: Class flash.events::SoftKeyboardEvent could not be found."
    Ticket Links:
        http://bugs.adobe.com/jira/browse/blz-604
    Modified Paths:
        blazeds/trunk/qa/resources/webtier/flex_sdk_4/flex-config.xml

  • Discussion Forum - JBO Error

    Hi,
    I've installed the discussion forum portlet onto our Oracle 10g Application Server.
    When I try to access the forum, I get the following error :-
    Unable to perform the operation: JBO-30003: The application pool (config.AppModuleLocal) failed to checkout an application module due to the following exception:
    Has anyone got any idea what is going wrong.
    Thanks.

    Here you find the Discussion Forum Portlet - error JBO-30003.
    Peter

  • NI-DAQ8.7.1 ATI DAQ F/T sample error with VC++6.0

    My pc is installed NI-DAQ 8.7.1, and I am working with F/T sensor with VC++ 6.0 compiler.
    As I am a new user, I download a sampler program from  http://www.ati-ia.com/products/ft/software/daq_software.aspx (Visual C++ Application)
    First, when i compiled it, it was error with  NIDAQmx.lib 's path (my pc directory is C:\Program Files\National Instruments\NI-DAQ\DAQmx ANSI C Dev\lib\msvc, and the sample program is C:\Documents and Settings\Program Files\National Instruments\NI-DAQ\DAQmx ANSI C Dev\lib\msvc)
    After changing its path, I could compile it well, but it was error when I run it. I do not know what the problem, it may because of xxxxxx.dll file? in system32?
    Can u explain me and tell me the compiling instruction??
    Thanks 

    Hi camboljp,
    Thank you for using our discussion forum.
    Sorry for getting back to you so late.
    What is the error code you are running into? That may help me solve this problem.
    Also, as I looked at the sample program you specified, I noticed that the programs use Traditional NI-DAQ software. There is a possibility that version of the driver is not compatible.
    Your NI-DAQ8.7.1 is not for the "Traditional DAQ", so you may need to uninstall NI-DAQ8.7.1 and re-install NI-DAQ6.9.x or lower.
    Let me know if you have any questions.
    National Instruments
    Applications Engineer
    Kei Eto

  • XDK for PL/SQL sample errors

    Hi,
    I'm trying to run the domsample file and am getting the following errors. Can anyone tell me why? This is an Oracle 8i db Release 8.1.7.0.0
    SQL> execute domsample('C:\XML\xdk\demo\plsql\parser', 'family.xml', 'errors.txt');
    BEGIN domsample('C:\XML\xdk\demo\plsql\parser', 'family.xml', 'errors.txt'); END;
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception:
    java.lang.SecurityException: relative pathnames are not
    allowed(C:\XML\xdk\demo\plsql\parser)
    ORA-06512: at "SYS.XMLPARSERCOVER", line 0
    ORA-06512: at "SYS.XMLPARSER", line 154
    ORA-06512: at "NSWEBDEVE.DOMSAMPLE", line 77
    ORA-06512: at line 1
    Thanks,
    Natalie

    Sounds like the same problem described in a number of posts
    recently.
    Re: Startup/Shutdown 9iAS on windows
    http://forums.oracle.com/forums/message.jsp?id=550104
    The problem is caused by unresolved classes in the XSU package
    from the latest Beta, I hope someone from Oracle can take a look
    at this.
    Good luck!
    Ola

  • EXS Sampler Error

    I Have recently been having loads of problems with my sampler instruments. When I click on some of them they take a while to load I have used the Project Manager in Logic Pro 7.1.1 to scan and that used to work but now no matter what I do in it whether doing an expanded scan or a selected scan or designated selected paths to scan it doesn't seem to make any difference. I have trashed the PM Prefs even the Logic Prefs even trashed logic and put on a fresh install.
    I recently in a desperate bid downloaded the demo of EXs Manager from Redmatica to re link my samples with the EXS interments after doing a little song and dance it came back with a great marketing ploy of having scanned so many instrument's it realised that I had more samples than the demo could handle to re-link the whole lot would need the full version which I will need to get at some point just to see whether it can do what it proclaims on the box.
    I am getting an error message when trying to load a few samples which reads 'Logical end-of -file reached during read operation Result code=-39'
    Can anyone tell me what this means

    You must be very careful when you open samples in Logic or in other apps.
    Maybe you have opened those wav. into Logic or into another audio software as audio and, in some manner, you deleted them.
    Anyway: get Pacifist (http://www.charlessoft.com/) and extract from Logic disks the missing samples and put them back into their right location.
    cheers
    rob

  • Beginner "Hello Camera" App Sample Errors

    Hello,
    Can anyone help me out. I was trying to recreate the "Hello Camera" app sample but I keep getting these errors. I'm assuming that the instructions follow those necessary for an earlier version, especially because of all the deprecation errors. I thought I fixed the codes to the new ones being used in Xcode 5.0 though. I've tried looking up how to fix these errors and I can't find anything that helps. If anyone can help I'd really appreciate it.
    Thank you!

    Your errors do not match the lines indicated. Try to clean project and rebuilt. Aside from that, your errors look pretty straightforward. Follow the suggestions to fix them.

  • QM-WM Sample Error

    Dear QM gurus ,
    We are facing the error of sample quantity posting to a storage type (In background),although we have posted all stock (Including sample qualntity) to untrstricted stock.
    Hope to hear from you soon
    ~ Ram

    Hi Rene,
    The QM-WM interfacing settings are already done for inspection sample control.
    We are facing following problem as,we posted total (100 %) quantity to unrestricted stock during usage decision.After this posting,system automatically generates transfer order and confirms it.Now when we check the stock at storage type level its showing 99% of stock in high rack storage and 1% (quantity = sample size defined in inspection plan) of the stock to sample storage type.We wonder how it happens.
    Please note that in WM/QM interface for sampling procedure,we maintaied the inspection sample handling in WM as 3 for respective warehouse type
    Hope to hear from you soon
    ~ Ram

  • Bpel-108-XQuery sample error

    Hi,
    I hit error when invoking unit tests for this bpel sample: bpel-108-UsingXQuery.
    Error Message
    asserts the output of the xquery run [Expected presence of child nodes to be 'true' but was 'false' - comparing <bookReport...> at /bookReport[1] to <bookReport...> at /bookReport[1] ]
    Can someone assist how to successfully invoke the SOA composite unit tests?

    Thanks James. The sample .zip file did not have a JDeveloper application that I could see. But I did find the build-global.properties file you mentioned and after finding all the appropriate parameters and changing them to my environment's set up, the install completed successfully. It would of been helpful if the installation instructions had mentioned this rather than assuming I had a Windows and Oracle XE environment. Cheers.
    Edited by: pwaleski on Apr 22, 2010 4:44 PM

  • PeerToPeerRtmfp.mxml sample Error #2025

    Hi,
    I'm trying out the PeerToPeerRtmfp.mxml sample of the LCCS SDK.
    Environement:
    Windows 7
    Flash Builder 4.5
    SDK 4.5
    LCCS 10.3
    Player 10.3
    Scenario:
    enter all requie room parameters and try to login
    Problem:
    After login I'm gettign an error:
         ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
    This is a more full log:
    20:11:10 GMT+0300    RECEIVENODES UserManager
    20:11:10 GMT+0300    receiveAllSynchData UserManager
    20:11:10 GMT+0300    RECEIVENODES FileManager
    20:11:10 GMT+0300    receiveAllSynchData FileManager
    20:11:10 GMT+0300    checkManagerSync:[object FileManager]
    20:11:10 GMT+0300    RECEIVENODES AVManager
    20:11:10 GMT+0300    receiveAllSynchData AVManager
    20:11:10 GMT+0300    checkManagerSync:[object StreamManager]
    20:11:12 GMT+0300    RECEIVENODES RoomManager
    20:11:12 GMT+0300    receiveAllSynchData RoomManager
    20:11:12 GMT+0300    checkManagerSync:[object RoomManager]
    20:11:12 GMT+0300    checkManagerSync:[object UserManager]
    ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
    at flash.display::DisplayObjectContainer/getChildIndex()
    at mx.core::Container/getChildIndex()[E:\dev\hero_private\frameworks\projects\mx\src\mx\core \Container.as:2835]
    at mx.containers::Panel/getChildIndex()[E:\dev\hero_private\frameworks\projects\mx\src\mx\co ntainers\Panel.as:1179]
    at mx.controls::RadioButtonGroup/breadthOrderCompare()[E:\dev\hero_private\frameworks\projec ts\mx\src\mx\controls\RadioButtonGroup.as:611]
    at mx.controls::RadioButtonGroup/breadthOrderCompare()[E:\dev\hero_private\frameworks\projec ts\mx\src\mx\controls\RadioButtonGroup.as:622]
    at mx.controls::RadioButtonGroup/breadthOrderCompare()[E:\dev\hero_private\frameworks\projec ts\mx\src\mx\controls\RadioButtonGroup.as:622]
    at mx.controls::RadioButtonGroup/breadthOrderCompare()[E:\dev\hero_private\frameworks\projec ts\mx\src\mx\controls\RadioButtonGroup.as:622]
    at Array$/_sort()
    at Array/http://adobe.com/AS3/2006/builtin::sort()
    at mx.controls::RadioButtonGroup/http://www.adobe.com/2006/flex/mx/internal::addInstance()[E:\dev\hero_private\frameworks\p rojects\mx\src\mx\controls\RadioButtonGroup.as:473]
    at mx.controls::RadioButton/addToGroup()[E:\dev\hero_private\frameworks\projects\mx\src\mx\c ontrols\RadioButton.as:574]
    at mx.controls::RadioButton/commitProperties()[E:\dev\hero_private\frameworks\projects\mx\sr c\mx\controls\RadioButton.as:514]
    at mx.core::UIComponent/validateProperties()[E:\dev\hero_private\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:8209]
    at mx.managers::LayoutManager/validateProperties()[E:\dev\hero_private\frameworks\projects\f ramework\src\mx\managers\LayoutManager.as:597]
    at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\hero_private\frameworks\project s\framework\src\mx\managers\LayoutManager.as:813]
    at mx.managers::LayoutManager/validateNow()[E:\dev\hero_private\frameworks\projects\framewor k\src\mx\managers\LayoutManager.as:878]
    at mx.core::Application/resizeHandler()[E:\dev\hero_private\frameworks\projects\mx\src\mx\co re\Application.as:1721]
    at mx.core::Application/commitProperties()[E:\dev\hero_private\frameworks\projects\mx\src\mx \core\Application.as:1073]
    at mx.core::UIComponent/validateProperties()[E:\dev\hero_private\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:8209]
    at mx.managers::LayoutManager/validateProperties()[E:\dev\hero_private\frameworks\projects\f ramework\src\mx\managers\LayoutManager.as:597]
    at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\hero_private\frameworks\project s\framework\src\mx\managers\LayoutManager.as:813]
    at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\hero_private\frameworks \projects\framework\src\mx\managers\LayoutManager.as:1180]
    Thanks,
    Ofer

    Hi Ofer,
    Thanks for reporting this bug to us. I would assume It’s a weird Flex SDK bug. We would be fixing this issue in the next SDK Drop.
    So for the fix,
    Modify line 174-176 from
    <mx:RadioButtonGroup id="radioGroup" />
    <mx:RadioButton id="nellymoser" group="{radioGroup}" selected="false"  label="{SoundCodec.NELLYMOSER}" click="changeCodec(event)" />
    <mx:RadioButton id="speex" group="{radioGroup}" selected="true"  label="{SoundCodec.SPEEX}" click="changeCodec(event)"  />
    To
    <mx:RadioButtonGroup id="radioGroup1" />
    <mx:RadioButton id="nellymoser" group="{radioGroup1}" selected="false"  label="{SoundCodec.NELLYMOSER}" click="changeCodec(event)" />
    <mx:RadioButton id="speex" group="{radioGroup1}" selected="true"  label="{SoundCodec.SPEEX}" click="changeCodec(event)"  />
    As you see changing the id of the RadioGroup we were using fixes this issue.
    Thanks
    Arun

  • FindChangeByList Sample Error

    There are some errors in the third and sixth sample greps included in the FindChangeByList.txt file that came bundled with CS4 (and also CS3, so perhaps these aren't very important errors). In both cases, the descriptions are wrong, each having been copied from the previous entry but not edited properly. But more importantly:
    Apply either of these and the paragraph after the return will take on the paragraph style of the paragraph before the return.
    To fix the problems change them to:
    grep {findWhat:" $"} {changeTo:""} {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false} Find all instances of a space at the end of a paragraph and delete it.
    grep {findWhat:"\t$"} {changeTo:""} {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false} Find all instances of a tab character at the end of a paragraph and delete it.
    However, what prompts me to actually post this is that I am mystified why the two similar entries that immediately precede these two don't have the same problem. In the UI, if you select a return and the space or tab that immediately follows it and hit return, you do get the problem of the styles changing. But it doesn't happen with these greps.
    Puzzled in New Jersey.
    Dave

    Though it probably has nothing to do with the problem you report, GREP doesn't have an option "wholeWord". Text does.
    What your two cases have in common is that when in the search pair \r follows, the previous paragraph takes on \r's paragraph style, but when \r is first in the pair, it doesn't. This still doesn't explain anything!
    Peter

  • LBS Sample Error

    Hi,
    Have someone tried 'Sample Demonstrating Location and Customization Features in Wireless Application' at
    http://otn.oracle.com/sample_code/tech/java/wireless/9iwireless/location/LocationSample.jar?
    I've got 'service error' in screen of mobile simulater after input and search theaters around 'san francisco'.
    Any information are appreciate.
    Takashi

    Hi,
    Have someone tried 'Sample Demonstrating Location and Customization Features in Wireless Application' at
    http://otn.oracle.com/sample_code/tech/java/wireless/9iwireless/location/LocationSample.jar?
    I've got 'service error' in screen of mobile simulater after input and search theaters around 'san francisco'.
    Any information are appreciate.
    Takashi

  • EJB QL Sample errors in deploying

    I get following error when deploying ear file in oc4j10g. =>
    D:\oc4j10g\j2ee\home>java -jar admin.jar ormi://localhost:23791 admin welcome -d
    eploy -file d:\myj2ee\oc4jsamples\accounts\ejbql\build\ejbql.ear -deploymentName
    Ejbql
    Error: Deploy error: deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-mod
    ule, Exception: Missing method-params in query-method; see page 478 in ejb 2.0 s
    pec
    com.evermind.client.orion.AdminCommandException: Deploy error: deploy failed!: ;
    nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-mod
    ule, Exception: Missing method-params in query-method; see page 478 in ejb 2.0 s
    pec
    at com.evermind.client.orion.DeployCommand.execute(DeployCommand.java:95
    at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
    nsole.java:117)
    at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
    :26)
    java.rmi.RemoteException: deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-mod
    ule, Exception: Missing method-params in query-method; see page 478 in ejb 2.0 s
    pec
    at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_R
    EMOTE_SERVER(RMIConnection.java:1504)
    at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java
    :1456)
    at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocati
    onHandler.java:55)
    at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(Rec
    overableRemoteInvocationHandler.java:22)
    at __Proxy0.deploy(Unknown Source)
    at com.evermind.client.orion.DeployCommand.execute(DeployCommand.java:92
    at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
    nsole.java:117)
    at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
    :26)
    Caused by: oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-
    module, Exception: Missing method-params in query-method; see page 478 in ejb 2.
    0 spec
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:94)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.internalDeploy(DefaultApplicationServerAdministrator.java:378)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.deploy(DefaultApplicationServerAdministrator.java:278)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:140)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:54)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:199)
    at java.lang.Thread.run(Thread.java:534)
    ---- Embedded exception
    oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module, Exc
    eption: Missing method-params in query-method; see page 478 in ejb 2.0 spec
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:94)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.internalDeploy(DefaultApplicationServerAdministrator.java:378)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.deploy(DefaultApplicationServerAdministrator.java:278)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:140)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:54)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:199)
    at java.lang.Thread.run(Thread.java:534)
    ---- Embedded exception
    java.lang.InstantiationException: Error initializing ejb-module, Exception: Miss
    ing method-params in query-method; see page 478 in ejb 2.0 spec
    at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1792)
    at com.evermind.server.Application.postInit(Application.java:635)
    at com.evermind.server.Application.setConfig(Application.java:206)
    at com.evermind.server.ApplicationServer.addApplication(ApplicationServe
    r.java:1654)
    at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(Applica
    tionDeployer.java:414)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
    ployer.java:132)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:76)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.internalDeploy(DefaultApplicationServerAdministrator.java:378)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.deploy(DefaultApplicationServerAdministrator.java:278)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:140)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:54)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:199)
    at java.lang.Thread.run(Thread.java:534)
    ---- Embedded exception
    java.lang.InstantiationException: Error initializing ejb-module, Exception: Miss
    ing method-params in query-method; see page 478 in ejb 2.0 spec
    at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1792)
    at com.evermind.server.Application.postInit(Application.java:635)
    at com.evermind.server.Application.setConfig(Application.java:206)
    at com.evermind.server.ApplicationServer.addApplication(ApplicationServe
    r.java:1654)
    at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(Applica
    tionDeployer.java:414)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
    ployer.java:132)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:76)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.internalDeploy(DefaultApplicationServerAdministrator.java:378)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.deploy(DefaultApplicationServerAdministrator.java:278)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:140)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:54)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:199)
    at java.lang.Thread.run(Thread.java:534)
    D:\oc4j10g\j2ee\home>

    Hello Ravi,
    The EJB 2.0 specification has made it mandatory to have <method-params> tag within the ejb-jar.xml. Due to the absence of this tag, you are getting the error...
    Please modify ejb-jar.xml and add an empty <method-params></method-params> tag for the findByAllAccounts and ejbSelectByTopAccounts methods. For example,
    <query>
    <description>This query retrieves all the accounts</description>
    <query-method>
    <method-name>findByAllAccounts</method-name>
    <method-params></method-params>
    </query-method>
    <ejb-ql>select distinct object(ua) from UserAccount ua</ejb-ql>
    </query>
    Notice the empty <method-params> tag added. Please do the same for the ejbSelectByTopAccounts method.
    Another thing to be changed is the jsp:usebean tag in index.jsp and DisplayAccounts.jsp. In the mentioned files, replace jsp:usebean with jsp:useBean. Please notice the capital 'B'. JDK 1.4 has made this mandatory.
    Futher more, as you would be aware, 10G onwards, the CMP beans accesses the database tables through the Toplink. Toplink is the default persistence manager now. To use the orion-ejb-jar.xml, please start the OC4J with the following command
    java -Ddefault.cmp.pm=native_cmp -jar oc4j.jar
    I would like to point out that the sample works fine in OC4J 904 developers preview without any of the above mentioned changes. The sample application has been certified in that version.
    Thanks for pointing this problem out. We are making the necessary changes in the sample and the updated jar will be uploaded on OTN shortly.
    Hope this helps,
    Rajat

  • Forum posting error

    I keep getting 'An error occurred while trying to submit your post. Please try again' error when I post to the forum. The post seems to get sent, I just get that error notice.

    As I was told over in another forum (either Cloud or Comments, can't remember which) the failed Jive upgrade left a few "remnants" behind
    Clearing my browser cache and cookies fixed the problem for me

Maybe you are looking for

  • Poor Quality After Render

    Hello. I have been having some problems with Premiere Pro CC after the 7.2 update. A new one has arisen when i render a video. Normally the quality would improve and i can see it in the preview window. But now after i render a video the quality is so

  • Users, domain and services logon problem

    Hi all. I'm having several issues related to users in my farm (mostly service accounts, as it isn't in production yet). The farm is based on W2003 servers (except SQL which uses Windows 2008)  Domain is named sp.test.com , but when I create a web app

  • Help/About says Firefox version is 9.0.1 -- you say I haver 3.6.10?

    I am getting this message Warning: Firefox 3.6 will only be maintained with security and stability updates for a short period of time. Please download and install the latest version of Firefox from mozilla.org/firefox. However, Help says I have 9.0.1

  • SSD and 2.93 Worth It?

    Hello I am looking to buy the 15 inch 2.66ghz MacBook Pro. I was wondering if upgrading to 2.93 ghz would be worth it and show that much of a difference in performance and if the 256gb ssd would be worth it for a performance upgrade. Ultimately if I

  • Old life to new life 8

    I am sorry if this is repetitous, but I couldn't find this anywhere. If you use the migration feature to import your files from a PowerBook 17", and the iLife that comes with the PB loads, will the new iLife over-ride it and keep your current working