View Issue Details

IDProjectCategoryView StatusLast Update
0025364mantisbtintegrationpublic2022-06-12 09:10
Reportertruefriend-cz Assigned Todregad  
PriorityurgentSeverityblockReproducibilityrandom
Status closedResolutionno change required 
Product Version2.19.0 
Summary0025364: APPLICATION ERROR #2800
Description

If adding two report after 5 minuts else show this error:

APPLICATION ERROR #2800

Invalid form security token. This could be caused by a session timeout, or accidentally submitting the form twice.
Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.

Steps To Reproduce

I have add in config_inc.php
$g_form_security_validaton = OFF;

no effect.

Detailed error information

Full path: /var/home/domain.tld/public_html/bugs/core/form_api.php
Line number: 180

Stack trace

Filename Line Class Type Function Args

0 /var/home/domain.tld/public_html/bugs/core/form_api.php 180 - - trigger_error <string>'2800', <integer>256
1 /var/home/domain.tld/public_html/bugs/bug_report.php 55 - - form_security_validate <string>'bug_report'

Additional Information

Solving clean all cache and cookies, but i must every after adding report. And now login and report repeatedly.
..."Ideal problem for manual migration."

TagsNo tags attached.

Activities

truefriend-cz

truefriend-cz

2019-01-21 14:13

reporter   ~0061262

Last edited: 2019-01-21 16:22

...Show this error anytime. After 5 seconds, after 5-15 minutes, etc.

Problem tested on 2.5 servers.

  1. webhosting provider service
  2. localhost on XAMPP server, and USBWebserver V8
truefriend-cz

truefriend-cz

2019-01-22 00:02

reporter   ~0061267

Last edited: 2019-01-22 00:03

Next testing:
Problem create file htaccess rule (https://www.mantisbt.org/bugs/view.php?id=25237)
for removing subdirectory of script from URL.
This two rules:

RewriteCond %{THE_REQUEST} ^GET\ /([a-z0-9_-]+)/ [NC]
RewriteRule ^(.*)/(.*) /$2 [L,R=301]

I dont used for accessing htaccess subdomains in format www.domain.tld/bug/
but i am using format:
bug.domain.tld

where htaccess rewrite subdirectory to subdomain.
All my project in subdirectories no problem but Mantis have problem. Left menu adding to URL path subdirectories. Navbar, where is "blue buttons" not have contain in URL subfolder but link to .php file directly (withl .htaccess)

This is complete htaccess file in root directory:

Options +FollowSymLinks
RewriteEngine On
RewriteBase /

# subdomain to directory
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTP_HOST} ^(\w+)\. [NC]
RewriteCond %{REQUEST_URI}:%1 !^/([^/]+)/([^:]*):\1
RewriteRule ^(.*)$ /%1/$1 [QSA]

# subdomain to directory - solving problem with show directories in URL (have problems with specialize systems, 1. MantisBT)
RewriteCond %{THE_REQUEST} ^GET\ /([a-z0-9_-]+)/ [NC]
RewriteRule ^(.*)/(.*) /$2 [L,R=301]
dregad

dregad

2022-05-28 06:08

developer   ~0066651

See https://mantisbt.org/docs/master/en-US/Admin_Guide/html-desktop/#admin.troubleshooting.errors.2800