Don
Faire un don pour aider au developpement de WiPhA

Recherche




Préférences

 Nombre de membres 29 membres


Utilisateurs en ligne

( personne )
Visites

 147698 visiteurs

 7 visiteurs en ligne

forum.gifForum - Web iPhoto Access - Sujet n°45


Sujet n°45 Error with permissions or PHP 5 or...?
    par Nick - visiteur
le 28/01/2006 @ 08:01
Anonyme
After installation and turning on the web server, I attempted to access .../wipha I got the following series of error messages. Perhaps this is due to having installed PHP 5 earlier? I don't know, I'm obviously no expert.


Notice: Use of undefined constant app - assumed 'app' in /Users/nick/Sites/wipha/libs/utils.php on line 58

Notice: Use of undefined constant app - assumed 'app' in /Users/nick/Sites/wipha/libs/utils.php on line 66

Notice: Use of undefined constant version - assumed 'version' in /Users/nick/Sites/wipha/libs/utils.php on line 67

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /Users/nick/Sites/wipha/libs/users.php on line 159

Notice: Use of undefined constant USERS_FILE - assumed 'USERS_FILE' in /Users/nick/Sites/wipha/libs/users.php on line 39

Notice: Use of undefined constant USERS_VERSION - assumed 'USERS_VERSION' in /Users/nick/Sites/wipha/libs/users.php on line 40

Notice: Use of undefined constant NO_SUCH_USER - assumed 'NO_SUCH_USER' in /Users/nick/Sites/wipha/libs/users.php on line 42

Notice: Use of undefined constant USER_EXISTS - assumed 'USER_EXISTS' in /Users/nick/Sites/wipha/libs/users.php on line 43

Notice: Use of undefined constant BAD_USER_NAME - assumed 'BAD_USER_NAME' in /Users/nick/Sites/wipha/libs/users.php on line 44

Notice: Use of undefined constant LOGIN_PASSWD_REQ - assumed 'LOGIN_PASSWD_REQ' in /Users/nick/Sites/wipha/libs/users.php on line 45

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /Users/nick/Sites/wipha/libs/wipha.php on line 367

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /Users/nick/Sites/wipha/libs/wipha.php on line 384

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /Users/nick/Sites/wipha/libs/wipha.php on line 423

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /Users/nick/Sites/wipha/libs/wipha.php on line 469

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /Users/nick/Sites/wipha/libs/wipha.php on line 469

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /Users/nick/Sites/wipha/libs/wipha.php on line 673

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /Users/nick/Sites/wipha/libs/wipha.php on line 673

Notice: Use of undefined constant BASE_DIR - assumed 'BASE_DIR' in /Users/nick/Sites/wipha/libs/smarty.php on line 39

Notice: Use of undefined constant APP_NAME - assumed 'APP_NAME' in /Users/nick/Sites/wipha/libs/smarty.php on line 40

Notice: Use of undefined constant PARSER_NOWHERE - assumed 'PARSER_NOWHERE' in /Users/nick/Sites/wipha/libs/iphotoparser.php on line 92

Notice: Use of undefined constant PARSER_IN_ALBUM_LIST - assumed 'PARSER_IN_ALBUM_LIST' in /Users/nick/Sites/wipha/libs/iphotoparser.php on line 93

Notice: Use of undefined constant PARSER_IN_ALBUM - assumed 'PARSER_IN_ALBUM' in /Users/nick/Sites/wipha/libs/iphotoparser.php on line 94

Notice: Use of undefined constant PARSER_IN_ALBUM_CONTENT - assumed 'PARSER_IN_ALBUM_CONTENT' in /Users/nick/Sites/wipha/libs/iphotoparser.php on line 95

Notice: Use of undefined constant PARSER_IN_KEYWORD_LIST - assumed 'PARSER_IN_KEYWORD_LIST' in /Users/nick/Sites/wipha/libs/iphotoparser.php on line 96

Notice: Use of undefined constant PARSER_IN_PHOTO_LIST - assumed 'PARSER_IN_PHOTO_LIST' in /Users/nick/Sites/wipha/libs/iphotoparser.php on line 97

Notice: Use of undefined constant PARSER_IN_PHOTO - assumed 'PARSER_IN_PHOTO' in /Users/nick/Sites/wipha/libs/iphotoparser.php on line 98

Notice: Use of undefined constant PARSER_IN_PHOTO_KEYWORDS - assumed 'PARSER_IN_PHOTO_KEYWORDS' in /Users/nick/Sites/wipha/libs/iphotoparser.php on line 99

Fatal error: Cannot redeclare zipper::$name in /Users/nick/Sites/wipha/libs/zipper.php on line 58
Poster une réponse




Réponse n°1 par Globs - rank ( 79 messages )
le 28/01/2006 @ 15:41
Globs
Hi,
yes, it's because of PHP5.
I developped WiPhA on PHP4, as it's the version included on OSX by default.
I'll have to mention that in the doc.
Site web Globs Ecrire à Globs Poster une réponse

Haut

Réponse n°2 par Sweetsounds - visiteur
le 28/01/2006 @ 18:01
Anonyme
I might have updated to php 5, but I can't remember. How can I find out which version of php I have installed ?
Poster une réponse

Haut

Réponse n°3 par Globs - rank ( 84 messages )
le 28/01/2006 @ 18:07
Globs
create a file test.php in your site folder, containing

<?php
    phpinfo();
?>



and display it with your browser.
Site web Globs Ecrire à Globs Poster une réponse

Haut

Réponse n°4 par Nick - visiteur
le 29/01/2006 @ 07:07
Anonyme
Probably getting too me-specific here, but is there an easy way to revert to PHP 4.x?
Poster une réponse

Haut

Réponse n°5 par Globs - rank ( 92 messages )
le 29/01/2006 @ 14:42
Globs
Not sure about this, since I never installed php myself; I just used the default OSX install.
You probably have to change the  modules lines relative to php in /etc/httpd/httpd.conf . Have a search on all 'php' or 'php4' patterns in the file. Here are the default module rules:


LoadModule php4_module        libexec/httpd/libphp4.so
AddModule mod_php4.c



Site web Globs Ecrire à Globs Poster une réponse

Haut

Réponse n°6 par Globs - rank ( 137 messages )
le 22/02/2006 @ 20:00
Globs
Version 2.0 supports PHP5 (Entropy package) cool
Site web Globs Ecrire à Globs Poster une réponse

Haut

^ Haut ^

Site non déclaré à la CNIL dans le cadre de la dispense n°6
Vous disposez d'un droit d'accès, de modification, de rectification et de suppression des données qui vous concernent via votre profil.
GuppY - http://www.freeguppy.org/    Site créé avec GuppY v4.5.14 © 2004-2005 - Licence Libre CeCILL   GuppY - http://www.freeguppy.org/

Document généré en 0.21 seconde