Any way to enable "display_errors" (PHP) on a page-by-page basis?

I have just discovered that my host sets 'display_errors' OFF
by default. I
have asked them not to do this, but in the meantime, is there
any way I can
enable this on the specific page?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================

Thanks, David.
I'll have to adjust my thinking! 8(
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"David Powers" <[email protected]> wrote in message
news:fk8mov$283$[email protected]..
> Murray *ACE* wrote:
>> I have just discovered that my host sets
'display_errors' OFF by default.
>> I have asked them not to do this, but in the
meantime, is there any way I
>> can enable this on the specific page?
>
> A live production site should never have display_errors
turned on. It
> gives malicious attackers valuable information about
your server
> structure.
>
> It's very easy to turn on the display of errors to debug
a particular
> script. Just add this at the very top of the page:
>
> <?php ini_set('display_errors', '1'); ?>
>
> It must come before anything else.
>
> --
> David Powers, Adobe Community Expert
> Author, "The Essential Guide to Dreamweaver CS3"
(friends of ED)
> Author, "PHP Solutions" (friends of ED)
>
http://foundationphp.com/

Similar Messages

  • Is there any way to enable "list view" in Yosemite's Calendar app (like you could in previous versions)?

    In pervious version of OS X, the Calendar app showed a "list view" while in the "day" view. Here's an example. Any way to enable this or did Apple kill this helpful feature?

    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback

  • IMac has few display options, any way to enable more?

    This is my uncle's iMac () and there are a lack of options for resolution. He's running @ 1920x1200 but the next level down is 1344x840. Is there any way to enable more resolutions between those 2, as it seems like a fairly big drop in resolution settings.
    Thank you.

    Since the hardware acceleration checkbox was created, a second kind of acceleration was added to Firefox that may need to be disabled in about:config; the checkbox has not been extended to toggle both of them for you.
    Regular preference (checkbox): gfx.direct2d.disabled (default=false)<br>
    Added preference (no checkbox): gfx.content.azure.enabled (default=true)
    More info on the new preference in this thread: https://support.mozilla.org/questions/957459
    If you haven't used about:config before, here's how:
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the filter box, type or paste '''gfx''' and pause while the list is filtered
    (3) Double-click '''gfx.content.azure.enabled''' to toggle its value from true to false. As with the regular hardware acceleration preference, you might need to restart Firefox before this takes effect.

  • Left audio track disabled in premiere when importing to Audition... Any way to enable?

    I'd ask in the Audition forum but I cnanot post there for some reason.
    Anyway, I sent a range of clips from my work area to Audition. Made some edits on some clips and realized that I left a track disabled in premiere when I sent them to Audition. is there any way to enable this track now in Audition or am I going to have to scrap whatever I did so far and start a new import with that track enabled?

    Source Patching http://forums.adobe.com/thread/1442800?tstart=0
    -and a FAQ https://forums.adobe.com/message/6725752

  • Is there any way to enable eventlog replication between two nodes in windows 2008 failover cluster.

    Is there any way to enable eventlog replication between two nodes in windows 2008 failover cluster.
    Thanks Azam When you see answers please Mark as Answer if Helpful..vote as helpful.

    Hi,
    As far as I know there don’t have the log replica function between failover cluster node, if you want to have the Unified log management you can refer the following related
    KB:
    Configure Computers to Forward and Collect Events
    http://technet.microsoft.com/en-us/library/cc748890.aspx
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Qosmio G20: Is there any way to enable FM radio?

    Is there any way to enable FM radio reception on Qosmio G20. Any hardware upgrade or accessories?

    You would need to attach some sort external fm tuner. Some usb tv cards have fm radio as well, so you might consider this if you want an additional tuner.
    I use a Haupauge WinTV USB2, which also has an fm tuner. If you want to use this with Media Centre there are specific drivers on the Hauppauge site that set this up a second tv tuner within Media Centre, and also give you fm radio in MC.
    Alternatively if you use the drivers that come with it you can use as a stand alone tv tuner and fm radio player.

  • Is there any way to enable editing when embedded in a browser?

    When I embed Acrobat Pro in the browser it seems to run in a limited mode that prevents most document editing.  It works fine when I access the document directly.
    Is there any way I can enable full editing in Acrobat pro when it is browser-embedded?
    Here's how it looks normally (excuse my choice of pdf)
    When embedded it loses its menus, it loses the Tools link in the top right, and most items in the Comment functions.
    It doubtless looses a lot more too.
    My preference would be to have a simple (browser-side) call I could make to re-enable all these functions.
    Note, I cannot add javascript to the pdfs.  I can only act in the browser.
    I'm starting to suspect I'll have to write a plugin, but I'd really rather avoid doing that if I can.  It's been years since I've had to seriously develop in C++, and one glance at it reminds me the headache it can be.
    For reference, browser embedded is key to my architecture, as the document will be being presented with a lot of ancillary information around it, and will need to save to a web-site, not to locally.
    (If anyone has any experience with writing a save-back-to-a-website script I'd love to know how that can be done too.)

    The plug-in has a limited number of features from the full product that are appropriate for web browsing, that is, viewing, filling in, printing,  and submitting data to a scripted web page. Since the vast majority of users cannot save the downloaded file back to the Web server this feature was not included because one is "browsing" not creating nor editing.
    Now if one is using a special web server like Microsoft's SahrePoint server it is possible to integrate the full Acrobat product to check out, lock form editing by others, for editing and then saving back to the SharePoint server and remove the lock. The reason for locking the file being edited is to prevent conflicts in the edited versions, sort of like locking Word or Excel files on a network server.
    You might want to consider all the issues involved in editing networked files which could be changed by multiple users at any time and the needs of the users to have some control over the changes.
    Do not over think this. You are using a "Browser" which only browses.

  • Is there any way to enable SSH via Terminal in the OSX Installer utility list?

    Hi guys, I've messed up my install a little on my internal HDD.. I can't boot into OSX as I keep getting kernel panics on boot. I was just wondering if there's any way I can SSH into my Mac Pro via the Terminal on the OSX Installer Utilities list.. I have a Macbook Pro to SSH from but I need a way to enable SSH via that Terminal "-bash-3.2#"..
    I've tried to use the systemsetup -setremotelogin on command but I know SSH requires login keys and as I have no idea what can be used as those keys for the OSX Installer version of Terminal I have no idea how I can enable SSH..
    Tried some sudo commands but as I guess it runs at a completely different level to sudo it won't actually recognise the sudo command..
    Any help would be greatly appreciated guys, if you need me to post any info or results to help then just let me know.
    Thanks alot
    Chris

    If your Mac cannot boot to the OS X installation then you will not be able to set up the SSH (Remote Login) sharing service. The OS X installer does not support any of the system's sharing services. Technically it does have the sshd daemon (server process) that you can set up to accept a connection; however, this will not give you any additional benefit.
    The only reason to SSH into the system would be to get to the Terminal command prompt anyway, which is available when you boot to the Recovery HD partition and choose Terminal from the Utilities menu. If you were to set up SSH and log in, you would still only have the functionality provided by the Terminal in the Utilities menu, and not have access to your Mac's full OS installation.

  • Any way to enable the hand tool when not zoomed in?

    I am always using the hand tool (space) to pan around the canvas while I'm working, but it really bothers me that you can only use it when zoomed in. It assumes that when the canvas fits on the screen you don't need it, but I still have all the tool palettes overlapping the image. I don't like having to press tab to see behind them and it would be much more convenient if it didn't disable the hand tool. Is there any way to fix this? I'm using CS5.
    Cheers.

    Hello!
    If you press F to be in one of the full screen modes, you should be able to pan around with the hand tool.
    Pierre-Etienne

  • HT3554 Is there any way to enable my iMac to use an external mic after I have found that it is not compatible? Via some kind of device or upgrade?

    I'm trying to use my Apple headphones a mic on GarageBand. After about an hour of researching, I've found that my iMac (Mid 2007) is not compatible with an external audio input/microphone. Is there any way I can make it so I CAN do this, maybe by installing some kind of software or doing an update or something? I'm a song recorder on a budget so these headphones are all I got for a mic. PLEASE HELP!!!!

    AckFun wrote:
    Ok so should I buy a USB mic then?
    Check out the mics at Apple's Online store by clicking the store tab at the top of this website. 

  • Is there any way to enable grapher to play .mov movies in Mavericks?

    in mountain lion, i could play .mov movies in grapher and it was really useful because it was lightweight and i could have multiple videos open at once. since installing mavericks, grapher no longer plays .mov files. is there any way to fix this?

    Hi,
    As far as I know there don’t have the log replica function between failover cluster node, if you want to have the Unified log management you can refer the following related
    KB:
    Configure Computers to Forward and Collect Events
    http://technet.microsoft.com/en-us/library/cc748890.aspx
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Any way to turn off errors when updating pages from the template?

    I'm using Dreamweaver MX. My site is huge. It's an intranet
    spanning dozens of departments. Some of those departments have
    subsites that don't fall under the intranet's control, although
    they are embedded within our site's folder structure. When I make a
    change to the template and update pages, every time I hit one of
    those subsites I get tons of errors, from "template not found" to
    "unmatched body tag". The errors that pop up each have to be
    clicked on before the updating can continue. I get hundreds of
    these.
    Is there any way to make errors not pop up while updating
    pages from the template? Or even to exclude certain folders from
    being checked? (Cloaking doesn't do it.)

    > I'm using Dreamweaver MX. My site is huge.
    Both of these are problems, I'm afraid. Combining that with
    templates is
    really trouble.
    > "unmatched body tag".
    Errors such as this are definitely caused by errors in your
    page itself.
    Can you show me a page where you would get this?
    > Is there any way to make errors not pop up while
    updating pages from the
    > template? Or even to exclude certain folders from being
    checked? (Cloaking
    > doesn't do it.)
    Valid code will not produce these errors. Unfortunately, the
    only way to
    avoid them is to remove any validation hiccups from your
    pages.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "abna" <[email protected]> wrote in message
    news:f14ue2$pk5$[email protected]..
    > I'm using Dreamweaver MX. My site is huge. It's an
    intranet spanning
    > dozens of
    > departments. Some of those departments have subsites
    that don't fall under
    > the
    > intranet's control, although they are embedded within
    our site's folder
    > structure. When I make a change to the template and
    update pages, every
    > time I
    > hit one of those subsites I get tons of errors, from
    "template not found"
    > to
    > "unmatched body tag". The errors that pop up each have
    to be clicked on
    > before
    > the updating can continue. I get hundreds of these.
    >
    > Is there any way to make errors not pop up while
    updating pages from the
    > template? Or even to exclude certain folders from being
    checked? (Cloaking
    > doesn't do it.)
    >

  • Is there any way to select all italicised text in Pages?

    I've got a long document in Pages (about 30 pages so far) and I'm looking for a way to select all the italicised text at once, so that I could change its colour.
    Is there any way to do this?
    Cheers

    Only if you have used a character style to italicise the words. If you have that you can change one of the word to a chosen colour and all words with that style will get the new colour

  • Adjusting a URL and reloading causes it to go to Google - any way to just let it reload the page?

    I was testing some calls to a Solr index with different URL query parameters. But each time I adjust a parameter and reload the page, instead of making the call again I'm dropped into Google search.
    However, if I (tediously) manually edit the URL to specifically add back in "http://" at the beginning of the line I can reload the page.
    This doesn't happen in Safari or Chrome. It seems to be a problem unique to FireFox.
    It makes testing cumbersome and I was wondering if there was a solution for this.
    Thanks,
    doug

    Could you describe how you are making the calls? For example, are you setting window.location.href, using window.open(), etc.? Submitting a form?
    One reason for getting a search could be a space in the URL. Is there any way to avoid spaces in the URL, or can you confirm that they are being properly encoded to %20?
    Do you want to try disabling address bar search (keyword search) as a workaround? https://support.mozilla.org/en-US/kb/search-web-address-bar#w_turning-off-the-internet-keyword-search

  • Any way to add fonts to Keynote or Pages on the iPad?

    Are we stuck with the limited fonts in the apps or can more be added? Can't find any info on that. Imported a Keynote file from my Mac and it changed the font, made it look quite different.
    Anyone know anything about this yet?
    Thanks.

    I haven't heard of any way to add fonts to iWork for iPad, and the article Keynote for iPad: Frequently Asked Questions (FAQ) (What do I need to know about fonts?) confirms what you are seeing. It doesn't mention how to add fonts.
    ivan.

Maybe you are looking for