Hello,
Am Freitag, 9. November 2012 schrieb Johan Hendriks:
> It does not work, the error i get is
> [Fri Nov 09 09:32:00 2012] [error] [client 192.168.50.105] PHP Fatal
> error: Call to undefined function create_salt() in
> /usr/local/www/owncloud/apps/user_postfixadmin/user_postfixadmin.php
> on line 147
>
> I saw in the postfixadmin function.inc.php file the following
>
>
> function create_salt () {
> srand ((double) microtime ()*1000000);
> $salt = substr (md5 (rand (0,9999999)), 0, 8);
> return $salt;
> }
>
> So i thougt i add it at the end of the file, but i keep getting the
> error??
You probably added the function inside the class, which means you need
to replace all calls of "create_salt" with
"OC_User_Postfixadmin::create_salt"
Regards,
Christian Boltz
--
Der Tag hat 24 Stunden und wenn es sein muss,
dann arbeiten wir auch noch nachts!
|