Trying to install Clipperz CE REV3

142 views
Skip to first unread message

jordan.h...@gmail.com

unread,
Apr 19, 2008, 3:18:13 AM4/19/08
to Clipperz
Hi all,

I'm trying to install Clipperz Community Edition Revision 3 to my
server, here: http://pass.jordanhackworth.com

When trying to create a user it tells me:
Clipperz.PM.DataModel.User.exception.LoginFailed

Any ideas of what to try?

Giulio Cesare Solaroli

unread,
Apr 19, 2008, 3:32:13 AM4/19/08
to jordan.h...@gmail.com, Clipperz
Hello Jordan,

I suggest you to do a few tests:
- does the user already exists? Just try to login with the same
credentials and see what happens. We do not have a good error check
for this case, but it is also quite uncommon;
- try to look into the Javascript console, to see if any error is
reported. If you use Firefox, your best option is to install Firebug
and use its own console;
- try to enable the PHP logging on the server and see if there is
anything reported there too.

Hope this helps.

Regards,

Giulio Cesare

li.ja...@gmail.com

unread,
Apr 20, 2008, 1:00:30 PM4/20/08
to Clipperz
I get the same error as Jordan in Firefox:
"Clipperz.PM.DataModel.User.exception.LoginFailed". There are no
errors in my JavaScript console in Firefox. In Internet Explorer, I
get a different error: "Syntax error" likewise with no JavaScript
errors.

This is a fresh installation of Clipperz so no users have been created
so it can't yet exist. I've enabled debugging on the server and aside
from a few notices about a couple images and missing.html not
existing, there are no other errors.

Do you have any suggestions on how to proceed?

On Apr 19, 3:32 am, "Giulio Cesare Solaroli" <giulio.ces...@gmail.com>
wrote:
> Hello Jordan,
>
> I suggest you to do a few tests:
> - does the user already exists? Just try to login with the same
> credentials and see what happens. We do not have a good error check
> for this case, but it is also quite uncommon;
> - try to look into the Javascript console, to see if any error is
> reported. If you use Firefox, your best option is to install Firebug
> and use its own console;
> - try to enable the PHP logging on the server and see if there is
> anything reported there too.
>
> Hope this helps.
>
> Regards,
>
> Giulio Cesare
>

Giulio Cesare Solaroli

unread,
Apr 20, 2008, 2:20:18 PM4/20/08
to li.ja...@gmail.com, Clipperz
Hello,

have you gone through the setup procedure in order to create the
structure of the DB?

Regards,

Giulio Cesare

jschultz76

unread,
Apr 20, 2008, 6:47:22 PM4/20/08
to Clipperz
I, too, have received this error message. I did the installation
using the setup files and am receiving 0 javascript errors. The
database and it's tables are set up and empty when I view them thru
mysql. Strange.

If anyone gets it working, be sure to post back in here with your
solution.
Thanks!

On Apr 20, 2:20 pm, "Giulio Cesare Solaroli" <giulio.ces...@gmail.com>
wrote:
> Hello,
>
> have you gone through the setup procedure in order to create the
> structure of the DB?
>
> Regards,
>
> Giulio Cesare
>

Giulio Cesare Solaroli

unread,
Apr 21, 2008, 3:09:45 AM4/21/08
to jschu...@gmail.com, Clipperz
Hello,

could you please post here the transcript of the XHR requests and
responses going on during the registration phase?

You can easily get these data enabling "Show XHMHttpRequests" on the
Firebug console.

Regards,

Giulio Cesare

jschultz76

unread,
Apr 21, 2008, 8:11:13 AM4/21/08
to Clipperz
Ok, hopefully I'm posting the information you want to see. I'll post
everything that shows up in the console, so as to not miss anything.

POST http://clipperz.cecilandjohn.com/php/index.php (548ms)
Post: method registration
parameters {"credentials":
{"C":"8079aae44cddc2870e605a09c32e9056109500c33140e20e917f7ef2d333139e",
"s":"4f4283dbc409a307f3c2124b642faecd4365a95c3b907633a0e63ec668646d5a",
"v":"b181b5e5600738374fbe9503418b82654aa598536ea4dc10c70430199f4362dc",
"version":"0.2"}, "user":{"header":"{\"records\":{\"index\":{}, \"data
\":\"U+6eQzP6o1PGLxmXty5Aibow\"}, \"directLogins\":{\"index\":{},
\"data\":\"VdXh/Sf4PeAxiUk4+biVtXPD\"}, \"preferences\":{\"data\":
\"cTBe7pgL3itlJz1E1XG+krsK\"}, \"oneTimePasswords\":{\"data\":\"a+o8v/
xLUKBC2/QU3eWdOc+i\"}, \"version\":\"0.1\"}", "statistics":"u/
u4MhhOOtPD0OkTj+gawBkf", "version":"0.3", "lock":"new lock"},
"version":"0.2", "message":"completeRegistration"}
Response: {"lock":"new lock","result":"done"}


POST http://clipperz.cecilandjohn.com/php/index.php (1584ms)
Post: method handshake
parameters {"message":"connect", "version":"0.2",
"parameters":
{"C":"8079aae44cddc2870e605a09c32e9056109500c33140e20e917f7ef2d333139e",
"A":"401d113309b723abd361a25e7f497e4fcc661c0de8379c6b1a9fafdbe9eec45b"}}
Response: <br />
<b>Fatal error</b>: Call to undefined function
bcscale() in <b>/php/index.php</b> on line <b>72</b><br />


DEBUG: ERROR - c:
8079aae44cddc2870e605a09c32e9056109500c33140e20e917f7ef2d333139e #
version: 0.2


POST http://clipperz.cecilandjohn.com/php/index.php (358ms)
Post: method handshake
parameters {"message":"connect", "version":"0.1",
"parameters":
{"C":"53d3722e38063b6db95a96b91fc18216ab4ae6fed7bb60069844cadd12c265d6",
"A":"221a7753eacef55b0f60397866f45f052a7895f8095cdb1efd39d403798e6091"}}
Response: <br />
<b>Fatal error</b>: Call to undefined function
bcscale() in <b>/php/index.php</b> on line <b>72</b><br />


DEBUG: ERROR - c:
53d3722e38063b6db95a96b91fc18216ab4ae6fed7bb60069844cadd12c265d6 #
version: 0.1

That's everything that shows up in the console upon submitting the
registration request.
Thanks for your help!
john

On Apr 21, 3:09 am, "Giulio Cesare Solaroli" <giulio.ces...@gmail.com>
wrote:
> Hello,
>
> could you please post here the transcript of the XHR requests and
> responses going on during the registration phase?
>
> You can easily get these data enabling "Show XHMHttpRequests" on the
> Firebug console.
>
> Regards,
>
> Giulio Cesare
>

Giulio Cesare Solaroli

unread,
Apr 21, 2008, 8:29:00 AM4/21/08
to jschu...@gmail.com, Clipperz
Hello John,

the logs are quite explicative:

> Fatal error: Call to undefined function bcscale() in /php/index.php on line 72

This means that your PHP installation does not have the BCMath
(http://it.php.net/bc) module installed.

Hope this helps.

Best regards,

Giulio Cesare

jschultz76

unread,
Apr 21, 2008, 8:36:56 AM4/21/08
to Clipperz
Yeah, I wasn't quite sure what the bcscale function was. Now I have
to see if I can get it installed on my host.
Thanks!
john

On Apr 21, 8:29 am, "Giulio Cesare Solaroli" <giulio.ces...@gmail.com>
wrote:
> Hello John,
>
> the logs are quite explicative:
>
> > Fatal error: Call to undefined function bcscale() in /php/index.php on line 72
>
> This means that your PHP installation does not have the BCMath
> (http://it.php.net/bc) module installed.
>
> Hope this helps.
>
> Best regards,
>
> Giulio Cesare
>
Reply all
Reply to author
Forward
0 new messages