Don
Faire un don pour aider au developpement de WiPhA

Recherche




Préférences

Se reconnecter
---

Votre nom (ou pseudo) :

Votre code secret


 Nombre de membres 45 membres


Connectés :

( personne )
Visites

 331366 visiteurs

 14 visiteurs en ligne

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

Forum - Forum
Web iPhoto Access - Web iPhoto Access
- Sujet n° 45


actif Sujet n° 45  Error with permissions or PHP 5 or...?

le 28/01/2006 @ 08:01
par Nick

Anonyme

visiteur

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  Haut

[]   

Réponse n° 1
--------
le 28/01/2006 @ 15:41
par Globs

Globs

Administrateur

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.
Ecrire à Globs   Site web Globs Poster une réponse  Haut
Réponse n° 2
--------
le 28/01/2006 @ 18:01
par Sweetsounds

Anonyme

visiteur
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
--------
le 28/01/2006 @ 18:07
par Globs

Globs

Administrateur

create a file test.php in your site folder, containing

<?php
    phpinfo();
?>



and display it with your browser.
Ecrire à Globs   Site web Globs Poster une réponse  Haut
Réponse n° 4
--------
le 29/01/2006 @ 07:07
par Nick

Anonyme

visiteur
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
--------
le 29/01/2006 @ 14:42
par Globs

Globs

Administrateur

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



Ecrire à Globs   Site web Globs Poster une réponse  Haut
Réponse n° 6
--------
le 22/02/2006 @ 20:00
par Globs

Globs

Administrateur

Version 2.0 supports PHP5 (Entropy package) cool
Ecrire à Globs   Site web Globs Poster une réponse  Haut
actif sujet actif   clos sujet clos   Important! Important!   Nouveau Nouveau message   -   Rectifier Rectifier message   Cloturer Cloturer sujet   Remonter Remonter
[]
Catégories de discussion  Forum 


^ Haut ^