Re: question about corrupt db?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



To view the logs in IIS you must go to the root web site in the IIS
Snap in, virtual folders, folders and applications don't have a
separate log file. In the left panel in the snap in, right click in
the site, probably default web site, click on properties, look for a
tab called 'Web Site', in the bottom of the tab look for a checkbox
labeled "Enable Logs", mark it to enable logs, Click the properties
button and select the folder to store logs. Fallow the same path to
see where the logs are stored.

Hope it helps.

Uaca

2008/12/2 Ashley Sheridan <ash@xxxxxxxxxxxxxxxxxxxx>:
> On Tue, 2008-12-02 at 01:14 +0000, Nathan Rixham wrote:
>> Ashley Sheridan wrote:
>> > On Mon, 2008-12-01 at 16:29 -0600, Terion Miller wrote:
>> >>
>> >> On Mon, Dec 1, 2008 at 4:20 PM, Ashley Sheridan
>> >> <ash@xxxxxxxxxxxxxxxxxxxx> wrote:
>> >>
>> >>         On Mon, 2008-12-01 at 15:53 -0600, Terion Miller wrote:
>> >>         > On Mon, Dec 1, 2008 at 3:40 PM, Wolf <lonewolf@xxxxxxxxx>
>> >>         wrote:
>> >>         >
>> >>         > >
>> >>         > >
>> >>         > > -----Original Message-----
>> >>         > > From: Terion Miller <webdev.terion@xxxxxxxxx>
>> >>         > > Sent: Monday, December 01, 2008 4:23 PM
>> >>         > > To: Micah Gersten <micah@xxxxxxxxxxx>
>> >>         > > Cc: PHP General <php-general@xxxxxxxxxxxxx>
>> >>         > > Subject: Re:  question about corrupt db?
>> >>         > >
>> >>         > > On Mon, Dec 1, 2008 at 3:12 PM, Micah Gersten
>> >>         <micah@xxxxxxxxxxx> wrote:
>> >>         > >
>> >>         > > > Terion Miller wrote:
>> >>         > > > > could a corrupt db make php pages stop functioning?
>> >>         > > > > My pages no longer go anywhere, I went back found the
>> >>         original scripts
>> >>         > > > and
>> >>         > > > > still it didn't fix the problem (thought I had messed
>> >>         the code up) so
>> >>         > > it
>> >>         > > > has
>> >>         > > > > to be something external of the code its doing this
>> >>         locally on my box
>> >>         > > and
>> >>         > > > on
>> >>         > > > > the live server.
>> >>         > > > >
>> >>         > > > > thanks
>> >>         > > > > terion
>> >>         > > > >
>> >>         > > > >
>> >>         > > > Have you checked the PHP error logs?
>> >>         > > >
>> >>         > > > Thank you,
>> >>         > > > Micah Gersten
>> >>         > > > onShore Networks
>> >>         > > > Internal Developer
>> >>         > > > http://www.onshore.com
>> >>         > > >
>> >>         > > >   I put this:
>> >>         > >
>> >>         > >
>> >>         > >
>> >>         > > > ini_set('error_reporting', E_ALL);
>> >>         > > > ini_set('display_errors', true);
>> >>         > >
>> >>         > > in the top of the pages but no errors are showing....
>> >>         > > ------
>> >>         > >
>> >>         > > Then that answer would be no....
>> >>         > >
>> >>         > > You need to actually look at your error logs as if the
>> >>         server is set up
>> >>         > > right it won,'t allow ini bypasses.
>> >>         > >
>> >>         > > Wolf
>> >>         > >
>> >>         > I can't find any error logs, I've looked in the inetpub
>> >>         folder, the php
>> >>         > folder the IIS services admin ....
>> >>
>> >>
>> >>         IIS has an option that lets you view the websites you have set
>> >>         up (I
>> >>         believe you can get to it from right-clicking My Computer and
>> >>         selecting
>> >>         Manage.) Select the site you are having problems with, and
>> >>         view the
>> >>         properties for it. One of the tabs (I forget which exactly)
>> >>         tells you
>> >>         where the error logs are for this site.
>> >>
>> >>
>> >>         Ash
>> >>         www.ashleysheridan.co.uk
>> >>
>> >>
>> >> wow not there either, is it possible the person in this job before me
>> >> just removed the logs and the servers capability to log? like there is
>> >> no usr/bin/log file or anything like that (went to the apache site)
>> >> and in the IIS install I went thru everything and can't find a thing
>> >> about error logs...OMG pulling out my hair.
>> > Well, /usr/bin/log is for Apache on Linux, so won't be of any use to you
>> > with IIS on Windows!
>> >
>> > Stupid question, but have you searched for all *.log files? As far as I
>> > know, you can't stop the server logging, and I think IIS locks the logs
>> > to prevent accidental deletion. Generally speaking, the logs will be
>> > pretty large files (depending on how busy your website is) if that helps
>> > you narrow down your search.
>> >
>> >
>> > Ash
>> > www.ashleysheridan.co.uk
>> >
>>
>> just turn display errors on and set reporting to E_ALL ? save mucking
>> around (although it is normally a good idea to know where you're log
>> files are) :p
>>
> If you read the thread, you'd know he's already tried that, and there's
> some information you just don't get with E_ALL that you need to look at
> the logs for.
>
>
> Ash
> www.ashleysheridan.co.uk
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux