Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
2.6k views
in Q2A Core by

I get a lot of file not found errors, having referrers such as:

mydomain.com/index.php/url/test/%24%26-_%7E%23%25%5C%40%5E%2A%28%29%3D%21%28%29%5D%5B%60%27%3B%3A%7C%22.%7B%7D%2C%3C%3E%3F%23+%CF%80%C2%A7%C2%BD%D0%96%D7%A9?dummy=&param=%24%26-_%7E%23%25%5C%40%5E%2A%28%29%3D%21%28%29%5D%5B%60%27%3B%3A%7C%22.%7B%7D%2C%3C%3E%3F%23+%CF%80%C2%A7%C2%BD%D0%96%D7%A9

I tried to locate the "dummy" part in the php core, and found it in qa-page-admin-default.php with:

                    foreach ($rawoptions as $rawoption)
                        $neatoptions[$rawoption]=
                            '<IFRAME SRC="'.qa_path_html('url/test/'.QA_URL_TEST_STRING, array('dummy' => '', 'param' => QA_URL_TEST_STRING), null, $rawoption).'" WIDTH="20" HEIGHT="16" STYLE="vertical-align:middle; border:0" SCROLLING="no" FRAMEBORDER="0"></IFRAME>&nbsp;'.
                            '<SMALL>'.
 

Can somebody explain what that means?

Q2A version: 1.5

1 Answer

+1 vote
by
This is happening as a result of the part of the admin interface which tests out different URL schemes to see which works on your setup, and shows OK for those that do work. You can ignore these errors.
by
Thanks for your fast reply. Can I just disable that without consequences? i.e. $neatoptions[$rawoption]= '';
by
Yes, won't cause you any problems - the OKs will just disappear.
by
Was causing problems in the admin >general section: URL structure disappeared, see post at: http://www.question2answer.org/qa/12921/administration-center-general-structure-showing-anymore
by
Yes, you should just remove the bit from <IFRAME> ...to... </IFRAME>
by
Thank you gidgreen! The "OKs" in front of the URLs Structure List disappeared though, but that's no problem.

Good to have one error less in the error log ;)
...