Announcement

#16 2004-08-24 07:23:19

memento
Member
2004-08-23
16

Re: BSF_200408211555 Re-install

Same for me

Last edited by memento (2004-08-24 07:23:34)

Offline

 

#17 2004-08-24 07:32:33

memento
Member
2004-08-23
16

Re: BSF_200408211555 Re-install

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

 

#18 2004-08-24 07:56:21

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: BSF_200408211555 Re-install

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

Code:

function make_filename($filename)
    {

add

Code:

return $this->root . '/' . $filename;

And please, tell me what is your exact PHP Version (and your operating system)

Offline

 

#19 2004-08-24 08:04:57

memento
Member
2004-08-23
16

Re: BSF_200408211555 Re-install

Ok, I have the first administration page, but I have to go (work!) and will continue the installation tonight.

How can I get the version   number (PHP is installed only on my provider's servers)?

Offline

 

#20 2004-08-24 12:16:24

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: BSF_200408211555 Re-install

memento wrote:

How can I get the version   number (PHP is installed only on my provider's servers)?

create a file info.php containing :

Code:

<?php
phpinfo();
?>

Offline

 

#21 2004-08-24 13:20:02

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

Re: BSF_200408211555 Re-install

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


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

Offline

 

#22 2004-08-24 17:39:42

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: BSF_200408211555 Re-install

in include/template.php, delete

Code:

echo '$handle : '.$handle.'<br />';
echo '$filename : '.$filename.'<br />';

Offline

 

#23 2004-08-24 17:48:28

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

Re: BSF_200408211555 Re-install

z0rglub wrote:

in include/template.php, delete

Code:

echo '$handle : '.$handle.'<br />';
echo '$filename : '.$filename.'<br />';

Good shoot! :-)


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

Offline

 

#24 2004-08-25 08:07:50

memento
Member
2004-08-23
16

Re: BSF_200408211555 Re-install

It works for me. Thanks

I will do more testing.
First good point: Presentation is much more sophisticated.

Offline

 

#25 2004-08-26 15:36:48

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

Re: BSF_200408211555 Re-install

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

 

Board footer

Powered by FluxBB

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