Has anyone gotten Pro to work?

17 views
Skip to first unread message

Apurva

unread,
Dec 19, 2009, 11:01:44 AM12/19/09
to EtherPad Open Source Discussion
From what it looks like, even if you set up email, (as mentioned at
http://code.google.com/p/etherpad/wiki/KnownIssues ) Pro signup does
not work. The signup form returns you to a 404 error.

Does anyone have pointers to how to get pro to work?

Leho Kraav

unread,
Dec 19, 2009, 1:53:10 PM12/19/09
to EtherPad Open Source Discussion
yep, i have it working pretty much like etherpad.com. make sure you
configure SSL correctly, incl. keystore. i will write a blogpost on it
later tonight.

On 19 dets, 18:01, Apurva <apurv...@gmail.com> wrote:
> From what it looks like, even if you set up email, (as mentioned athttp://code.google.com/p/etherpad/wiki/KnownIssues) Pro signup does

Apurva

unread,
Dec 19, 2009, 4:19:50 PM12/19/09
to EtherPad Open Source Discussion
Sounds great, looking forward to your blog post!

nuba

unread,
Dec 21, 2009, 2:21:50 AM12/21/09
to EtherPad Open Source Discussion
Hello folks,

Here's my fix:

I didn't get a 404, but I got this: "Oops! A server error occured.
It's been logged. Please email <sup...@etherpad.com> if this
persists." when creating a Pro subdomain.

Logging off gave me a nice login form. After posting it, I got the
error message above again.

After scanning the source I found other URLs to hit, and found I could
create a new pad, list the subdomain's pads on
http://subdomain.domain.com:9000/ep/padlist/all-pads, add and manage
users on http://subdomain.domain.com:9000/ep/admin/account-manager/
just fine.

I also found this page, which is a great place to start your etherpad
troubleshooting efforts: http://domain.com:9000/ep/admin/exceptions

There I found the error loud and clear:
"net.appjet.bodylock.JSRuntimeException: Error while executing:
TypeError: Cannot read property "expiresDate" from null (module
etherpad/control/pro/pro_main_control.js#71)"

Afterwards I just went to

http://code.google.com/p/etherpad/source/browse/trunk/etherpad/src/etherpad/control/pro/pro_main_control.js#71

and replaced

renderFramed('pro/pro_home.ejs', {
isEvaluation: licensing.isEvaluation(),
evalExpDate: licensing.getLicense().expiresDate,
account: getSessionProAccount(),
isPNE: pne_utils.isPNE(),
pneVersion: pne_utils.getVersionString(),
livePads: livePads,
recentPads: recentPads,
renderRecentPads: renderRecentPads,
renderLivePads: renderLivePads,
orgName: r.orgName
});

With

renderFramed('pro/pro_home.ejs', {
isEvaluation: licensing.isEvaluation(),
// evalExpDate: licensing.getLicense().expiresDate,
account: getSessionProAccount(),
isPNE: pne_utils.isPNE(),
pneVersion: pne_utils.getVersionString(),
livePads: livePads,
recentPads: recentPads,
renderRecentPads: renderRecentPads,
renderLivePads: renderLivePads,
orgName: r.orgName
});

And now I can see the landing page (http://subdomain.domain.com:9000/)
of my pro account just fine, with a welcome message and a list of the
latest pads.

Have fun!

Nuba

Matt Hohman

unread,
Dec 21, 2009, 11:46:46 AM12/21/09
to EtherPad Open Source Discussion
Also if you make the following change you can get the pro toolbar up
and going...

File: trunk/etherpad/src/templates/framed/framedheader-pro.ejs

ORIG:

<div id="pro-topnav">
<div id="pro-topnav-inner">
<% if (validLicense && account) { %>
<%= renderProTopNav() %>
<%= helpers.clearFloats() %>
<% } %>
</div>
</div>

***************

NEW:

<div id="pro-topnav">
<div id="pro-topnav-inner">
<%= renderProTopNav() %>
<%= helpers.clearFloats() %>
</div>
</div>

John McLear

unread,
Dec 22, 2009, 9:35:42 AM12/22/09
to EtherPad Open Source Discussion

nuba

unread,
Dec 23, 2009, 1:05:32 PM12/23/09
to EtherPad Open Source Discussion
Thanks Matt.

Likewise, there's a sidebar there, too:

On trunk/etherpad/src/templates/pro/admin/admin-template.ejs

change

<tr>
<% if (validLicense) { %>
<td width="1%" id="admin-leftnav">
<%= renderAdminLeftNav() %>
</td>
<% } %>
<td width="99%" id="admin-right">

to:

<tr>
<td width="1%" id="admin-leftnav">
<%= renderAdminLeftNav() %>
</td>
<td width="99%" id="admin-right">

Regards,

Nuba

Reply all
Reply to author
Forward
0 new messages