É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)

plg
2002-10-30 17:02:05
plg
2002-10-30 15:28:59

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 :)

fabian
2002-10-30 15:07:03

Bonjour,

Le problème est résolu en installant easyphp 1.6

Fabian

alex
2002-10-30 10:39:50

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

alex
2002-10-30 01:59:21

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

fabian
2002-10-29 16:57:25

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

Pied de page des forums

Propulsé par FluxBB

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