Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
pnRedirect to blank page only if one of passed vars contains a newline?
  • Posted: 11.01.2007, 20:49
     
    nate_02631
    rank:
    Professional Professional
    registered:
     September 2003
    Status:
    offline
    last visit:
    11.04.08
    Posts:
    3055
    I have an odd problem and have browsed some of the threads dealing with blank pages...

    I only get a Blank Page if one of the variables passed to pnRender contains a newline character (i.e. if input in a textarea in a form)..

    I checked to see if I'm doing any output before the "return pnRender..." function is called and the headers_sent function seems ot indicate I'm not sending any headers and I have PHP configed to display errors...

    It's a mystery - I have functions in the admin side which pass vars with newlines with no problems - just on the user end I'm having problems...

    Anyone run into something similar?

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...
  • Posted: 12.01.2007, 11:42
     
    Topiatic
    rank:
    Professional Professional
    registered:
     November 2003
    Status:
    online
    Posts:
    1678
    Just a thought is 'Administration>System>Setting>Enable Safehtml sanitation for output' set?

    --
    Under Construction!
  • Posted: 12.01.2007, 17:09
     
    nate_02631
    rank:
    Professional Professional
    registered:
     September 2003
    Status:
    offline
    last visit:
    11.04.08
    Posts:
    3055
    Hi - yes that is set to true - should it not be?

    I don't seem to have the same issues on the admin side (there are entry forms with linebreaks as well)

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula