There may be a problem in the function make_filename
before
if (substr($filename, 0, 1) != '/')
{
$filename = realpath($this->root . '/' . $filename);
}
$filename is install.tpl
after is blank or Null, looks like the
$filename = realpath($this->root . '/' . $filename);
does not work (the program goes in this branch, I tested by putting an "echo" in it)
Last edited by memento (2004-08-24 07:38:01)
Offline
OK, great short analyse memento, you see were I want to go... So, as PhpWebGallery never give some absolute, we can safely change the function make_filename. In include/template.php, after
function make_filename($filename) {
add
return $this->root . '/' . $filename;
And please, tell me what is your exact PHP Version (and your operating system)
Offline
memento wrote:
How can I get the version number (PHP is installed only on my provider's servers)?
create a file info.php containing :
<?php phpinfo(); ?>
Offline
Ok, I finish install with a precedent post change.
Php version of Free provider is: PHP Version 4.3.4, Exifs support enabled.
But, there is a bug in a display page in up and down, and no Exif display (I've enabled Exif), see:
http://fuji.s602z.free.fr/category.php
Offline
in include/template.php, delete
echo '$handle : '.$handle.'<br />'; echo '$filename : '.$filename.'<br />';
Offline
memento wrote:
How can I get the version number (PHP is installed only on my provider's servers)?
If phpWG is installed, go to the administrative side & click "Php Info"
Isn't life beautiful?
Offline