Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: naan on January 21, 2011, 08:25:37 AM

Title: Unable to verify referring url. Please go back and try again. Error!
Post by: naan on January 21, 2011, 08:25:37 AM
Who know what this error means?
What can i do?


"Ungültige Referring Site. Bitte gehen Sie zurück und versuchen Sie es erneut."




in english:
An Error Has Occurred!
Unable to verify referring url. Please go back and try again.



This i get, when i try to delete older messages in only some boards with the administration center

i want to delete themes which are older then 360 day in a speziell sell/buy board.
or there is no answer since 360 days.

Title: Re: Ungültige Referring Site. error!!
Post by: Illori on January 21, 2011, 10:20:01 AM
you might get better support if your whole post was in english or you posted in your languages support board.
Title: Re: Ungültige Referring Site. error!!
Post by: MrPhil on January 23, 2011, 03:36:42 PM
In English, the message is Referring Site invalid. Please go back and try again. (Google Translate)

"speziell" is "specific[ally]"
Title: Unable to verify referring url. Please go back and try again. error!!
Post by: naan on January 24, 2011, 04:36:25 AM
Sorry but i got no answer in german.


i want to delet threads, which are without answer since 360 days.
I go in the admin center for this.


Fiat Scudo Peugeot Expert Citroen Jumpy PSA-Forum » Administration Center » Forum Maintenance » Topics




Then i choose spezial boards and say delete all threads which als more then 360 days without an answer.
Then i got a popup window who ask me, if i really want to do this.
When i say yes, i get this error in english.


An Error Has Occurred!
Unable to verify referring url. Please go back and try again.
Title: Re: Ungültige Referring Site. error!! Invalid Referring Site
Post by: Arantor on January 24, 2011, 04:43:26 AM
Log out then log back in, and try again.

If that doesn't work, please confirm what version of SMF you're using.
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: naan on January 24, 2011, 04:55:27 AM
Error!

An Error Has Occurred!
Unable to verify referring url. Please go back and try again.



i logout and login, try again
i delete the cache in firefox
i rename the cookie

always the same error

I try it in smf 2.0 RC3 and in smf RC4.

i have a testforum here with RC4:
http://www.werk24.org/sevel/

My real forum in under http://www.naan.de/forum/
it is the version RC3

In both boards i get the error message.
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: naan on February 11, 2011, 07:10:47 AM
Unable to verify referring url. Please go back and try again. Error!

is there a solution?
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: Arantor on February 11, 2011, 07:43:35 AM
See: http://www.simplemachines.org/community/index.php?topic=415940.0 for more. It's the exact same issue.
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: David8 on February 13, 2011, 06:14:35 PM
Quote from: Arantor on February 11, 2011, 07:43:35 AM
See: http://www.simplemachines.org/community/index.php?topic=415940.0 for more. It's the exact same issue.

I found a solution to my version of this issue.  It was created by Ad Seller Pro which was changing a variable, $_SESSION[old_url], that SMF was relying on to perform the validity check on the referring URL.  A fix was posted on the Ad Seller Pro support site.  Check my thread for details.
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: naan on February 14, 2011, 09:24:30 AM
But i have no modification like this!!!

i have only installed this mods:
-Resize Attached Images
-Deutsche Kalender Tage!


On a test site i update to rc4 an use no mods.
The problem is the same.
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: Arantor on February 14, 2011, 09:29:27 AM
And are you running security software on your PC?
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: naan on February 15, 2011, 03:38:28 AM
yes i have avira antivir.
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: Arantor on February 15, 2011, 03:46:26 AM
And if you turn it off temporarily does it work then?
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: naan on February 15, 2011, 04:08:26 AM
no, error is there
also without avira
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: naan on February 15, 2011, 04:13:40 AM
When i use ie8 i get an error only to be on the site with themes:

../sevel/index.php?action=admin;area=maintain;sa=topics;bc65a00f=31eded066f449d70b90f32287445eec8


» Administration Center » Forum Maintenance » Topics



----------------------------------

Details zum Fehler auf der Webseite

Benutzer-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; Tablet PC 2.0)
Zeitstempel: Tue, 15 Feb 2011 09:10:00 UTC


Meldung: Nicht abgeschlossene Zeichenfolgenkonstante
Zeile: 582
Zeichen: 310
Code: 0
URI: http://www.naan.de/sevel/index.php?action=admin;area=maintain;sa=topics;bc65a00f=31eded066f449d70b90f32287445eec8




i get the error only when i use german_utf8

Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: naan on February 15, 2011, 04:16:37 AM
the error i get, when i want to remove old topics is also there:

An Error Has Occurred! Unable to verify referring url. Please go back and try again.





Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: Arantor on February 15, 2011, 04:18:42 AM
Firstly, PLEASE have patience. Three messages in 9 minutes, especially considering that I don't read German doesn't help me to help you. Yes, I realise you still have the error regarding referring URL.

What are the privacy options set to for IE8? (since that's what you seem to be using)
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: naan on February 15, 2011, 04:47:04 AM
Normaly i use firefox 3.5.7

i only try ie8 because it dont't work.
in ie8 i don't make privacy options.
it is all in the middle position. standard
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: Arantor on February 15, 2011, 05:00:50 AM
And you're not using InPrivacy or anything in IE8...?
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: naan on February 15, 2011, 05:17:39 AM
yes!


The error in IE8 say:

Line 583 in the index.php is wrong.



Line 583 called in de_utf8:
<span><input type="submit" value="Jetzt verschieben" onclick="if (document.getElementById('id_board_from').options[document.getElementById('id_board_from').selectedIndex].disabled || document.getElementById('id_board_from').options[document.getElementById('id_board_to').selectedIndex].disabled) return false; var confirmText = 'Sind Sie sicher, dass Sie ALLE Themen von "%board_from%" zu "%board_to%" verschieben möchten?'; return confirm(confirmText.replace(/%board_from%/, document.getElementById('id_board_from').options[document.getElementById('id_board_from').selectedIndex].text.replace(/^=+&gt;&nbsp;/, '')).replace(/%board_to%/, document.getElementById('id_board_to').options[document.getElementById('id_board_to').selectedIndex].text.replace(/^=+&gt;&nbsp;/, '')));" class="button_submit" /></span>


Line 583 called in en_EN
<span><input type="submit" value="Move now" onclick="if (document.getElementById('id_board_from').options[document.getElementById('id_board_from').selectedIndex].disabled || document.getElementById('id_board_from').options[document.getElementById('id_board_to').selectedIndex].disabled) return false; var confirmText = 'Are you sure you want to move ALL the topics from &quot;%board_from%&quot; to &quot;%board_to%&quot;?'; return confirm(confirmText.replace(/%board_from%/, document.getElementById('id_board_from').options[document.getElementById('id_board_from').selectedIndex].text.replace(/^=+&gt;&nbsp;/, '')).replace(/%board_to%/, document.getElementById('id_board_to').options[document.getElementById('id_board_to').selectedIndex].text.replace(/^=+&gt;&nbsp;/, '')));" class="button_submit" /></span>
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: Arantor on February 15, 2011, 05:21:51 AM
And how is that wrong, exactly? The only thing I can see is the string isn't entity escaped, but that's not the cause of not referring the action in the URL.
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: naan on February 15, 2011, 05:28:30 AM
ok, i think the error in ie8 has nothing to do with the problem to delete older topics.

i normally use firefox.


the problem is to delete older topic in speziall boards.

that don't work in my smf 2.0 rc3 (two mods)
don't work in my test smf 2.0rc4 (no mods)
don't work in my upgraded test smf 2.0 rc5 (no mods)

naan.de/sevel

test smf
werk24.org/sevel
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: Arantor on February 15, 2011, 05:30:26 AM
Quoteok, i think the error in ie8 has nothing to do with the problem to delete older topics.

Correct, like I just said.

So it doesn't work on multiple sites, and am I correct in understanding it doesn't work in IE or FF, regardless of version?
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: naan on February 15, 2011, 05:38:51 AM
yes it is not possible to delete older topics.


This is what i do:

I go to my smf forum.
I login as admin
I go to the topmenü "admin"
I go to the menü "Forum Maintenance"
I go to the menü "Topics"
I want to Remove all topics not posted in for 360 days, which are:
-Any sort of topic.
In specific Boards
i choose two boards

Then i click
"remove now"

Then a popup say to me: you really want to do?
I say "ok"

Then i get the error:


An Error Has Occurred!
Unable to verify referring url. Please go back and try again.


i go back and try again.

Then i get the error:





Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: Arantor on February 15, 2011, 05:46:30 AM
Yes, I realise all that.

I also know that for some reason, the HTTP_REFERER isn't including action=admin. Which makes me think there is some kind of security software, firewall, proxy server or something damaging/removing that header.
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: naan on February 15, 2011, 05:58:03 AM
hmm!??


i use here a speedport router from the german telekom

http://www.telekom.de/dlp/eki/downloads/Speedport/Speedport%20W%20701%20V/bedanl_Speed_W701V_Stand%2010_07.pdf

since more then 5 years.


at home i use a fritzbox 7170
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: Arantor on February 15, 2011, 06:07:33 AM
That's a modem, not a firewall.
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: naan on February 15, 2011, 06:26:46 AM
that is router and normally this have a firewall included.

http://www.avm.de/en/Produkte/FRITZBox/FRITZ_Box_Fon_WLAN/index.php


But i use this router a long time without problems.
i do nothing change on the installation in my network
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: Arantor on February 15, 2011, 06:37:51 AM
I didn't specifically say THAT firewall. But many software firewalls remove the HTTP_REFERER in the name of 'security', Norton packages especially.
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: naan on February 15, 2011, 07:00:37 AM
ok
firewall can be on router and in win7 i use

i try now from an old pc with suse 11.3 on it without firewall.
linux system with firefox as browser.

it don't work.
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: Arantor on February 15, 2011, 07:05:55 AM
And you're not using a proxy service? And your router doesn't change the headers it sends through?
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: naan on February 15, 2011, 07:34:41 AM
i don't know exactly
:(
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: Arantor on February 15, 2011, 07:35:42 AM
OK, so on Firefox, do you have Firebug installed?
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: naan on February 15, 2011, 08:00:36 AM
now i have firefox 3.6.13 and firebug installed
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: Arantor on February 15, 2011, 08:16:15 AM
OK, so open up Firebug, enable networking for your site, then browse, trying to carry out the operation you did before. This time, as you do the different steps, you should see the different requests being carried out in the pane at the bottom.

Most importantly, when you press the button, there should be a POST request to the page to carry out the operation - where it errors out on you. If you could do that step, then copy/paste the 'Headers' of that POST request here so I can see what's being requested of the server.
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: naan on February 15, 2011, 08:23:17 AM
Date   Tue, 15 Feb 2011 13:21:05 GMT
Server   Apache/2.0.54 (Debian GNU/Linux) mod_ssl/2.0.54 OpenSSL/0.9.7e PHP/5.2.9
X-Powered-By   PHP/5.2.9
Expires   Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control   private
Pragma   no-cache
Location   ../sevel/index.php?Themes/default/images/blank.gif
Connection   close
Transfer-Encoding   chunked
Content-Type   text/html
Anfrage-HeaderQuelltext anzeigen
Host   www.naan.de
User-Agent   Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept   image/png,image/*;q=0.8,*/*;q=0.5
Accept-Language   de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding   gzip,deflate
Accept-Charset   ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive   115
Connection   keep-alive
Referer   ../sevel/index.php?action=admin;area=maintain;sa=topics;activity=pruneold
Cookie   SMFCookie827=a%3A4%3A%7Bi%3A0%3Bs%3A1%3A%222%22%3Bi%3A1%3Bs%3A40%3A%22ce7a4c49f10b4b4744cd9d20f136cabf04e2cc8f%22%3Bi%3A2%3Bi%3A1486990490%3Bi%3A3%3Bi%3A2%3B%7D; PHPSESSID=a3p456p9ffu3d9577cfs26gvu7; 9cfad3a75c0f5fd14f9dfb03fe0c37fb=rt6dm0qmso96q3thb0cnbdi675

-----
Host:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: ../sevel/index.php?action=admin;area=maintain;sa=topics;activity=pruneold
Cookie: SMFCookie827=a%3A4%3A%7Bi%3A0%3Bs%3A1%3A%222%22%3Bi%3A1%3Bs%3A40%3A%22ce7a4c49f10b4b4744cd9d20f136cabf04e2cc8f%22%3Bi%3A2%3Bi%3A1486990490%3Bi%3A3%3Bi%3A2%3B%7D; PHPSESSID=a3p456p9ffu3d9577cfs26gvu7; 9cfad3a75c0f5fd14f9dfb03fe0c37fb=rt6dm0qmso96q3thb0cnbdi675

---------------------------------------


i think/hope you mean this

../sevel/index.php?action=admin;area=maintain;sa=topics;activity=pruneold

Antwort-HeaderQuelltext anzeigen
Date   Tue, 15 Feb 2011 13:25:47 GMT
Server   Apache/2.0.54 (Debian GNU/Linux) mod_ssl/2.0.54 OpenSSL/0.9.7e PHP/5.2.9
X-Powered-By   PHP/5.2.9
Expires   Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control   private
Pragma   no-cache
Last-Modified   Tue, 15 Feb 2011 13:25:47 GMT
Connection   close
Transfer-Encoding   chunked
Content-Type   text/html; charset=UTF-8
Anfrage-HeaderQuelltext anzeigen
Host   ??
User-Agent   Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept   text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language   de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding   gzip,deflate
Accept-Charset   ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive   115
Connection   keep-alive
Referer   ../sevel/index.php?action=admin;area=maintain;sa=topics;b2e886d8f4=d83a8e658e05692e5710cfa68d873119
Cookie   SMFCookie827=a%3A4%3A%7Bi%3A0%3Bs%3A1%3A%222%22%3Bi%3A1%3Bs%3A40%3A%22ce7a4c49f10b4b4744cd9d20f136cabf04e2cc8f%22%3Bi%3A2%3Bi%3A1486990490%3Bi%3A3%3Bi%3A2%3B%7D; PHPSESSID=a3p456p9ffu3d9577cfs26gvu7; 9cfad3a75c0f5fd14f9dfb03fe0c37fb=rt6dm0qmso96q3thb0cnbdi675
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: Arantor on February 15, 2011, 08:32:27 AM
So what was the POST instruction? Was it POST /sevel/index.php?action=admin;area=maintain;sa=topics;activity=pruneold there too?

/me is very confused, since the referer is there as it should be, the session has retained integrity (otherwise it would have failed sooner)

As a workaround, you can replace this in RemoveTopic.php

// So long as you are sure... all old posts will be gone.
function RemoveOldTopics2()
{
global $modSettings, $smcFunc;

isAllowedTo('admin_forum');
checkSession('post', 'admin');


with
// So long as you are sure... all old posts will be gone.
function RemoveOldTopics2()
{
global $modSettings, $smcFunc;

isAllowedTo('admin_forum');
checkSession('post');


But it does reduce your security if you do that.
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: naan on February 15, 2011, 09:03:06 AM
yes now ist works


http://www.naan.de/sevel/index.php?board=4.80

there are no topics older than 360 days


but i put the old file with
checkSession('post', 'admin');
on the server after i remove the old topics.



Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: Arantor on February 15, 2011, 09:03:18 AM
Yeah, that works.
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: naan on February 15, 2011, 09:34:30 AM
Do you not have the problem?
I'am really allone with that?
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: Arantor on February 15, 2011, 09:34:49 AM
No, I don't have the problem.
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: naan on February 28, 2011, 06:14:25 AM
i always have the problem.

:(


i use rc5 without mods


Forum Version: SMF 2.0 RC5 (ausführlicher)
Aktuelle SMF Version: SMF 2.0 RC5
GD Version: bundled (2.0.34 compatible)
MySQL Version: 5.0.32-Debian_7etch5
PHP: 5.2.17
Server Version: Apache/2.0.54 (Debian GNU/Linux) mod_ssl/2.0.54 OpenSSL/0.9.7e PHP/5.2.17



Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: naan on September 28, 2011, 08:16:01 AM
Now i have smf 2.0.1

And the problem is always there.
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: naan on March 05, 2012, 05:11:19 AM
Now i use 2.0.2

The problem is the same.

Any solution???
Title: Re: Unable to verify referring url. Please go back and try again. Error!
Post by: Aleksi "Lex" Kilpinen on March 06, 2012, 06:13:34 AM
Most common cause to this error is an outdated theme, with links that will no longer work in more recent versions of SMF. Please try using the default theme, and if that doesn't work - then please identify the exact link that is not working correctly. :)