Page header location problem

Hello,
I'm a website application developer and I had a complaint from one of our customers that he was having a problem and when I tested it out I noticed that in Safari that when we use this code here to send a user with missing info in our db to the page to enter the missing details, it starts an endless loop..
header("Location: ?s=mod_user&i=1&note=wb");
this is using PHP btw, but what happens is, it keeps appending "?s=mod_user&i=1&note=wb" over nad over and over till Safari dies.. Strange thing is, that we dont have this problem with any other browsers and if we add a prepending / it fixes the problem, seems the browser has issues with urls that are relative and not absolute. Just figured I'd point this out so you can fix it in the next release.. btw, nice looking browser, I'm an IE power user myself but I'd most certainly use this browser, its clean and fast
- Cecil

Thanks for the reply Shwu. I checked and that is not the problem.
I am in process of resolving this.
Regards,
Kanu
Edited by: Kanupathak on Mar 9, 2012 4:14 PM

Similar Messages

  • Page header length problem

    I have created page header like this:
    but not displaying material as header in my out put
    please correct if anything wrong.
    IF NOT s_matnr IS INITIAL.
        CLEAR: l_line,S_dup.
        l_line-typ  = 'S'.
        l_line-key = 'Material'.
        s_dup+4(22) = s_matnr-low.
        IF NOT s_matnr-high IS INITIAL.
          s_dup+21(23) = 'To'.
       ENDIF.
        s_dup+24(70) = s_matnr-high.
        WRITE : s_dup TO l_line-info.
        APPEND l_line-info TO lt_top_of_page.
      ENDIF.

    Hi Sapien ,
    IF NOT s_matnr-low  IS INITIAL.
    CLEAR: l_line,S_dup.
    l_line-typ = 'S'.
    l_line-key = 'Material'.
    s_dup+4(22) = s_matnr-low.
    Endif.
    IF NOT s_matnr-high IS INITIAL.
    s_dup+27(2) = 'To'.
    s_dup+51(70) = s_matnr-high.
    Endif.
    Append s_dup.
    l_line[ ]  = s_dup [ ].
    lt_top_of_page[ ] = l_line[ ].
    see if l_line and s_dup and lt_top_of_page are having the same structure .
    Then this will do.
    just in debugging check how the data is moving from s_dup  to tp-of -page .
    Important.
    remember that the structures should be the same when u r moving the contents
    Regards,
    VIjay.

  • Having problem with header(location)

    I want to have a visitor to a site agree to some terms before being allowed to access a page.  There is no logon so the approval is only for the current session.
    If we call the page with the terms (and the agree button) "portal.php" and the page with the data "gallery.php", the logic is the user goes to gallery.php where there is a check to see if the visitor agreed to the terms.  If not, their redirected to portal.php to do so.
    The code on gallery.php is:
    <?php
    session_start(); 
    if (!isset($_SESSION["agree"]))
        header( 'location: http://localhost/myweb/portal.php' );  Using a local test server
    ?>
    If the Session variable "agree" has not been set, the user is redirected.
    The code on portal.php is:
    <?php
        if ($_POST)
            $_SESSION["agree"] = "Yes";
            header( 'location: http://localhost/myweb/gallery.php'' );
    ?>
    If the code is coming from the "I Agree" button, the Session "agree" variable is set to "Yes" and the visitor directed back to the gallery.php page.
    When I go to the gallery.php page, I get the message that the page isn't redirecting properly.
    The php code on both pages occurs before the DOCTYPE or any other html.
    Any ideas?

    Gallery sends to portal and the I Agree in portal appears to send back to gallery (shows in url display) but nothing is displayed.
    Is this the code on your gallery page?
    <body>
    <h1>XXXXX</h1>
    </body>
    </html>
    If you have in fact gone back to the gallery page, you should certainly see that.
    I should have mentioned that the test php files (...gallery_murray and ...portal_murray) appear to work fine.  What I did next was to copy the php from those two files to copies of the production versions (with appropriate changes to the header file names).  Those new test php files are ...gallery_header and ...portal_header.
    http://www.myspatialhome.org/ATL_counter_gallery_header.php
    Gallery gets to portal and I Agree gets to gallery but nothing is displayed.  Looking at the source there's nothing generated.  I'm assuming this is not a problem with the header php you helped with but something happening later in the gallery php file.
    This is the gallery code down to the doctype.  Minus the php at the beginning that does the header (like in the gallery_murray file), the code works.
    <?php
    if (!isset($_SESSION)) session_start();
    ?>
    <?php
    if (!isset($_SESSION["agree"]))
    { header( "Location: http://www.myspatialhome.org/ATL_counter_portal_header.php" );
    exit();
    ?>
    <?php
    require_once('Connections/atlas.php');  // NOTE: Also may require change in href for detail
        if (!function_exists("GetSQLValueString"))
            function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
                if (PHP_VERSION < 6)
                    $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;
    $currentPage = $_SERVER["PHP_SELF"];  // Get the current URL for hrefs
    // New group code
    mysql_select_db($database_atlas, $atlas);
    $groups = mysql_query("SELECT * FROM tblMapGroups ORDER BY DispSeq ASC");  // Get the group records
    $row_groups = mysql_fetch_assoc($groups);
        if (!$_GET)
            $selectGroup = $row_groups['MapGroupID'];  // First time through; set initial default group
        else $selectGroup = $_GET['groupselect'];  // Otherwise use GET to retrieve the submit button chosen
    mysql_data_seek($groups, 0);  // Reset to first record for Form loop
    // End new group code
    // Select map records
    $query_maps1 = "SELECT * FROM tblMaps";
    $query_maps2 = "ORDER BY tblMaps.MapGroup, tblMaps.Area, tblMaps.Community, tblMaps.DispSeq ";
    $query_maps = sprintf("%s WHERE MapGroup ='%s' %s", $query_maps1, $selectGroup, $query_maps2);
    $maps = mysql_query($query_maps, $atlas) or die(mysql_error());
    $row_maps = mysql_fetch_assoc($maps);
    ?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

  • Problem with Page header width when column is hidded

    Hi All,
    am using SSRS-2008 R2 version.
    i had an issue width Page header width when am hiding column. Please find the below screen shoot for reference.
    Here , there is an audit parameter which contains a and b values respectively.
    If Audit= a then i need to hide the State and City column . So, for that i have written following expression[ =Parameters!Audit.Label="a" ] and its working fine.
    But, if see the screen shoot when columns are hiding then some space is coming in that column which is deviating from Page header width.
    Is there any option to increase the remaining column width when these 2 columns are hidden or is there any way to reduce the page header width according to report columns width. Can you please guide me any one.
    Thanks in advance.
    bala krishna

    Hi bala,
    According to your description, you have a report with a textbox in its page header. You have set some column visibility in tablix based on the parameter selection. Your problem is, when you hide columns, the textbox remains top right in the page header.
    Now you want to make it aligned with the tablix. Right?
    In Reporting Service, we can’t reduce the page header width or increase those remaining columns width based on the parameter selection (or columns visibility). And we can’t keep the tablix always top right because we only have top and left to determine the
    location of a tablix/textbox. For your requirement, it doesn’t have a complete solution to achieve either of your two options. However, we find a workaround for you. In this scenario, we can use two textboxes in page header. Put one in top right. Put the other
    textbox at an appropriate position when columns are hidden. Then put conditional expression into textbox for text displaying based on parameter selection.
    Ps: We don’t set the visibility of textbox because the space of textbox will be removed if it’s hidden, that may make one textbox float moving when the other is hidden.
    We have tested this case with sample data in our local environment. Here are steps and screenshots for you reference:
    1. In our sample report, we set Amt1 column hidden when selecting “a” in parameter. Put expression into textbox.
    A: =IIF(Parameters!ReportParameter1.Value="a","header info","")
    B: =IIF(Parameters!ReportParameter1.Value="b","header info","")
    2. Save and preview. It looks like below:
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
      

  • RESTORE - Kernel   Bad page - header and trailer not matching

    Hello,
    I have a Problem with the recover of my backup.
    When i want to make a restore of the Database this error is shown in Logfile KNLDIAGERR
    2008-11-26 21:20:38                               --- Starting GMT 2008-11-26 20:20:38           7.5.0    Build 032-123-111-699
    2008-11-26 21:26:57      0xE0C ERR 20005 Kernel   Bad page - header and trailer not matching
    2008-11-26 21:26:57      0xE0C ERR 20006 Kernel   Header [ 5277032 - data - tab - checksumData - empty ]
    2008-11-26 21:26:57      0xE0C ERR 20007 Kernel   Trailer[ 0 - data - nil - chckNil - empty ]
    2008-11-26 21:26:57      0xE0C ERR 52015 RESTORE  write/check count mismatch 5277032
    2008-11-26 21:26:57      0xDFC ERR 52012 RESTORE  error occured, basis_err 300
    2008-11-26 21:26:57      0xDFC ERR 51080 SYSERROR -9026 BD Bad datapage
    any Help ?
    thanks a lot
    Steven

    Hi Steven,
    the database kernel checks with every read the header trailer. If it got a mismatch during read the error message you got is logged.
    The same checkes will be executed when you create a backup. You told us that the backup could be executed without any errors and that the system where you created the backup is ok as well -> you executed a Check data?
    Now everything looks like the error is in the backup and happened during writies to the external backup medium. Or the backup is ok and then the error happens during read from the external medium.
    To get closer to the reason where the problem is located I need to have some more information.
    1. You did the restore several times?
    2. Did the bad Data Page shappens always on the same page -> Check knldiag.err
    3. Did you do your backup on tape?
    4. Did you try to create a backup into a file?
    5. Does the restore from file got the error as well?
    Regards, Christiane Hienger

  • Where is the printer head located on the MP600?

    Where is the printer head located on the Canon MP600 and how do I remove it?  I have had my printer for over 7 years with absolutely no problems!  Then, yesterday, after I replaced an ink cartridge, it would not print at all -- keep getting the message "Wrong Printer Head - Replace Printer Head" - I removed all the cartridges and re-inserted them, but that did no good.  One suggestion I found on-line said to remove the printer head and re-install it -- Where is it located???

    Hi mjomeara,
    To reseat the print head in the unit, please follow the steps located here.  Once the print head is reseated, please turn off the printer, unplug the power cord and leave it out for at least 10 minutes, then plug it back in and turn the printer back on.  If you still receive the print head error, the printer will require servicing.  Please call or email us using one of the methods on the Contact Us page for further assistance.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • Pages 5.5.1: When opening a document created with Pages '09 (Version 4.0) with Pages 5.5.1 the page header and the page footer are deleted. How can this be prevented? Or is this a bug in Pages 5.5.1?

    Pages 5.5.1: When opening a document created with Pages '09 (Version 4.0) with Pages 5.5.1 the page header and the page footer are deleted. How can this be prevented? Or is this a bug in Pages 5.5.1?

    Same problem here (no graphics in header or footer) and the problem has been reported months ago. It is another bug/feature lost when Apple moves from 09 to the iCloud-compatible versions.  Complain to Apple, you may have better chance than me and they may finally listen to their users....

  • Crystal Report - Subreport embedded without Page Heading

    Hi, Crystal Report expert,
    I am now working on 2 sub reports On-demand bringing into the crystal report;
    but the page heading for two reports both were changed as Report Heading, and then the 2nd page more will not be displayed with heading.
    Someone can please help me solving the problem?
    Thanks in advance.
    Best regards,
    Michelle for Allen

    Please post your query to Crystal Reports Design forum:
    SAP Crystal Reports
    If it is related to ".NET Development - Crystal Reports" the post to this forum:
    SAP Crystal Reports, version for Visual Studio
    Hope you will find answer for you query on those forums.
    Good Luck.
    Regards
    Satish

  • SSRS 2012: Report Header PrintOnFirstPage-problem after report migration from SSRS 2008

    Hi ,
    I developed my report using VS 2008 IDE and the report header property "PrintOnFirstPage" is set to False.
    The content of the header are some textboxes and lines that should show only on page number > 1.
    This works fine in VS 2008 IDE in preview mode as well as with reports rendered by SSRS 2008 report server.
    Recently I migrate&convert the same report to SSRS 2012 I noticed a different rendering behaviour of my report.
    So in VS 2010 preview mode, the page headers content (textboxe etc.)  is not visible on first page but the headers space did not colapse as it does in VS 2008 IDE preview mode.
    I checked all the report properties but unable to find a solution to my problem.
    I was able to reprduce the same behaviour by creating a new report using VS2010 IDE.
    Any ideas are greatly appreciated
    Thanks
    Bodo

    Hi BodoHH,
    I have tested on my local enviorment and can't reproduce the issue, the issue can be caused by many factors, it can be caused by the properties setting and can also caused by the visual studio, Detais information below for your reference:
    As you mentioned that you have check all the report properties, please also check the tablix,Page Header,report body properties to see if the size are the same with that in the SSRS2008.
    Please open this rdl report in the report builder to see if the print layout is correct, if it works fine, the issue can be caused by the visual studio.
    Please also try to upload the rdl report to report manager to check the layout.
    Please also provide the snaphot of the layout in VS2010 to let us better analysis about the issue.
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    If you have any feedback on our support, please click
    here.
    Vicky Liu
    TechNet Community Support

  • Error message "Page header or footer longer than a page"

    Hi
    Our application call crystal report to generate/display crystal report in PDF format. We have a dev system to test this, all looking good, however when we moved to production server, the attached error message is displayed when running crystal report. 
    Invoking method GENERATEREPORT returned error Page Header plus Page Footer is too large for the page.
    Error in File C:\DOCUME~1\SERV
    IC1.LIM\LOCALS1\Temp\temp coq new xxxx.rpt:
    Page header or footer longer than a page.
    Same report doesnu2019t get this error message if running it from crystal report developer. 
    Not all crystal reports got this error, but some of reports display strange view in PDF, the content of report are reduced in a paper size like label size, not A4 size.  I have checked the default printer on the server, it points to a normal window printer, not a label printer. I have checked all possible settings on production server and compared with dev server, all looks same to me
    I suspect the label printing size is used somehow when the report is previewed in pdf format, not normal A4 size although I have selected a normal window printer as a default printer on the window,what else should i check?
    Could you please shed some light on this?
    Thanks!
    Li

    I found the issue is from label printer that is setup on the production server. After I removed the label printer from the server, then error message is gone, all report running fine.
    This label printer is not the default window printer, it is a network printer but is configured as a printer using local port on the server.
    I think for some reasons, crystal report alway picks up the label printer page size, not the normla page size, I am not sure why and how crystal report do this, it should pick up the default printer, which is a normal printer.
    There is no error when I run report within CR. The error happens only when I try to generate crystal report from our application.
    I do have logo in page header/footer, subreports in report footer, but I don't think they cause the problem, because I can run same report without any problem in dev system.
    Any idea what I should check next?
    Thanks

  • Can't access a website I use every day...the server where this page is located isn't responding :-(

    Hi, I am trying to access the website bloglovin.com which I access everyday (as part of my job) with no problems, however, the last 2 days I have not been able to get on to the site. After waiting for ages for it to load I eventually get the message ' the server where this page is located isn't responding'. I've tried to access from both my macs and my iphone and I get the same message on all of them. Is this a problem with my mac or their server?

    Thanks for your reply. I did infact get it working earlier today by putting the IP address into the browser instead of the URL and it solved the problem, however, I now have the same problem again tonight. I've tried restarting the router and it hasn't made any difference. Putting in th IP address isn't working this time either!

  • Could not able to show a scalar value in Page Header/Group Header of the re

    Hi,
    I could not able to show a scalar value in Page Header/Group Header of the report which is returned from Sub-report. But I am able to display it in both Group Footer and Page Footer.
    I used shared variable in formula filed of both main and sub report and both are placed in the main and sub-report.
    Please do needful.
    Thanks & Regards,
    Mani G.S.

    You can only show Shared variables in main report in a location after the subreport has executed.
    If you want to show values in page header or group header you must place subreport in a section above these. This is unlikely to be possible so you will have to live with displaying results in Group/page footer.
    Alternatively you can execute subreport twice, once where subreport is hidden in a section above page/group header and pass summary figure you require and then again where you currently have subreport so you can see details as required.
    Ian

  • How to suppress page header when rendering particular group footer

    Description:  I am using Crystal Reports 2008.  I have a report with a page header, and several groupings.  The groups all suppress their headers, but have footers.  The grouping is in the order:  type,county,city,status,parent.  The first 3 footers force a new page before the footer.  The county footer includes summaries and charts.
    Problem:  The client wants the header displayed for the detail and the header for the county footer to be different.  How can I make this happen?
    More Info:  I currently have just a page header.  I have tried messing with the suppress formula for the page header, but I cannot figure out the correct formula to use to suppress the page header on a county footer page.  Is there a way to do this, or is there a completely different approach I should be taking to solve this? 
    I can provide more info if needed.
    Google search was unhelpful in solving this problem.  This problem is driving me nuts.  Any help appreciated.
    Thanks,
    Michael

    What i would suggest is to create a new variable in WhilePrintingRecords evaluation time. For example:
    1. Boolean variable set to TRUE in Group Footer #2 (County)
    2. Reset it to FALSE in Group Header #2 and Group Footer#1
    3. Use the variable for conditional suppression

  • Ampersand in pdf page header

    Hello,
    i have a problem with printing pdf reports in Apex 3.0.1 on OracleXE (using Apache Cocoon and Tomcat like in Carls example).
    When i try to include an items value using the &ITEM_NAME. syntax it doesn't work if the value of the item contains an ampersand. I tried writing the ampersand as &amp;amp; but it still breaks the pdf.
    Is there another way to include an ampersand in the page header of a pdf or maybe its a bug that has been fixed in a later version of apex?
    Thanks for help in advance,
    Dirk

    Hi,
    Maye the following work around
    '&' can be replaced with '%26amp;'
    Kind regards,
    Iloon

  • How to control X-UA-Compatible  tag  in page head section?

    Hello !
    We are developing WebCenter Portal applications using JDeveloper 11.1.1.5.
    All our pages are based on ADF.
    Currently, we have 2 similar projects (actually – they are two different branches of same source project).
    But the have one unexpected difference - when I check html-code of generated pages in one project I see
    <!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="ru"><head><meta http-equiv="X-UA-Compatible" content="*IE=8.0*"><link rel="stylesheet" charset="UTF-8" type="text/css" href="/portal/adf/styles/cache/portal-desktop-3kotcg-ltr-ie-8.0.css"> ...
    And in another:
    <!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="ru"><head><meta http-equiv="X-UA-Compatible" content="*IE=7.0*"><link rel="stylesheet" charset="UTF-8" type="text/css" href="/portal/adf/styles/cache/portal-desktop-dkw9cq-ltr-ie-7.0.css">
    We have no ideas why one generate content="IE=7.0" and another content="IE=8.0".
    We compared all possible configuration files, but have not find any difference.
    I've googled, but found only post by Frank Nimphius that is applicable to 11.1.1.4. As far as I understand in that version ADF didn't put meta http-equiv="X-UA-Compatible" in page head section.
    The problem is that our pages looks awfully in IE7. And we don’t have to provide IE7 compatibility.
    So, my question is - why one project generate content="IE=7.0" and another – 8.0 and how to control it?
    Thank you in advance,
    Boris

    Just to prove this...
    IE8 running in INcompatibility mode, User-Agent string from the outbound header (e.g. sniffed using Fiddler):
    .......request.......
    User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    ......response.......
    <!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="en"><head><meta http-equiv="X-UA-Compatible" content="IE=8.0">
    And the same IE8 running in normal mode:
    .......request.......
    User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    .......response.......
    <!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="en"><head><meta http-equiv="X-UA-Compatible" content="IE=7.0">

Maybe you are looking for

  • Need solution for removing Bold format in HR payslip

    Dear all, The HR pay slip is developed using pE51 & thailand country version. I am calling a standard program HTHCEDT0.   The bold is being printed from the standard program HTHCEDT0 . Iam using remuneration statement program HTHCEDT0 to print. Which

  • TCS2/RH 8 HTML PDF List Indent Problems

    Hi, We are in the process of converting a; number of projects from RH X5 HTML to RH 8 HTML (installed as p/o TCS2). We use Windows XP and Word 2002. Things have gone 'reasonably' well, but we are having problems getting to the desired point with PDFs

  • Cluster Database Connect Works Only in stand-alone OEM

    When I connect to OEM standalone, I can connect to the cluster database with no problem. When I try to connect with the management server, it gives me the ORA-12514 error. The service name works both in SQLplus and in stand-alone mode. My console is

  • How do I get my iPad to print to a wireless printer

    How do I get my iPad to be able to print to my brothers DL-2270DW

  • XMII Content

    Hi, I am very new in xMII area and trying to setup the system from the dashboard side. We have installed the xMII system successfully. I wanted to know if there is any preconfigured package / application  ( Like SAP PI/XI - we get content for SCM ) w