Author Topic: how to controll the way a php.file is running  (Read 7634 times)

0 Members and 1 Guest are viewing this topic.

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
how to controll the way a php.file is running
« 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
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: how to controll the way a php.file is running
« Reply #1 on: August 31, 2005, 09:32:19 AM »
still having problem  :?

vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


TheOracle

  • Guest
Re: how to controll the way a php.file is running
« Reply #2 on: September 03, 2005, 05:01:35 PM »
Please remain on the appropriate topic rather than creating a new one.

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: how to controll the way a php.file is running
« Reply #3 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
Beati pauperi spiritus

4images 1.7 // My Installed Mods


TheOracle

  • Guest
Re: how to controll the way a php.file is running
« Reply #4 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 ...

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: how to controll the way a php.file is running
« Reply #5 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
Beati pauperi spiritus

4images 1.7 // My Installed Mods


TheOracle

  • Guest
Re: how to controll the way a php.file is running
« Reply #6 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.

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: how to controll the way a php.file is running
« Reply #7 on: September 03, 2005, 05:11:16 PM »
thanks!

vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: how to controll the way a php.file is running
« Reply #8 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();
Beati pauperi spiritus

4images 1.7 // My Installed Mods


TheOracle

  • Guest
Re: how to controll the way a php.file is running
« Reply #9 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);


Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: how to controll the way a php.file is running
« Reply #10 on: September 03, 2005, 05:21:12 PM »
ok thanks!

vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods