4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: Vincent on August 26, 2005, 07:21:41 PM

Title: how to controll the way a php.file is running
Post by: Vincent on August 26, 2005, 07:21:41 PM
Hello
i have a problem  i have installed this mod http://www.4homepages.de/forum/index.php?topic=3102.0
which worked fine - after a couple of weeks it is not running anymore and i don't know why! there is no error

know i would like to know if there is a way to check whats happen in php file - like a possibility to go step by step throu the file!

sincerly
vincent
Title: Re: how to controll the way a php.file is running
Post by: Vincent on August 31, 2005, 09:32:19 AM
still having problem  :?

vincent
Title: Re: how to controll the way a php.file is running
Post by: TheOracle on September 03, 2005, 05:01:35 PM
Please remain on the appropriate topic rather than creating a new one.
Title: Re: how to controll the way a php.file is running
Post by: Vincent on September 03, 2005, 05:04:07 PM
this is question is not fixed to a topic -
i would like  to know if it is  possible to go throug a code (php-code) - step by step  - to debug this code!

sincerly
vincent
Title: Re: how to controll the way a php.file is running
Post by: TheOracle on September 03, 2005, 05:05:26 PM
I'm not sure what you mean ... could you elaborate that ? It looks like you're asking three questions in one here ...
Title: Re: how to controll the way a php.file is running
Post by: Vincent on September 03, 2005, 05:09:41 PM
i am talking about basic's in php
it is possible - with a SW - to go step by step trough the code?
and this Software would find some error in the code!

vincent
Title: Re: how to controll the way a php.file is running
Post by: TheOracle on September 03, 2005, 05:10:41 PM
The best way to do that would be commenting out the :

Code: [Select]

error_reporting(E_ALL);


in global.php file.
Title: Re: how to controll the way a php.file is running
Post by: Vincent on September 03, 2005, 05:11:16 PM
thanks!

vincent
Title: Re: how to controll the way a php.file is running
Post by: Vincent on September 03, 2005, 05:13:30 PM
hmm
it is not exaclty what you write i have

Quote
if (!defined('ROOT_PATH')) {
  die("Security violation");
}

error_reporting(E_ERROR | E_WARNING | E_PARSE);

set_magic_quotes_runtime(0);
$start_time = microtime();
Title: Re: how to controll the way a php.file is running
Post by: TheOracle on September 03, 2005, 05:16:25 PM
This is already covered in the FAQ ...

change this :

Quote

error_reporting(E_ERROR | E_WARNING | E_PARSE);


to :

Code: [Select]

error_reporting(E_ALL);

Title: Re: how to controll the way a php.file is running
Post by: Vincent on September 03, 2005, 05:21:12 PM
ok thanks!

vincent