Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Server upgrades/hiccups/don't panic
#19
Hm. Thanks for the vote of confidence, Ren.

Anyway, gordon, that's not exactly what the problem is. I know what the problem is, but it'll take me some time to find the actual culprit. Problem is:
In httpdocs/core.php:
<?php
$t_core_path = './core';
include($t_core_path . '/stuff.php');
?>
, and in httpdocs/core/stuff.php:
<?php
include('blargh.php');
?>
One would assume that the second snippet includes httpdocs/core/blargh.php . It does not. It wants to include httpdocs/blargh.php . This is NOT PHP5's fault. According to php devs, that's intentional. I have considered several solutions, all of which seem suboptimal. For now, I added the whole directory hierarchy to include_path which bloated it to 2300 chars. I will see if I can find a better fix.

Worth playing: 1 | 2 | 3
Reply


Messages In This Thread
Server upgrades/hiccups/don't panic - by Renegade - 08.11.2007, 22:34:24
RE: Server upgrades/hiccups/don't panic - by DCoder - 15.11.2007, 14:08:56



Users browsing this thread: 1 Guest(s)