Check out Grant Acedrex, our featured variant for April, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Latest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Comments/Ratings for a Single Item

LatestLater Reverse Order EarlierEarliest
Trouble making submissions[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Sat, Mar 12, 2016 05:30 PM UTC:
Your page and msdisplay.php were both last updated a month ago, but
display_user_submission.php was last updated on March 4th. I just modified
this by commenting out each line that applied reverse_htmlentities() to one
of the page content strings, and it fixed your page. I'm not sure why the
code uses this function or how this could affect other pages. I do recall
seeing code for converting page content strings to htmlentities before
writing them to the database, and maybe this was for keeping the SQL string
from being corrupt. But now that I switched the code for writing user
submissions to the database over to PDO with prepared statements, that's no
longer an issue, and I removed the code for converting strings to
htmlentities before writing the SQL string.

H. G. Muller wrote on Sat, Mar 12, 2016 04:47 PM UTC:
I don't know what happened, but it seems my article on interactive diagrams
has been completely corrupted, all less-than signs in it being interpreted
as HTML tags, rather than being printed. I am pretty sure this wasn't the
case when I last touched it. So it seems there is something changed in the
rendering scripts that corrupts the display...

Paolo wrote on Thu, Mar 10, 2016 07:16 PM UTC:
I am not sure what happened, but now it is definitely fine :)
It's added in index/msdisplay.php?itemid=MSthroughthelook

🕸Fergus Duniho wrote on Wed, Mar 9, 2016 02:55 PM UTC:
Paolo,

I'm not aware of any problems right now. If you are, please give me a
step-by-step of what you are doing, including the URL of each page.

Paolo wrote on Wed, Mar 9, 2016 10:01 AM UTC:
Sorry for chipping in again.

I submitted, but the Step 3 just appeared as a blank page; however now the
game categories appear in the "Your Unreviewed Submissions" page, so it's
fine. Right?

🕸Fergus Duniho wrote on Mon, Mar 7, 2016 05:00 PM UTC:
I debugged the script, edited Hexgi to use three-color boards, and returned
the authorship to you. Note that the ending period, which you didn't
include in your quotation of what you need to add, is a very important part
of the checker pattern. It is not a mere divider. The period after each
sequence of colors (identified by digits) tells it to repeat that pattern
for the rest of the rank.

🕸Fergus Duniho wrote on Mon, Mar 7, 2016 04:05 PM UTC:
In order to debug this, I have temporarily made myself the author of Hexgi
listed in the database.

Charles Gilman wrote on Mon, Mar 7, 2016 07:47 AM UTC:
At present I seem unable to edit even the pages that I could edit before - which I have been trying in order to add "&board=210.102.021" to the end of my hex ones as suggested. I am getting the message "This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying. For more information about HTTP errors, see Help." Hopefully this is an unrelated issue which will be resolved soon.

🕸Fergus Duniho wrote on Sat, Mar 5, 2016 01:18 AM UTC:
I changed the scripts from mysql to PDO, and I changed the FORM action to a
full URL, and it still didn't fix the problem. So I then turned to testing
the data sent for "125 Percent Shogi and 125 Percent Xiang Qi." I deleted
each field in turn until I stopped getting a 403 error. It was something in
the Setup field that was the problem. I then deleted parts of Setup until I
isolated what was causing the problem. It came down to the expression
"../../". This appeared twice, and when I changed both to "/", all it
complained about is that I didn't enter the right password. I don't know
why it hiccups over this, but if you will just change your links to use
full URLs, that should eliminate any instance of "../../" and allow your
updates to get through.

Ben Reiniger wrote on Fri, Mar 4, 2016 11:35 PM UTC:
Paolo, I have just responded.

(We seem to occasionally go through long periods with no emails, during
which I tend to get out of the habit of checking the account.  Sorry for
the delay.  And Charles, there was a period before I joined that the emails
were more or less completely unread.  If there's something specific I
should go back and find, let me know.)

🕸Fergus Duniho wrote on Fri, Mar 4, 2016 05:05 PM UTC:
I haven't fixed it yet. I'll let you know when I have.

Charles Gilman wrote on Fri, Mar 4, 2016 03:47 PM UTC:
I am still getting the error, including with 125%...

Regarding Paolo's question, I e-mailed updates to old-style pages years ago that have still not been posted.


Paolo wrote on Fri, Mar 4, 2016 02:37 PM UTC:
About making submissions. I sent a submission email to the chessvar yahoo
address one week ago, how long it usually requires to get an answer?

