Here's what's happening:
In MySQL 4.1.x tinyint(1) and bit are synonymous. Creating a field of type
bit actually yields a field of type tinyint(1).
In MySQL 5.0.3+ BIT is a different type.
Dave, I think we should fix this before 2.3 releases. Or add a release
note. Lots of people seem to be hitting it.
--a.
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, May 22, 2006 6:34 AM
Subject: RE: Unable to create weblog or edit profile after logging in
It seems that the "bit -> tinyint" thing can solve a loooot of issues ;)
Zeld
-----Message d'origine-----
De : Kumar, Pavithra (Cognizant) [mailto:[EMAIL PROTECTED]
Envoyé : lundi 22 mai 2006 15:30
À : [email protected]
Objet : RE: Unable to create weblog or edit profile after logging in
I just solved the problem ...The column 'isenabled' in the rolleruser
table has to be changed to tinyint..I came across this in some earlier
post for another problem !
alter table rolleruser modify isenabled tinyint default 1 not null;
Thanks and Regards,
Pavithra Kumar
-----Original Message-----
From: pavithra [mailto:[EMAIL PROTECTED]
Sent: Monday, May 22, 2006 6:25 PM
To: [email protected]
Subject: Unable to create weblog or edit profile after logging in
Hi , I recently installed the JRoller 2.0. After logging in, I get a null
pointer exception if I try to create a new blog or edit my profile.
The following is the stack trace..
java.lang.NullPointerException
org.roller.presentation.website.actions.CreateWebsiteAction.create(Creat
eWebsiteAction.java:84)
org.roller.presentation.website.actions.CreateWebsiteAction.unspecified(
CreateWebsiteAction.java:56)
org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.j
ava:258)
org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:196
)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:421)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
226)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.roller.presentation.filters.BreadCrumbFilter.doFilter(BreadCrumbFilt
er.java:77)
org.roller.presentation.filters.RequestFilter.doFilter(RequestFilter.jav
a:134)
org.roller.presentation.filters.PersistenceSessionFilter.doFilter(Persis
tenceSessionFilter.java:53)
org.roller.presentation.filters.SchemeEnforcementFilter.doFilter(SchemeE
nforcementFilter.java:97)
org.roller.presentation.filters.CharEncodingFilter.doFilter(CharEncoding
Filter.java:94)
I get a similiar message when I try to edit my profile as well. Also, I do
not get any additional administrator links ...Can I get some help on this
?
--
View this message in context:
http://www.nabble.com/Unable+to+create+weblog+or+edit+profile+after+logg
ing+in-t1662678s12275.html#a4504788
Sent from the Roller - User forum at Nabble.com.
This e-mail and any files transmitted with it are for the sole use of the
intended recipient(s) and may contain confidential and privileged
information.
If you are not the intended recipient, please contact the sender by reply
e-mail and destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding,
printing or copying of this email or any action taken in reliance on this
e-mail is strictly
prohibited and may be unlawful.
Visit us at http://www.cognizant.com
-------------------------------------------------------------------------------------------
"Cette communication (y compris les pieces jointes) est reservee a l'usage
exclusif du destinataire (des destinataires) et peut contenir des
informations privilegiees, confidentielles, exemptees de divulgation selon
la loi ou protegees par les droits d'auteur. Si vous n'etes pas un
destinataire, toute utilisation, divulgation, distribution, reproduction,
examen ou copie (totale ou partielle) est non-autorisee et peut etre
illegale. Tout message electronique est susceptible d'alteration et son
integrite ne peut etre assuree. Sanofi Pasteur decline toute
responsabilite au titre de ce message s'il a ete modifie ou falsifie. Si
vous n'etes pas destinataire de ce message, merci de le detruire
immediatement et d'avertir l'expediteur de l'erreur de distribution et de
la destruction du message. Merci.
This transmission (including any attachments) is intended solely for the
use of the addressee(s) and may contain confidential information including
trade secrets which are privileged, confidential, exempt from disclosure
under applicable law and/or subject to copyright. If you are not an
intended recipient, any use, disclosure, distribution, reproduction,
review or copying (either whole or partial) is unauthorized and may be
unlawful. E-mails are susceptible to alteration and their integrity cannot
be guaranteed.Sanofi Pasteur shall not be liable for this e-mail if
modified or falsified. If you are not the intended recipient of this
e-mail, please delete it immediately from your system and notify the
sender of the wrong delivery and the mail deletion. Thank you."
**********************************************************************