Re: [PHP] question about corrupt db?

2008-12-02 Thread Ashley Sheridan
On Tue, 2008-12-02 at 01:14 +, 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
  [EMAIL PROTECTED] wrote:
  
  On Mon, 2008-12-01 at 15:53 -0600, Terion Miller wrote:
   On Mon, Dec 1, 2008 at 3:40 PM, Wolf [EMAIL PROTECTED]
  wrote:
  
   
   
-Original Message-
From: Terion Miller [EMAIL PROTECTED]
Sent: Monday, December 01, 2008 4:23 PM
To: Micah Gersten [EMAIL PROTECTED]
Cc: PHP General php-general@lists.php.net
Subject: Re: [PHP] question about corrupt db?
   
On Mon, Dec 1, 2008 at 3:12 PM, Micah Gersten
  [EMAIL PROTECTED] 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



Re: [PHP] question about corrupt db?

2008-12-02 Thread uaca man
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 [EMAIL PROTECTED]:
 On Tue, 2008-12-02 at 01:14 +, 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
  [EMAIL PROTECTED] wrote:
 
  On Mon, 2008-12-01 at 15:53 -0600, Terion Miller wrote:
   On Mon, Dec 1, 2008 at 3:40 PM, Wolf [EMAIL PROTECTED]
  wrote:
  
   
   
-Original Message-
From: Terion Miller [EMAIL PROTECTED]
Sent: Monday, December 01, 2008 4:23 PM
To: Micah Gersten [EMAIL PROTECTED]
Cc: PHP General php-general@lists.php.net
Subject: Re: [PHP] question about corrupt db?
   
On Mon, Dec 1, 2008 at 3:12 PM, Micah Gersten
  [EMAIL PROTECTED] 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



Re: [PHP] question about corrupt db?

2008-12-01 Thread Micah Gersten
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



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



Re: [PHP] question about corrupt db?

2008-12-01 Thread Ashley Sheridan
On Mon, 2008-12-01 at 15:12 -0600, Micah Gersten 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
 
 
 
Also, have you manually checked the DB to see if it as you suspect,
corrupt?


Ash
www.ashleysheridan.co.uk


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



Re: [PHP] question about corrupt db?

2008-12-01 Thread Terion Miller
On Mon, Dec 1, 2008 at 3:12 PM, Micah Gersten [EMAIL PROTECTED] 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


Re: [PHP] question about corrupt db?

2008-12-01 Thread Chris

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.


If it's mysql, use mysqlcheck - 
http://dev.mysql.com/doc/refman/5.0/en/mysqlcheck.html


--
Postgresql  php tutorials
http://www.designmagick.com/


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



RE: [PHP] question about corrupt db?

2008-12-01 Thread Wolf


-Original Message-
From: Terion Miller [EMAIL PROTECTED]
Sent: Monday, December 01, 2008 4:23 PM
To: Micah Gersten [EMAIL PROTECTED]
Cc: PHP General php-general@lists.php.net
Subject: Re: [PHP] question about corrupt db?

On Mon, Dec 1, 2008 at 3:12 PM, Micah Gersten [EMAIL PROTECTED] 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

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



Re: [PHP] question about corrupt db?

2008-12-01 Thread Terion Miller
On Mon, Dec 1, 2008 at 3:40 PM, Wolf [EMAIL PROTECTED] wrote:



 -Original Message-
 From: Terion Miller [EMAIL PROTECTED]
 Sent: Monday, December 01, 2008 4:23 PM
 To: Micah Gersten [EMAIL PROTECTED]
 Cc: PHP General php-general@lists.php.net
 Subject: Re: [PHP] question about corrupt db?

 On Mon, Dec 1, 2008 at 3:12 PM, Micah Gersten [EMAIL PROTECTED] 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 


Re: [PHP] question about corrupt db?

2008-12-01 Thread Ashley Sheridan
On Mon, 2008-12-01 at 15:53 -0600, Terion Miller wrote:
 On Mon, Dec 1, 2008 at 3:40 PM, Wolf [EMAIL PROTECTED] wrote:
 
 
 
  -Original Message-
  From: Terion Miller [EMAIL PROTECTED]
  Sent: Monday, December 01, 2008 4:23 PM
  To: Micah Gersten [EMAIL PROTECTED]
  Cc: PHP General php-general@lists.php.net
  Subject: Re: [PHP] question about corrupt db?
 
  On Mon, Dec 1, 2008 at 3:12 PM, Micah Gersten [EMAIL PROTECTED] 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


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



Re: [PHP] question about corrupt db?

2008-12-01 Thread Terion Miller
On Mon, Dec 1, 2008 at 4:20 PM, Ashley Sheridan [EMAIL PROTECTED]wrote:

 On Mon, 2008-12-01 at 15:53 -0600, Terion Miller wrote:
  On Mon, Dec 1, 2008 at 3:40 PM, Wolf [EMAIL PROTECTED] wrote:
 
  
  
   -Original Message-
   From: Terion Miller [EMAIL PROTECTED]
   Sent: Monday, December 01, 2008 4:23 PM
   To: Micah Gersten [EMAIL PROTECTED]
   Cc: PHP General php-general@lists.php.net
   Subject: Re: [PHP] question about corrupt db?
  
   On Mon, Dec 1, 2008 at 3:12 PM, Micah Gersten [EMAIL PROTECTED]
 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.


Re: [PHP] question about corrupt db?

2008-12-01 Thread ceo

Maybe try the normal Windows System Logs?



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



Re: [PHP] question about corrupt db?

2008-12-01 Thread Ashley Sheridan
On Mon, 2008-12-01 at 16:29 -0600, Terion Miller wrote:
 
 
 On Mon, Dec 1, 2008 at 4:20 PM, Ashley Sheridan
 [EMAIL PROTECTED] wrote:
 
 On Mon, 2008-12-01 at 15:53 -0600, Terion Miller wrote:
  On Mon, Dec 1, 2008 at 3:40 PM, Wolf [EMAIL PROTECTED]
 wrote:
 
  
  
   -Original Message-
   From: Terion Miller [EMAIL PROTECTED]
   Sent: Monday, December 01, 2008 4:23 PM
   To: Micah Gersten [EMAIL PROTECTED]
   Cc: PHP General php-general@lists.php.net
   Subject: Re: [PHP] question about corrupt db?
  
   On Mon, Dec 1, 2008 at 3:12 PM, Micah Gersten
 [EMAIL PROTECTED] 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


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



Re: [PHP] question about corrupt db?

2008-12-01 Thread Nathan Rixham

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
[EMAIL PROTECTED] wrote:

On Mon, 2008-12-01 at 15:53 -0600, Terion Miller wrote:

 On Mon, Dec 1, 2008 at 3:40 PM, Wolf [EMAIL PROTECTED]
wrote:

 
 
  -Original Message-
  From: Terion Miller [EMAIL PROTECTED]
  Sent: Monday, December 01, 2008 4:23 PM
  To: Micah Gersten [EMAIL PROTECTED]
  Cc: PHP General php-general@lists.php.net
  Subject: Re: [PHP] question about corrupt db?
 
  On Mon, Dec 1, 2008 at 3:12 PM, Micah Gersten
[EMAIL PROTECTED] 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


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