🕸Fergus Duniho wrote on Fri, Mar 4, 2016 01:03 PM UTC:
A 403 error on an unrelated site doesn't mean that the problem you are
having here goes beyond the CVP. Given that this site is physically located
in the U.K. and the other one is physically located in Sweden, you can bet
that what's happening on that site has nothing to do with what is happening
on this one.

I tried to edit "125 Percent Shogi and 125 Percent Xiang Qi" and got a 403 error like you did. It turns out that the files I updated yesterday are ones available only to editors, and they are not the ones you use. As an editor, I saw links on the screen that you wouldn't see, which led me to a different script. So I will convert the scripts you use to PDO and see if that makes a difference.

Charles Gilman wrote on Fri, Mar 4, 2016 08:00 AM UTC:
It does not seem to have made any difference. If I click on "more information" I get the message "This error (HTTP 403 Forbidden) means that Internet Explorer was able to connect to the website, but it does not have permission to view the webpage. For more information about HTTP errors, see Help."

🕸Fergus Duniho wrote on Thu, Mar 3, 2016 09:46 PM UTC:
Charles, I updated the code in the relevant scripts to access the database
with PDO instead of with mysql functions. Please check if this fixes your
problem with updating some games. If it doesn't, please provide a detailed
report of where it goes wrong and what it says to you.

Charles Gilman wrote on Wed, Mar 2, 2016 07:58 AM UTC:
Pages on which I am getting the 403 error now include 125% Shogi/XQ, BacCanCat, Index B to Man and Beast, Man and Beast 06, Nearlydouble Chess, Pass Variants, and Yonin Toyang Mitregi. Ones that I have succeeded in editing can be seen clearly on the list of recent updates. Being unsuccessful is all the more annoying now that the advice "Please don't use JavaScript, multiple images, or Ascii Art" is given, as for the most part this is what I am trying to remedy!

Charles Gilman wrote on Wed, Feb 10, 2016 07:57 AM UTC:
I have had error 403 again, this time with two pages that have no comments - BacCancat and Pass Variants. Any ideas, anyone?

Ben Reiniger wrote on Thu, Jan 28, 2016 06:24 PM UTC:
Hmm, I get the 403 error too, whether I try to edit as an editor (which
uses a different script) or as you (which would give an error since I
haven't entered your password; either the 403 overrides that error or the
script doesn't make it to that point).

It's odd that it happens for the same script but different itemIDs.

Oh, and the garbled version of your page that shows after submitting was added by Fergus to help debug (some other?) problem(s).

Charles Gilman wrote on Thu, Jan 28, 2016 08:08 AM UTC:
Well I have no trouble editing Hourglass Hex Chess, which is a bigger file than Nearlydouble. Unfortunately that appears to demolish both our theories, as Hourglass Hex has comments as well!

When my attempt to edit fails I get error 403. When it is successful a garbled version of the variant appears on the next page - but with the "view submission" link at the bottom so that I can continue to the page as edited.


Ben Reiniger wrote on Tue, Jan 26, 2016 12:09 PM UTC:
Can you describe exactly what happens when you try to submit an edit?

You said earlier that perhaps it's because the text boxes contain too much.
 Apparently that is possible, if unlikely: the maximum size of a "text"
type entry in our database is ~65000 characters.

I would not expect it to have anything to do with whether the item has been commented on or not.

Charles Gilman wrote on Tue, Jan 26, 2016 07:40 AM UTC:
What it does not fix is my inability to edit certain pages. One that I did succeed with was Flyover Xiang Qi, on which I moved some text from the Notes to the introduction to move the array diagram lower down. I notice that it did not have any comments, whereas the pages that I have failed to edit do have some, so it looks like comments might be part of the issue.

Charles Gilman wrote on Tue, Jan 26, 2016 07:33 AM UTC:
You're quite right! I had to change the JavaScript setting for an entirely different reason and it has the side-effect of making the diagrams visible. Oh, well, that panic at least is over.

🕸Fergus Duniho wrote on Mon, Jan 25, 2016 02:41 PM UTC:
I can see the ffen diagrams on the Nearlydouble Chess page. So I expect
your browser is having some trouble with JavaScript. If you can't switch
computers, then I would suggest switching browsers or at least making sure
JavaScript is working in your current browser.

25 comments displayed

LatestLater Reverse Order EarlierEarliest

Permalink to the exact comments currently displayed.