Écrire une réponse

Veuillez écrire votre message et l'envoyer

Cliquez dans la zone sombre de l'image pour envoyer votre message.

Retour

Résumé de la discussion (messages les plus récents en premier)

alex
2002-10-30 16:22:45

YES!  now it works as it was supposed to work!  :) 

by the way: 
i'm using apache 1.3.20  with php 4.0.6 and mysql 3.23.41 (i686)

so you don't have to upgrade to php 4.2 in order to get pwg running!

Thank you!

Alex

plg
2002-10-30 15:57:51

solution :
in admin/include/isadmin.inc.php, insert :

Code:

$prefixe_include = ".";

before

Code:

include_once( "../include/config.inc.php" );

and in include/config.inc.php, replace :

Code:

 
include_once( "mysql.inc.php" ); 
include_once( "functions.php" ); 

by

Code:

 
include_once( $prefixe_include."./include/mysql.inc.php" ); 
include_once( $prefixe_include."./include/functions.php" ); 

edit :
and in init.inc.php, replace

Code:

include_once( "config.inc.php" ); 
include_once( "user.inc.php" );

by

Code:

 
include_once( "./include/config.inc.php" ); 
include_once( "./include/user.inc.php" ); 
plg
2002-10-30 15:23:31

ok, I take your pb into account, I will find a solution in order to make it work anywhere...

fabian
2002-10-30 15:06:07

Hi,


I had the same problem with easyphp 1.5. I upgraded to easyphp 1.6 and all seems to work without any problems.
Easyphp 1.6 =  apache 1.3.24  +  php 4.2.0 +  mysql 3.23.49 + phpmyadmin 2.2.6

Hope it can help you

Fabian

alex
2002-10-30 11:37:07

Bonjour,

the installation of pwg 1.2 beta qas now susccessful. But i only can use the level of "diapo.php".  If i try to change to the admin section, several includes are not found:
Warning: Failed opening 'mysql.inc.php' for inclusion (include_path='.:./include:/php/includes') in /home/alex/public_html/pwg/include/config.inc.php on line 23

Then I changed lines 23 and 24 in config.inc.php from 
' include_once("mysql.inc.php");
  include_once("functions.php"); '
to
' include_once("../include/mysql.inc.php");
  include_once("../include/functions.php");'

If I do so, I can use the admin pages, but NOT the diapo.php, to look at the photos.
Please help me, there seems to be a big problem with the includes!

Thank you,
Alex

Pied de page des forums

Propulsé par FluxBB

github twitter newsletter Faire un don Piwigo.org © 2002-2024 · Contact