2.2.0a1 won't work with query objects
Hi, all, I tried compiling 2.2.0a1 straight out of the box on Solaris 7. Everything worked great until I tried querying a tiny table or MySQL database. The following code causes Zope to prompt me for a login, and no matter what user name I use (even the superuser), it comes back "unauthorized." <dtml-in smalltable> <dtml-var myvariable> </dtml-in> If I take out the <dtml-in> section, my pages pops right up. Any ideas? Sincerely, T.J. Mannos Salt Lake Community College
In article <000401bfc224$475de410$8119adcf@Pooky>, T.J. Mannos <wmannotj@WWW.SLCC.edu> writes
Hi, all,
I tried compiling 2.2.0a1 straight out of the box on Solaris 7. Everything worked great until I tried querying a tiny table or MySQL database. The following code causes Zope to prompt me for a login, and no matter what user name I use (even the superuser), it comes back "unauthorized."
<dtml-in smalltable> <dtml-var myvariable> </dtml-in>
If I take out the <dtml-in> section, my pages pops right up. Any ideas?
Sincerely, T.J. Mannos Salt Lake Community College
... I have the same problem. I find it impossible to even add tinytables. -- Robin Becker
I have started with clean 2.2.0a1 and have then created an admin user. As this user I have imported my old 2.0 exported database. I have given anonymous rights to query Tinytables, but am still forced to attempt to login. Even when I have logged in as the admin user I get an error message I suppose from the dtml fragment <dtml-in NavData> .... </dtml-in> Zope Error Zope has encountered an error while publishing this resource. Unauthorized Sorry, a Zope error occurred. Traceback (innermost last): File C:\Python\Zope\lib\python\ZPublisher\Publish.py, line 224, in publish_module File C:\Python\Zope\lib\python\ZPublisher\Publish.py, line 189, in publish File C:\Python\Zope\lib\python\ZPublisher\Publish.py, line 175, in publish File C:\Python\Zope\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: index_html) File C:\Python\Zope\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: index_html) File C:\Python\Zope\lib\python\OFS\DTMLMethod.py, line 160, in __call__ (Object: index_html) File C:\Python\Zope\lib\python\DocumentTemplate\DT_String.py, line 500, in __call__ (Object: index_html) File C:\Python\Zope\lib\python\DocumentTemplate\DT_In.py, line 682, in renderwob (Object: NavData) Unauthorized: 0 -- Robin Becker
In article <PnFpYJA$SlK5Ewfp@jessikat.demon.co.uk>, Robin Becker <robin@jessikat.demon.co.uk> writes
I have started with clean 2.2.0a1 and have then created an admin user. As this user I have imported my old 2.0 exported database.
I have given anonymous rights to query Tinytables, but am still forced to attempt to login. Even when I have logged in as the admin user I get an error message I suppose from the dtml fragment
<dtml-in NavData> .... </dtml-in> .... If I force validate to be None inside DT_In.py (renderwob) then I can at least get a dtml-in TinyTable to work. It seems as though the tinytable product is broken in some way. Anybody know what how etc? -- Robin Becker
participants (2)
-
Robin Becker -
T.J. Mannos