Does anyone have pointers to how to get pro to work?
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
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
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
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>
http://www.mclear.co.uk/2009/12/configure-etherpad-pro-after.html
Enjoy
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