MySQL PHP question/problem.....blank page!

This is new to me, so be gentle and let me know what might be
happening
here.
- I set up a MySQL database which seems fine
- Set up a testing server for the site (the root of the
remote site) which
tests okay
- Set up a Connection which tests okay
- Created a Recordset which tests okay
- Inserted a REPEAT REGION and even just a field to
display.....I get a
blank page. Blank with DESIGN VIEW and blank with f12 and
blank if I upload
it and look at the page.
How can everything check out and test out yet it's not
returning anything? I
know there's an easy answer here....
If it helps, here's the code:
<?php require_once('Connections/jobs.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType,
$theDefinedValue = "",
$theNotDefinedValue = "")
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue)
: $theValue;
$theValue = function_exists("mysql_real_escape_string") ?
mysql_real_escape_string($theValue) :
mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" :
"NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? "'" . doubleval($theValue) .
"NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" :
"NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue :
$theNotDefinedValue;
break;
return $theValue;
$maxRows_Jobs1 = 6;
$pageNum_Jobs1 = 0;
if (isset($_GET['pageNum_Jobs1'])) {
$pageNum_Jobs1 = $_GET['pageNum_Jobs1'];
$startRow_Jobs1 = $pageNum_Jobs1 * $maxRows_Jobs1;
mysql_select_db($database_jobs, $jobs);
$query_Jobs1 = "SELECT job_title, salary FROM jobs ORDER BY
job_title ASC";
$query_limit_Jobs1 = sprintf("%s LIMIT %d, %d", $query_Jobs1,
$startRow_Jobs1, $maxRows_Jobs1);
$Jobs1 = mysql_query($query_limit_Jobs1, $jobs) or
die(mysql_error());
$row_Jobs1 = mysql_fetch_assoc($Jobs1);
if (isset($_GET['totalRows_Jobs1'])) {
$totalRows_Jobs1 = $_GET['totalRows_Jobs1'];
} else {
$all_Jobs1 = mysql_query($query_Jobs1);
$totalRows_Jobs1 = mysql_num_rows($all_Jobs1);
$totalPages_Jobs1 = ceil($totalRows_Jobs1/$maxRows_Jobs1)-1;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>Database test</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0"
cellpadding="0">
<tr>
<?php do { ?>
<td> </td>
<?php } while ($row_Jobs1 = mysql_fetch_assoc($Jobs1));
?>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><?php echo $row_Jobs1['job_title'];
?></td>
</tr>
</table>
</body>
</html>
<?php
mysql_free_result($Jobs1);
?>
THANKS,
Mad Dog
(be gentle)

no worries mad, glad you got it fixed man.
"Mad Dog" <[email protected]> wrote in message
news:ecqpkh$ocp$[email protected]..
>I added that, though it wasn't the problem. And I don't
know why DW didn't
>add it.
>
> But I've got things working now. By INSERTING a DYNAMIC
TABLE and
> modifying the code I'm getting what I wanted. It was
something about doing
> it with a table and REPEAT REGION that got things (me?)
bolluxed up.
>
> Thanks for the help!
> MD
>
>
>
> crash wrote:
>> switch ($theType) {
>> case "text":
>> $theValue = ($theValue != "") ? "'" . $theValue .
"'" : "NULL";
>> break;
>> case "long":
>>
>> you should insert the following text:
>> break; after this (Idon't know why DW didn't do it)
>>
>>
>> case "int":
>> $theValue = ($theValue != "") ? intval($theValue) :
"NULL";
>> break;
>>
>>
>> Also,it currently looks like your do while is
surrounding an empty
>> table cell.
>
>

Similar Messages

  • Mediawiki, mysql, php? problems [SOLVED]

    On Sunday my Arch install that is hosted by Slicehost became unresponsive to them so they had to do an emergency reboot. After it came back up my install of mediawiki was (and still is) only returning a blank page (at least in Firefox). After some digging I found out that part of the problem was that mysqld wasn't starting so I managed to get that fixed by commenting out the lines relating to innodb and putting in skip-innodb into my.cnf. But I'm still getting a blank page.
    According to Mediawiki's manual, "A blank white page indicates a PHP error which isn't being printed to the screen." They give two lines to put into LocalSettings.php to force error messages but after doing that I'm still getting a blank page. Changing display_errors in php.ini to ON didn't have any effect.  When I load the wiki in Safari I get the following error: "Got java.io.EOFException (Server closed connection while sending the HTTP header.): http://some_url.com/mediawiki/index.php/Main_Page". I have no idea what this error means and googling java.io.EOFException doesn't bring up anything very helpful. My PHP Test Page indicates that PHP is up and running.
    Any ideas on fixes or where I can find more clues?
    [EDIT]
    Mysql was definitely the root of the problems with Mediawiki. I tried nearly every suggestion listed in the forums for fixing a mysql install that wouldn't start but nothing worked. I even completely uninstalled mysql and reinstalled it but it still refused to start. I switched over to postgresql and switched mediawiki to run with that. Problem solved.
    Last edited by k_odoma (2009-05-23 01:48:35)

    There are some other things that must be done to connect to
    the database
    (such as passing the usernamee, password, and host info to
    mysql_connect()
    and storing the connection resource), and those might be in
    the include
    files. I generally place all of the connection parameters in
    a separate file
    that is located in a folder that can't be accessed by a
    browser, for
    security purposes.
    Paul Swanson
    Portland, Oregon, USA
    "Amy Blankenship *AdobeCommunityExpert*"
    <[email protected]>
    wrote in message news:edk6ui$69c$[email protected]..
    > What's in the include(s)?
    >
    > "83Dons" <[email protected]> wrote in
    message
    > news:edk5s5$4uk$[email protected]..
    > > Here is the php code for the 'read' and 'write'
    parts:
    > >
    > >
    > >
    > > <?php
    > > include '......';
    > > mysql_select_db('clinskills') or die("UNABLE TO
    CONNECT TO
    DATABASE");
    > > $sql = "select A1Answer from authorware where id =
    '13'";
    > > $result = mysql_query($sql);
    > > $answer1 = mysql_result($result,0,"A1Answer");
    > > print $answer1;
    > > ?>
    > >
    > > <?php
    > > include '............';
    > > mysql_select_db('clinskills') or die("UNABLE TO
    CONNECT TO
    DATABASE");
    > > $newdata = $_GET['data'];
    > > mysql_query("insert into authorware (A1Answer)
    values('$newdata')")
    or
    > > die(mysql_error());
    > > mysql_close(); ?>
    > >
    >
    >

  • Loading from MySQL/PHP Question

    Hi all
    I have used flash for a few years but only as stand alone
    movie files which make up brochure websites etc so I have a limited
    grasp on Actionscript as it stands. I do however also build sites
    using PHP/XHTML which is very easy to achieve dynamicly driven
    website, albeit a kind of static non-animated output.
    I am now keen to learn/understand how easy/difficult it is to
    do the same kind of thing but with Flash to help introduce animated
    effects. An example of something I would do typically in PHP would
    be to retrieve data from mysql and build a page of portfolio
    examples, and this page would retrieve an image, and assciated data
    for each portfolio entry and using Cascading Style Sheets I would
    style the output for the end user.
    Can someone explain if this rrequires a great understanding
    of actionscript or is there a good source I can begin to learn
    from? The reason why this needs to come from a database instead of
    pre build external swf's being loaded is that the data will be
    updated by users via content management systems.
    Any suggestions would be appreciated.
    If one of them is stick to PHP then I will!
    Cheers

    You already know PHP, so you can set up a PHP file that grabs
    the data from mySQL, then converts it to XML file, and flash grabs
    that data parses it out with nodeValues, i.e.,
    firstChild/lastChild/and so on.

  • Form problem-Hit submit and get a blank page

    Hi and thanks for the help!
    I have a form I created in Dreamweaver using Spry validation.  It works most of the time, however,  a few times the visitor hits the submit button and receives a blank screen but the results are submitted.  Of course they have no way of knowing that as they stare down a blank page. Here is the website: http://tinyurl.com/klej69
    I have successfully submitted it on Mac-Safari & Firefox and on PC on Firefox and Explorer 7.
    The client wanted the questions numbered-is there a problem with the "name" starting with a number?  I do have the "id" all lower case, no numbers.
    Thanks so much for any help you can give me!
    Cheers,
    Janell

    Since it's not a consistent problem, you are likely having issues with specific browsers. Is the form page targeting another page, or is it submitting back to its self and supposed to be showing some sort of message?
    I would venture to guess that there's a problem with the validation java script with some browsers.  What it is probably doing is trying to validate and failing, which causes the blank screen, but since the validation failed the form get's submitted anyway.  Try looking at the submitted forms to see any information, or lack of it that should have triggered a message. If you find it, the validation for that field could be your culprit.
    Hope this helps you debug it.
    Lawrence   *Adobe Community Expert*
    www.Cartweaver.com
    Complete Shopping Cart Application for
    Dreamweaver, available in ASP, PHP and CF
    www.twitter.com/LawrenceCramer

  • PHP MySQL data display problem

    I am having trouble getting data to display on my web page.In Dreamweaver CS3, I created a new page.
    Selected PHP as the type.
    Saved it.
    Connected a database and created a recordset (all using Dreamweavers menus. I did not write any code).
    NOTE: The database is on a remote server.
    The TEST button displayed the records from the recordset with no problem.
    On the new page, I then typed some text.
    Then dragged some fields from the Bindings tab to the page.
    I saved it and then went to preview it in my browser.
    The page comes up completely blank. Not even the text shows.
    I then saved the page as an HTML page.
    When I preview this in my browser, the text shows, but the fields and data do not.
    I then tried creating a dynamic table (again, using the Dreamweaver menus.).
    A similar thing happens, ie. If I save it as an HTML, the text shows and the column labels and border shows, but no data.
    Nothing shows if I save it as a PHP file.
    I can view the data online using files created by PHPMagic, so I know the data is there and retrievable.
    It is just in pages created in Dreamweaver that don’t work.
    What am I doing wrong?

    My web server supports PHP. I can disply PHP pages created by other software packages, just not the Dreamweaver ones.
    Frank
    Date: Thu, 4 Jun 2009 19:04:03 -0600
    From: [email protected]
    To: [email protected]
    Subject: PHP MySQL data display problem
    To view php pages - or pages with PHP code in them - in a browser, the page must be served up by a Web server that supports PHP. You can set up a testing server on your local machine for this purpose. Look for WAMP (Windows), MAMP (Mac), or XXAMP for some easily installed packages.
    Mark A. Boyd
    Keep-On-Learnin'
    This message was processed and edited by Jive.
    It shall not be considered an accurate representation of my words.
    It might not even have been intended as a reply to your message.
    >

  • I noticed when I restart Firefox 4, it opens my previous tabs even I set the option "Open a blank page" and it opens blank page when I have "Show my windows and tabs from last time". Please ignore my question if you're already aware of this issue. Thanks.

    I noticed when I restart Firefox 4, it opens my previous tabs even I set the option "Open a blank page" and it opens blank page when I have "Show my windows and tabs from last time". Please ignore my question if you're already aware of this issue. Thanks.

    Your previous tabs will not re-open or be available to re-open when starting Firefox if:
    *your previous session was in Private Browsing mode; see --> http://support.mozilla.org/en-US/kb/Private+Browsing
    *you use Clear Recent History (''Firefox button > History > Clear Recent History'' or ''Tools > Clear Recent History''); see --> https://support.mozilla.org/en-US/kb/Clear%20Recent%20History#w_how-do-i-clear-my-history
    *you clear History automatically when closing Firefox; see --> https://support.mozilla.org/en-US/kb/Clear%20Recent%20History#w_how-do-i-make-firefox-clear-my-history-automatically
    NOTE: Your third-party Plugins (Add-ons > Plugins) are not in the "Application Basics" (Troubleshooting Information) in the "More system details" of your original post. Third-party Plugins are categorized separately in "Installed Plugins" under "More system details". You should review but not change the Plugins as detected automatically by the software on this forum when posting a question.
    If you problem still exists after checking the above, the problem could be caused by one or more of your Extensions or Plugins:
    *See --> [http://support.mozilla.org/en-US/kb/Troubleshooting+extensions+and+themes Troubleshooting extensions and themes]
    *See --> [http://support.mozilla.org/en-US/kb/Troubleshooting+plugins Troubleshooting plugins]
    *See --> [http://support.mozilla.org/en-US/kb/Basic+Troubleshooting Basic Troubleshooting]
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • PHP/mySQL Insert/Update Problems

    I hope someone can help because I can't find anything online
    that is helping me with this problem. I can't get the Dreamweaver
    controls to work when coding a PHP insert or update record page. It
    looks like it creates the code correctly but when I put them out on
    my webserver and then fill out the form and click submit the page
    submits and tries to use a URL string of (null)/admin/index.php
    where index.php is the form page not the page I told it to redirect
    to. I don't know why the (null) value keeps getting inserted into
    the string either. The browser obviously can't find this URL so
    gives a page cannot be displayed screen and nothing get's inserted
    or updated in the mySQL database.
    Any help would be greatly appreciated. This problem is
    driving me crazy because I want to save time not having to hand
    code things. Below is a User Authentication page using the
    Dreamweaver controls that does the same thing when I try to
    login.

    tobyd wrote:
    > the page submits and tries to use a URL string of
    (null)/admin/index.php
    > where index.php is the form page not the page I told it
    to redirect to. I don't
    > know why the (null) value keeps getting inserted into
    the string either.
    The following two lines set the URL for login success and
    failure.
    > $MM_redirectLoginSuccess = "../admin_index.php";
    > $MM_redirectLoginFailed = "../admin/index.php";
    As you can see, they are relative paths, suggesting that the
    login form
    is in a different subfolder, but at the same level as
    admin_index.php
    and the admin folder. The (null) almost certainly comes from
    the fact
    that your login page is in the site root. If you're typing in
    the
    redirect filenames manually, use the Browse button instead.
    Dreamweaver
    should set the correct path for you.
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Running Powershell command from PHP returns blank page

    Hi. :-)
    I have this script :
    <?php
    $q = shell_exec('powershell Get-Help');
    echo $q;
    ?>
    This works well and gives me output.
    But... When I change Get-Help with Get-VM it gives me blank page as ouput. I have simillar problems with other Hyper-V cmdlets.
    This is code 1:
    <?php
    $q = shell_exec('powershell Get-VM');
    echo $q;
    ?>
    This code gives me blank page.
    Code 2:
    <?php
    $q = shell_exec('powershell Start-VM 'Vm1'');
    echo $q;
    ?>
    This code gives me that it cannot find VM with that name.
    What's the problem, what to change in script or system settings.
    Note: All this commands WORK and gives me output when I run it from cmd
    Things that I did:
     1. Changed execution policy to Unrestricted
     2. Added 2<&1 at the end of shell_exec.
    Thanks in advance.

    Hi,
    I think we should run powershell as adminitrator to get VMs.
    Start-Process "$psHome\powershell.exe" -Verb Runas -ArgumentList '-command "Get-VM"'
    Regards,
    Yan Li
    Regards, Yan Li

  • IIS, Javascript, Signed Applet and ASP Blank Page Problem

    Hi,
    I'm having a problem using a Signed Applet in a site that runs in a IIS (Windows Server 2003).
    My aspx web page uses the applet to read my smart card and get information from it.
    This applet uses an auxiliar dll (stored in a second Signed Jar file) in order to read the information from my smart card.
    The way the solution is design:
    1) Aspx page is asked from server
    2) Internet Explorer recieve the page and asks the server for it content (images, applet, javascripts, etc)
    3) After this the JVM runs (console opens)
    4) After the Aspx page render fully a javascript register onload fires and call an applet method
    5) Applet receive the call and run the logic of the method:
         - reads the smart card;
         - calls Javascript function in order to fill aspx fields with information from smart card
         - calls Javascript function the simulates a click in a botton of aspx page (in order to call server side part sending data readed from smart card to server)
    5) The server makes some logic with the information receive and responds to client registering in aspx page a call to another Javascrit function
    6) The client received the asnwer from server and runs the Javascript function registered on step 5)
         This Javascript calls another method from applet and runs the following logic:
         - reads more information from smart card;
         - call javascript function in order to fill more fields of aspx page with the information readed
         - calls Javascript function the simulates a click in a botton of aspx page (in order to call server side part sending data readed from smart card to server)
    7) The server makes some logic and call another pages with no Applets
    8) Client asks for a second page with the same applet and we start with another logic express on steps 1);2);3),4);5) and then 7).
    This is all ok, until sometimes the server stop responding correcly for requests regarding this two pages with the Applet.
    When this happens the server just responds with a blank page.
         - with fiddler I can seer the request for the aspx page (that uses the applet)
         - but server responds with a blank html page
    The JVM doesn't fire.
    The IIS log don't show errors.
    The eventviewer doesn't show errors.
    The problem is solved with an IIS reset or a Application Pool reset.
    After a while the problem returns.
    This problem occours for other user in another machine, the server just stops responding correcly to request regarding pages with applets, the other pages still continue to work.
    If we disable Java Control Panel->Advanced->Java Plug-in->Enable the next-generation Java Plug-in the problem seend to stop, but we can't force all clients to disable this option right?
    Or there is a way to force the Applet to run with this option disabled?
    As anyone experience similar problem?
    Regards,
    OF

    This is all ok, until sometimes the server stop responding correcly for requests regarding this two pages with the Applet.
    When this happens the server just responds with a blank page.
    - with fiddler I can seer the request for the aspx page (that uses the applet)
    - but server responds with a blank html pageWell, if http requests look identical in case of success and failure (pay attention to cookies, etc) then it has to be something on the server side.
    It could be that server gets into this wrong state because of previous requests made by applet but it is hard to tell.
    I am not clear how old/new plugin can make a difference unless your applets run in the legacy mode (i.e. you are actually trying to reuse SAME instance of the applet when
    it is loaded next time).
    I'd start with
    1) carefully comparing good/bad sessions
    2) checking whether server will serve correct response to another client when it serves "bad" page for current client
    3) add debug statements to aspx - it is scripted page, may be some condition is not met and then it returns blank?
    4) record all http requests in one session until you get to "error" state and then use any http server testing tool to "replay" this set of requests.
    You should be able to get server into the same state without use of applet. Then you can try to tweak set of requests to see what makes a difference.

  • On MacBook Pro unable to print webpage; I get a single blank page. But I can print using Safari. Started last week while using Firefox 3.6. I downloaded Firefox 5.0--same problem.

    On MacBook Pro unable to print webpage; I get a single blank page. But I can print using Safari. Started last week while using Firefox 3.6. I downloaded Firefox 5.0--same problem.

    I am now able to do live broadcasts with my i-sight, but my original problem still exisits....
    Unsolved Problem:I need to be able to broadcast from CamTwist as CamTwist is the only program that will allow me to do what I need to do.   Justin.tv and Ustream.tv do not recognize CamTwist for reasons I can not explain.

  • Had multiple problems with Firefox 4..went back to 3.6.16. Now always opens to a blank page rather than my chosen home page, no matter how many time sI have set it to open on my homepage. Running Windows Vista. Any suggestions?

    $ was totally jacked up, no tabs, no history, no buttons that worked and always opened on a blank page. I saved my bookmarks, uninstalled 4, reinstalled 3.6.16 and all my problems went away except for the oening on a blank page. As soon as I hit home, it opens.
    Tnx,
    JFN3

    i ran into a simuler problem using firefox 4 with win 7. browser would not display web address and when you open the browser it would display a blank page. also back, forward, and refresh button's where grayed out and could not click hem.
    after checking plugins i was able to get it working with disableing java deployment toolkit.

  • Print extra blank pages & problem receiving faxes

    Hi -- My Photosmart C7280 All-In-One begins most printing jobs by printing out a blank page. Also, if I'm printing multiple pages, many of them will be blank (but the document prints in entirety) It doesn't matter if I'm printing a Word document (which I know has a conflict with HP, and which I also know does not have a blank second page at the end), or an attachment to an e-mail, or information from a web page, or even pritnting an envelope.  In fact, I have to let the envelope roll through blank, wait for the error message that there is no paper in the tray, then shoot it through again before I'll receive a printed envelope. Also, if I'm copying multiple pages I'll receive the extra blank pages, but not if I'm copying pages one at a time.
    Also, I used to be able to receive a fax automatically.  The call would go to my recorded message.  As soon as it ended, the incoming fax was recognized and it would print.  It doesn't do that any more.  I have to manually pick up the receiver of the phone before the machine will begin receiving the fax.
    My HP printer is on a network.  I can't remember if it still worked or not after we placed it on the network.  Also, I recently downloaded IE 8. 
    This has been frustrating me for months, but have not had the time to seek help till now.

    I have the same problem - print a document and a few seconds later a blank page comes out....  Any ideas?

  • Problem with a blank page at the end.

    Hi,
    I have a report. That comes up with a blank page at the end of the report when the report generates the output in the report builder. Also in pdf file.
    It was created by somebody earlier... and i need to fix this bug.
    Any solutions..?
    Thanks in advance.
    KK
    Message was edited by:
    KK28

    Hi
    there are a number of hits on Metalink for this...
    Subject:      Extra Page Shown At The End Of A Web Report
         Doc ID:      Note:172426.1      Type:      PROBLEM
         Last Revision Date:      04-JAN-2005      Status:      ARCHIVED
    * fact: Oracle Reports Developer 6.0.5
    * fact: Solaris Operating System (SPARC)
    * fact: Microsoft Internet Explorer
    * fact: Adobe Acrobat
    * fact: OAS
    * symptom: Extra Page Displayed At The End Of A Report Viewed on the Web
    * symptom: Only happens on one report
    * symptom: Using Times New Roman
    * symptom: Client/Server configuration works successfully
    * change: Report originally created for client/server application was moved to a web application without making any coding changes in the report.
    * cause: Bug 1386820 : HTML GENERATED ON NT AND UNIX IS DIFFERENT. ADDITIONAL BLANK LINES ON UNIX
    fix:
    Use the Report Builder on Unix to make fine adjustments in the layout to
    improve the HTML output.
    -----x------------------
    Subject:      How to set the number of rows per page dynamically in a report
         Doc ID:      Note:122714.1      Type:      SCRIPT
         Last Revision Date:      07-NOV-2000      Status:      PUBLISHED
    PURPOSE
    This article shows how to set the number of rows per page dynamically according
    to the user parameter specified.
    INSTRUCTIONS
    Follow these steps:
    1. In the Object Navigator under Data Model-->User Parameters, create an user
    parameter P_1 -- this parameter specifies the number of rows you want to
    print per page
    datatype: number.
    2. In the Data Model Editor, create the query and the layout according to your
    requirements.
    Let's assume that we have the following:
    Q_1: Select empno, deptno ename from emp
    order by deptno, ename
    G_1 has the columns empno, deptno, ename
    3. In the Data Model Editor, create the following summary columns:
    CS_numrow will be numbering the rows within the detail group
    (created within G_1).
    Set the following parameters:
    Name: CS_numrow
    Function: count
    Source: <any column that does not accept nulls> for instance, empno
    Reset at: Report
    CS_total_rows will calculate the total of rows retrieved
    (created at the report level)
    Set the following parameters:
    Name: CS_total_rows
    Function: count
    Source: <any column that does not accept nulls> for instance, empno
    Reset at: Report
    4. In the Layout Model Editor, create a Group Frame M_1 within the repeating
    frame, below the fields empno, deptno, and ename. You may have to stretch
    the existing frames to be able to fit this in.
    F_enmpno F_deptno F_ename
    --------------------------------------------- <<<< create the group
    frame here
    5. Set the properties for the Group Frame M_1 as follows:
    Print condition: First
    Object: Enclosing Object
    Sizing:
    Vertical: variable
    Horizontal: fixed
    Check the box "Page Break before".
    6. Create a Format trigger for this frame M_1 as follows:
    function M_1FormatTrigger return boolean is
    /* prints until a row number is product of P_1 */
    /* if row number is 5 and P_1 = 5, MOD is 0 */
    /* then it prints the frame, doing a page break */
    begin
    if :CS_total_rows <> :CS_numrow then -- avoiding blank page at the end
    if mod(:CS_numrow,:P_1) = 0 then
    return (TRUE);
    else
    return(false);
    end if;
    else
    return (false);
    end if;
    end;
    NOTE: This assumes that the report is tabular. If you have a break group, this
    logic can be applied for the detail group.
    REFERENCES
    Information in this article was taken from Oracle Sample Code @ Repository
    Entry #956. In order to request the binary (rdf file or .sql script), please
    log a TAR via Metalink requesting Oracle Sample Code #956
    CAUTION
    The sample program in this article is provided for educational purposes only
    and is NOT supported by Oracle Support Services. It has been tested
    internally, however, and works as documented. We do not guarantee that it
    will work for you, so be sure to test it in your environment before relying
    on it.
    -------x-------------
    the list goes on...
    Hope this helps

  • Adf blank page problem

    Hi,
    I am working on an ADF/JSF application using WebLogic server.
    When I run a jsfx page to test, the browser displays a blank page. Even the splash screen is not shown and i get no error.
    Do you have any solutions?

    John,
    Refresh button doesn't work. It gives the following error:
    Error 403--Forbidden
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    +10.4.4 403 Forbidden+
    The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.
    But when a blank page appears i can see the source of the page (from the browsers menu -> page source). But the problem is the source code of the page is the same as the code i developed in 11g. The scenario is the following;
    1) Run 'home.jspx'
    2) The blank page occurs in the browser
    3) When i right click the browser and select "view page source" it gives the following:
    +<f:view><af:document id="d1"><af:form id="f1"><af:pageTemplate viewId="/mainTemplate.jspx" id="pt1"><f:facet name="center"><af:commandButton text="commandButton 1" id="cb1"/></f:facet></af:pageTemplate></af:form></af:document></f:view>+
    which is exactly the same with the source code that i developed in JDeveloper.
    4) When i click the refresh button it gives the above error.
    But on a page that works fine, when i view the source of the page it gives the following:
    +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">+
    +<html class="p_AFMaximized" dir="ltr" lang="tr"><head><link rel="stylesheet" charset="UTF-8" type="text/css" href="/SemovieWeb-ViewController-context-root/adf/styles/cache/fusion-desktop-ua1gw8-ltr-gecko-1.9.2.13-cmp.css"></head><body class="x11f p_AFMaximized"><noscript>Bu sayfa JavaScript kullan&#305;r ve JavaScript etkin bir g&ouml;zat&#305;c&#305; gerektirir.G&ouml;zat&#305;c&#305;n&#305;zda JavaScript etkin de&#287;il.</noscript><div id="afr::Splash" class="x16g"><div class="x16h"><span class="x16i"><img src="/SemovieWeb-ViewController-context-root/afr/ss.gif"+
    So i think there is something going wrong when the source code of the page is converted into an html page. But why?

  • I am using 3.6.13 and ever since I have had a problem with opening a submenu within that site. A blank page always pops up. Please help.

    I have used American Greetings website for a long time and also a capability within that site called Suggested Messages. Now it won't open and a blank page from Mozilla pops up. Ihad no problem like this before. Very frustrating.

    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

Maybe you are looking for