Opened 17 years ago
Closed 17 years ago
#5737 closed defect (duplicate)
Missing or invalid form token. Do you have cookies enabled?
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | general | Version: | |
Severity: | major | Keywords: | |
Cc: | rnc000@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I continuall get this error on Version 10.3 when submitting any ticket or modifying the timeline. I even get it when login is attempted even though I am ussing no authentication mode on this new install.
I have googled this problem to no avail as noone seems to have a fix.
Is there a work around for this?
Thanks
Attachments (0)
Change History (8)
comment:1 by , 17 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 by , 17 years ago
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
I have all cookies enabled, No authorization and using IE 6.0 and I still get this error on every change to a ticket. I upgraded to Verison 10.4 and have the same problem.
Checking Google, there are a number of other people with the same problem although it is intermittent on thiers. It always happens on this system
Here is the setup info for Apache: Apache version Apache/2.2.4 (Win32) DAV/2 mod_python/3.2.10 Python/2.4.4 Apache threaded MPM Yes, maximum 250 threads / process Apache forked MPM No (single process MPM) Apache server root C:/Program Files/Apache Software Foundation/Apache2.2 Apache document root C:/Program Files/Apache Software Foundation/Apache2.2/htdocs Apache error log C:/Program Files/Apache Software Foundation/Apache2.2\logs/error.log (view last 100 lines) Python sys.version 2.4.4 (#71, Oct 18 2006, 08:34:43) [MSC v.1310 32 bit (Intel)] Python sys.path /mpinfo/ /trac/ C:\Python24\lib\site-packages\clearsilver-0.9.14-py2.4-win32.egg C:\Python24\lib\site-packages\pysqlite-2.3.5-py2.4-win32.egg C:\Python24\lib\site-packages\svn_python-1.4.0-py2.4-win32.egg C:\Python24\lib\site-packages\setuptools-0.6c6-py2.4.egg C:\WINDOWS\system32\python24.zip C:\Python24\Lib C:\Python24\DLLs C:\Python24\Lib\lib-tk C:\Program Files\Apache Software Foundation\Apache2.2 C:\Program Files\Apache Software Foundation\Apache2.2\bin C:\Python24 C:\Python24\lib\site-packages Python interpreter name SVN3_wks.taproot.morrisville.taprootsystems.com mod_python.publisher available Yes mod_python.psp available Yes
Request input headers Key Value Accept image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/msword, */* Accept-Language en-us UA-CPU x86 Accept-Encoding gzip, deflate User-Agent Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322) Host svn3_wks Connection Keep-Alive
Request environment Key Value TRAC_ENV /python24/scripts/trac/whs GATEWAY_INTERFACE CGI/1.1 SERVER_PROTOCOL HTTP/1.1 REQUEST_METHOD GET QUERY_STRING REQUEST_URI /mpinfo SCRIPT_NAME /mpinfo HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/msword, */* HTTP_ACCEPT_LANGUAGE en-us HTTP_UA_CPU x86 HTTP_ACCEPT_ENCODING gzip, deflate HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322) HTTP_HOST svn3_wks HTTP_CONNECTION Keep-Alive PATH C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Subversion\bin;C:\Python24 SystemRoot C:\WINDOWS COMSPEC C:\WINDOWS\system32\cmd.exe PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH WINDIR C:\WINDOWS SERVER_SIGNATURE SERVER_SOFTWARE Apache/2.2.4 (Win32) DAV/2 mod_python/3.2.10 Python/2.4.4 SERVER_NAME svn3_wks SERVER_ADDR 192.168.25.110 SERVER_PORT 80 REMOTE_ADDR 192.168.25.110 DOCUMENT_ROOT C:/Program Files/Apache Software Foundation/Apache2.2/htdocs SERVER_ADMIN kasbury@… SCRIPT_FILENAME C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/mpinfo REMOTE_PORT 1185
Request configuration Key Value
Request options Key Value
Request notes Key Value python_init_ran 1
Server configuration Key Value
Server options Key Value
Server configuration tree Listen 80 ServerName SVN3_wks.taproot.morrisville.taprootsystems.com:80 ServerAdmin kasbury@… DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs" ThreadsPerChild 250 MaxRequestsPerChild 0
Order allow,deny Deny from all
Alias /trac/chrome/common \Python24\share\trac\htdocs
Order allow,deny Allow from all
SetEnv TRAC_ENV /python24/scripts/trac/whs
SetHandler mod_python PythonHandler mod_python.testhandler
SetHandler mod_python PythonHandler trac.web.modpython_frontend PythonOption TracEnv /python24/scripts/trac/whs PythonOption TracUriRoot /trac
ErrorLog "logs/error.log" LogLevel warn DefaultType text/plain
Options FollowSymLinks Deny from all Order deny,allow AllowOverride None Satisfy all
Options ExecCGI FollowSymLinks Indexes Allow from all Order allow,deny AllowOverride All
Options None Allow from all Order allow,deny AllowOverride None
AliasMatch /manual(?:/(?:de|en|es|fr|ja|ko|pt-br|ru))?(/.*)?$ "C:/Program Files/Apache Software Foundation/Apache2.2/manual$1"
Options Indexes AllowOverride None Order allow,deny Allow from all
SetHandler type-map
SetEnvIf Request_URI /manual/(de|en|es|fr|ja|ko|pt-br|ru)/ prefer-language=$1 RedirectMatch 301 /manual(?:/(de|en|es|fr|ja|ko|pt-br|ru)){2,}(/.*)?$ /manual/$1$2 LanguagePriority en de es fr ja ko pt-br ru ForceLanguagePriority Prefer Fallback
IndexOptions FancyIndexing HTMLTable VersionSort Alias /icons/ "C:/Program Files/Apache Software Foundation/Apache2.2/icons/"
Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip AddIconByType (TXT,/icons/text.gif) text/* AddIconByType (IMG,/icons/image2.gif) image/* AddIconByType (SND,/icons/sound2.gif) audio/* AddIconByType (VID,/icons/movie.gif) video/* AddIcon /icons/binary.gif .bin .exe AddIcon /icons/binhex.gif .hqx AddIcon /icons/tar.gif .tar AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip AddIcon /icons/a.gif .ps .ai .eps AddIcon /icons/layout.gif .html .shtml .htm .pdf AddIcon /icons/text.gif .txt AddIcon /icons/c.gif .c AddIcon /icons/p.gif .pl .py AddIcon /icons/f.gif .for AddIcon /icons/dvi.gif .dvi AddIcon /icons/uuencoded.gif .uu AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl AddIcon /icons/tex.gif .tex AddIcon /icons/bomb.gif core AddIcon /icons/back.gif .. AddIcon /icons/hand.right.gif README AddIcon /icons/folder.gif DIRECTORY AddIcon /icons/blank.gif BLANKICON DefaultIcon /icons/unknown.gif ReadmeName README.html HeaderName HEADER.html IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t DirectoryIndex index.html LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common CustomLog logs/access.log common ScriptAlias /cgi-bin/ "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/" TypesConfig "conf/mime.types" AddType application/x-compress .Z AddType application/x-gzip .gz .tgz
Here is the trac.ini settings I am using
# -*- coding: utf-8 -*-
[attachment] max_size = 262144 render_unsafe_content = false
[browser] downloadable_paths = /trunk, /branches/*, /tags/* hide_properties = svk:merge
[changeset] max_diff_bytes = 10000000 max_diff_files = 0 wiki_format_messages = true
[header_logo] alt = height = -1 link = http://taprootsystems.com/ #src = common/Taprootsystems.bmp src = common/trac_banner.png width = -1
[logging] log_file = trac.log log_level = DEBUG log_type = none
[mimeviewer] enscript_modes = text/x-dylan:dylan:4 enscript_path = enscript max_preview_size = 262144 mime_map = text/x-dylan:dylan,text/x-idl:ice,text/x-ada:ads:adb php_path = php silvercity_modes = tab_width = 8
[notification] always_notify_owner = true always_notify_reporter = true always_notify_updater = false mime_encoding = base64 smtp_always_bcc = smtp_always_cc = smtp_default_domain = taprootsystems.com smtp_enabled = false smtp_from = trac@… smtp_password = smtp_port = 25 smtp_replyto = trac@… smtp_server = smtp.taprootsystems.com smtp_subject_prefix = default smtp_user = use_public_cc = false use_short_addr = false use_tls = false
[project] descr = TapRoot Systems - Walking HotSpot footer = Visit the Trac open source project at<br /><a href="http://trac.edgewall.org/">http://trac.edgewall.org/</a> icon = common/trac.ico name = Whs url = http://svn3_wks/trac
[search] min_query_length = 3
[ticket] default_component = default_milestone = default_priority = major default_type = defect default_version = restrict_owner = false
[timeline] changeset_long_messages = true changeset_show_files = 0 default_daysback = 30 ticket_show_details = false
[trac] authz_file = authz_module_name = base_url = check_auth_ip = true database = sqlite:db/trac.db default_charset = iso-8859-15 default_handler = WikiModule htdocs_location = ignore_auth_case = true #ignore_auth_case = false mainnav = wiki,timeline,roadmap,browser,tickets,newticket,search metanav = login,logout,settings,help,about permission_store = DefaultPermissionStore repository_dir = c:\repository_share\projx repository_type = svn # request_filters = <set in global trac.ini> # templates_dir = <set in global trac.ini> timeout = 20
[wiki] ignore_missing_pages = false split_page_names = false
Any help is appreciated as I have tried all I can think of that would cause this problem. I am running on Windowx XP SP2
comment:4 by , 17 years ago
Having the same problem, using the latest 0.11dev checkout.
Server: Windows 2003 Server -Apache 2.2.4 -Python 2.5.1 -SVN 1.4.4 -SSPI authentication
Client: -IE 7: bug exists -FF: bgu does NOT exist — but I also must go through a login/passwd dialog at Trac login, so perhaps something about the "autologin" capability of IE (forwarding on the currently signed on users creds for login) is preventing/skipping the requisite cookie from being created?
comment:5 by , 17 years ago
Priority: | normal → high |
---|---|
Severity: | normal → major |
comment:6 by , 17 years ago
Cc: | added |
---|
comment:7 by , 17 years ago
Same here: Windows 2003 Server -Apache 2.0 -Python 2.4 - SSPI authentication Client: IE 7
Cookies are required. Check your browser settings.