Wohhhh! You have a good shot in a first time!
Just a little bit: you have forget to update the template.php like the re-install topic:
Zorglub say:
In include/template.php, after
Code:
function make_filename($filename)
{
add
Code:
return $this->root . '/' . $filename;
Let me know how add a another Exifs line, like:
Software:';
'cExiflineExifVersion'] = 'ExifVersion:';
'cExiflineISOSpeedRatings'] = 'ISOSpeedRatings:';
'cExiflineExposureTime'] = 'ExposureTime:';
'cExiflineApertureFNumber'] = 'ApertureFNumber:';
'cExiflineExposureProgram'] = 'ExposureProgram:';
'cExiflineExposureProgram0'] = 'Not defined';
'cExiflineExposureProgram2'] = 'Normal program';
'cExiflineExposureProgram3'] = 'Aperture priority';
'cExiflineExposureProgram4'] = 'Shutter priority';
'cExiflineExposureProgram5'] = 'Creative program (biased toward depth of field)';
etc... etc....
Offline
We first have to really understand what is going on.
To inform you, the template.php file is a full reuse of the phpBB template.php file itself based on the phpLIB template system. Nothing has been modify in this file.
The realpath function is used elsewhere in the phpWG code. So if you have a bug here, we have to understand really what is going on your installation...
Offline
Gweltas,
See this topic:
http://forum.phpwebgallery.net/viewtopi … 1794#11794
We are two with the same error.
He work fine after change in template.php
Last edited by Marc 77 (2004-08-26 16:18:30)
Offline
Yes i've carefully read the topic, but the "realpath" command is a standard php command and tends to be massively used in the phpWG script because of compatbility with later versions of php.
I think that this is the only difference between the original template.php file & our file. Could you please precise which version of php do you use?
I will investigate and find how to deal with your problem...
---Edited---
It's really weird for me as your latest BSF worked fine... We must have introduced something wrong somewhere (perhaps a corruption of the root object)
Last edited by Gweltas (2004-08-26 17:07:07)
Offline
Mouiiiis...
I've perhaps a clue on the install.php file. I will try to understand what is going on tonight.
BTW, you can temporarly use the trick that Pierrick gave to you, but the php realpath function is supposed to work :confuse:
Offline