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
solution :
in admin/include/isadmin.inc.php, insert :
$prefixe_include = ".";
before
include_once( "../include/config.inc.php" );
and in include/config.inc.php, replace :
include_once( "mysql.inc.php" ); include_once( "functions.php" );
by
include_once( $prefixe_include."./include/mysql.inc.php" ); include_once( $prefixe_include."./include/functions.php" );
edit :
and in init.inc.php, replace
include_once( "config.inc.php" ); include_once( "user.inc.php" );
by
include_once( "./include/config.inc.php" ); include_once( "./include/user.inc.php" );
ok, I take your pb into account, I will find a solution in order to make it work anywhere...
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
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