Bonjour,
Tout d'abord, félicitation pour ton programme, c'est le meilleur que j'ai trouvé.
J'ai installé la version beta en local, j'utilise easy php.
L'installation semble bien se passer, mais à la fin, il y a un lien vers l'identification, et j'ai un message :
Warning: Failed opening 'config.inc.php' for inclusion (include_path='') in c:easyphpwwwgalerieincludeinit.inc.php on line 17
Warning: Failed opening 'user.inc.php' for inclusion (include_path='') in c:easyphpwwwgalerieincludeinit.inc.php on line 18
Warning: Failed opening './template//conf.php' for inclusion (include_path='') in c:easyphpwwwgalerieincludeinit.inc.php on line 20
Fatal error: Call to undefined function: get_restrictions() in c:easyphpwwwgalerieincludeinit.inc.php on line 27
Les tables ont bien été créées, et je n'ai pas eu ce genre de problème avec la version précédante.
As-tu une idée ?
Merci
Fabian
Hors ligne
Bonjour!
Sorry, i can only understand some French, but to speak or write it, i'd have to take several courses again.... Please forgive me for writing in English here!
I've got the same errors as fabian with the 1.2 beta.
My config for the php-include-path is just the current directory an another. Is it possible that you added some more (relative) paths to your include_path, z0rglub? If so, to what do i have to change my include_path?
my include_path:
include_path = ".:/php/includes"
and again the errors:
Warning: Failed opening 'config.inc.php' for inclusion (include_path='.:/php/includes') in /home/alex/public_html/pwg/include/init.inc.php on line 17
Warning: Failed opening 'user.inc.php' for inclusion (include_path='.:/php/includes') in /home/alex/public_html/pwg/include/init.inc.php on line 18
Warning: Failed opening './template//conf.php' for inclusion (include_path='.:/php/includes') in /home/alex/public_html/pwg/include/init.inc.php on line 20
Fatal error: Call to undefined function: get_restrictions() in /home/alex/public_html/pwg/include/init.inc.php on line 27
Tanks for any help!
Alex
Hors ligne
Bonjour again!
Ok, i've now changed my php config and added the relative path "./include" (the path where you placed the PWG's includes) to my include_path. It now looks like:
include_path = ".:./include:/php/includes"
Hope that helps somebody here, too.
A proposal: wouldn't it be much more easier to place all include files in ONE directory? - And a big remark, to add this directory (that could be left as a subdir within the PWG's homedir) to the PHP-config's include_path...
Well, the 1.2 beta looks great at first sight. Now i can start my testing :D
And , hope your teeth don't give you so much pain any more...
Great work!
Alex
Hors ligne
A proposal: wouldn't it be much more easier to place all include files in ONE directory?
It's a good idea, but it won't really help in fact, the pb will stay the same, but I can do something else : placing a var telling if the include is made from the admin or normal section, it would add a "." to ./include/myFileToInclude.php", and that should be fine. I have to try
And , hope your teeth don't give you so much pain any more...
thx, I have no pain at all, I just look like a squirrel :)
Hors ligne
voir solution dans ce topic : http://www.z0rglub.com/phpwebgallery/fo … .php?t=312
Hors ligne