Re: [clipperz] Error when registering

129 views
Skip to first unread message

Marco Barulli

unread,
Aug 8, 2012, 2:21:04 AM8/8/12
to l...@brig.gs, clip...@googlegroups.com
Hi Lee,
may you share some more details about your environment?
I hope this cold trigger some answer from the Clipperz community ...

Is there anyone among you guys willing to help Lee setting up the
Community Edition?

Thanks!
Marco

--
Support Clipperz, donate now!
http://www.clipperz.com/new_start_donations

Marco Barulli
http://marco.barulli.it
email: ma...@clipperz.com
mobile: +39 348 2476970
skype: mbarulli


On Mon, Aug 6, 2012 at 12:07 AM, jaxxstorm <l...@brig.gs> wrote:
> I've installed clipperz as per the detailed instructions, however when going
> to register I get the following error:
>
> Registration failed
> JSON2.parse
>
>
> I've verified all modules are installed, including json and bcmath, but the
> error persists. Any idea what could be causing the error?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Clipperz" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/clipperz/-/ooSEzQJNA7cJ.
> To post to this group, send email to clip...@googlegroups.com.
> To unsubscribe from this group, send email to
> clipperz+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/clipperz?hl=en.

Marc HILL

unread,
Sep 29, 2013, 9:15:57 AM9/29/13
to clip...@googlegroups.com
Dear All,
I have exactly same problem with current Community Edition on my server. I wanted to give Clipperz a try but I cannot create any user, though I have already checked everything I know of.
My environment :
- Ubuntu 12.04, php 5.3, json, pdo and bcmath OK for the server. Phpinfo says everything is activated. Reinstalling the software,installing php-services-json and activating magic_quotes_gpc in php.ini do not make any difference, always same issue.
- Client browser is Chrome under Ubuntu but same problem occurs with IE under Windows. So, it does not seem to be at all a browser problem.
Has someone succeeded making Clipperz work under this server environment ? Is the problem php 5.3 ?
Would be kind if somebody could help me activating all necessary logging for Clipperz to check what really happens ...
Thanks for your help,
Marc

giulio...@gmail.com

unread,
Sep 29, 2013, 4:44:47 PM9/29/13
to marc...@e-dsi.org, Clipperz
Hello Marc,

in order to understand what is going wrong (my current best guess is that some PHP library are missing), please report the transcript (request and response) of the XHR calls the client makes to the server.

The easiest way to get this info, is to use Chrome/Safari developer console.

Hope this helps.

Regards,

Giulio Cesare



--
You received this message because you are subscribed to the Google Groups "Clipperz" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clipperz+u...@googlegroups.com.

To post to this group, send email to clip...@googlegroups.com.

Rob Townley

unread,
Sep 29, 2013, 10:52:44 PM9/29/13
to giulio...@gmail.com, marc...@e-dsi.org, Clipperz

Single backslash \ when double backslash \\ needed?  A triple backslash needed? 

What format are your dates and time?   YYYYMMDD HHMMSS

Marc HILL

unread,
Sep 30, 2013, 12:31:04 PM9/30/13
to clip...@googlegroups.com, marc...@e-dsi.org
Hi Giulio,
Thanks for your feedback.
I am not a developper so I am not sure what I am supposed to send you but here is what I have done :
- In the Clipperz account creation form, I have filled in all the fields
- I have then activated the Chrome debugger with F12 and in the console with a right-click, I have activated "Log XMLHttpRequest"
- I then click on Submit in the Clipperz account creation form and then I can see some lines coming up in the console
You will find those lines ( till I get the "Registration failed JSON2.parse" error message ) in the attached text file.
Hope that helps. If not, please let me know what I am exactly supposed to do to log things better.
Of course you can also try yourself if you prefer with my test site which is https://www.e-dsi.org/mdp.
Thanks for your great help and understanding for my poor developper skills.
Regards,
Marc
XHR.txt

giulio...@gmail.com

unread,
Sep 30, 2013, 12:39:12 PM9/30/13
to Marc HILL, Clipperz
Hello Marc,

not sure how your server is configured, but the response the applications gets back from the server when trying to register a user looks like this (see attachment).

Not sure what is going wrong, but there is definitely something wrong in the setup.
Google ChromeScreenSnapz020.png

Marc HILL

unread,
Sep 30, 2013, 2:22:35 PM9/30/13
to clip...@googlegroups.com, Marc HILL
Hello Giulio,
This is the index.php file of the root of my web site www.e-dsi.org.
Are you sure you have used Clipperz web site which is at www.e-dsi.org/mdp ?
If yes, there is definitely something wrong in the setup though I have no idea what it can be.
Let me know your thoughts.
Thanks a lot again,
Marc

giulio...@gmail.com

unread,
Oct 1, 2013, 3:27:37 AM10/1/13
to Marc HILL, Clipperz
Hello Marc,

I think I got to the problem: the default URL to contact the server is set to this value:
'url':'../index.php'

This change was done, as the same backend application is now able to serve all different frontends available: /beta, /gamma, soon to be replaced by /delta.

This means that the main URL should be something like https://www.e-dsi.org/mdp/beta/

If you are interested in only using /beta and prefer to keep the current URL, you may go into /beta properties and change the URL from ../index.php to ./index.php.

Hope this helps.

Regards,

Giulio Cesare

-- Support Clipperz, donate now! https://www.clipperz.com/donations/



Marc HILL

unread,
Oct 1, 2013, 10:48:36 AM10/1/13
to clip...@googlegroups.com, Marc HILL
HI Giulio,
You definitely got the problem, thank you very much.

My suggestion would be simply to insist on that very specific point ( I mean adding folder /beta or /gamma to the URL ) in your Readme.md file.
Certainly my fault but I did not catch the point by reading the file.

FYI, now that I can register and connect, I discovered I have no logout.html file in /beta or /gamma folders. I only have the index.html file there.

Thanks a lot again and I am now happy to be able to give Clipperz a deep trial !

Warm Regards,
Marc

giulio...@gmail.com

unread,
Oct 1, 2013, 11:33:04 AM10/1/13
to Marc HILL, Clipperz
Marc,

pull request with improved documentation are very welcome; as a user you may have much better understanding of which points are not clear enough in the current version of the documentation. :)

You may have to do a "install debug" build in order to have also the extra files; I need to add an extra step to the build script in order to be able to separate the processing of resources needed for the main build, and resources needed only for debugging issues. At the moment only the "debug" step process these resources.

Regards,

Giulio Cesare


Marc HILL

unread,
Oct 1, 2013, 11:52:04 AM10/1/13
to clip...@googlegroups.com, Marc HILL
Dear Giulio.
I have recreated the missing files as per your hint below and now everything works fine, thanks.
Regards,
Marc
Reply all
Reply to author
Forward
0 new messages