Announcement

  •  » Beta testing
  •  » BSF_200408260700 change in include/template.php

#1 2004-08-26 14:29:13

Marc 77
Member
Nemours, France
2003-01-04
391

BSF_200408260700 change in include/template.php

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....


BSF Test
Dimage A1 AMD 2200Win XP Pro + SP2 PhpWg 1.3.2 IE 6

Offline

 

#2 2004-08-26 16:04:09

Gweltas
Former Piwigo Team
Lyon en théorie
2003-12-04
547

Re: BSF_200408260700 change in include/template.php

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

 

#3 2004-08-26 16:17:05

Marc 77
Member
Nemours, France
2003-01-04
391

Re: BSF_200408260700 change in include/template.php

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)


BSF Test
Dimage A1 AMD 2200Win XP Pro + SP2 PhpWg 1.3.2 IE 6

Offline

 

#4 2004-08-26 16:39:22

Gweltas
Former Piwigo Team
Lyon en théorie
2003-12-04
547

Re: BSF_200408260700 change in include/template.php

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

 

#5 2004-08-26 17:43:21

Marc 77
Member
Nemours, France
2003-01-04
391

Re: BSF_200408260700 change in include/template.php

PHP Version 4.3.4
On Free provider.


BSF Test
Dimage A1 AMD 2200Win XP Pro + SP2 PhpWg 1.3.2 IE 6

Offline

 

#6 2004-08-26 18:09:18

Gweltas
Former Piwigo Team
Lyon en théorie
2003-12-04
547

Re: BSF_200408260700 change in include/template.php

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

 
  •  » Beta testing
  •  » BSF_200408260700 change in include/template.php

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact