The Chess Variant Pages
Custom Search




[ 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

Later Reverse Order EarlierEarliest
This item is a miscellaneous item
It belongs to categories: Orthodox chess, 
It was last modified on: 2015-12-11
 Author: Fergus  Duniho. Home page of The Chess Variant Pages. Missing description[All Comments] [Add Comment or Rating]
H. G. Muller wrote on 2020-05-14 UTC

Yes, it worked. I used it to upload the missing kanji-tiles needed by the Dai Shogi and Tengu Dai Shogi articles.


Fergus Duniho wrote on 2020-05-14 UTC

I think I shouldn't have set $itemid to the value of $newid. So I undid that. Try it again now.


H. G. Muller wrote on 2020-05-14 UTC

Ah OK, sorry I did misunderstand that. The response to the URL you gave me was:

authorid is "", authorid2 is "", personid is "HGMuller"

You must be an editor of this site or an author of the item MSchushogi to use this script.

Things have improved a bit since yesterday: the Upload or Manage Files links in the Chu Shogi article now brings me to a nice overview of all the uploaded images. So the problem with the directory naming seems solved. But when I actually try to upload a file, it prints the same message as above.


Fergus Duniho wrote on 2020-05-14 UTC

Since there might be mismatches between other ItemIDs and their corresponding directories, I added some error correction just in case the expected directory is not found. It will try it without any hyphens if the corresponding unhyphenated ItemID does not exist, and if the unhyphenated directory name is then found to exist, it will use it. This will work so long as neither MSchushogi nor membergraphics/MSchu-shogi exist. If you want a more stable solution, we can still replace one with the other.


Fergus Duniho wrote on 2020-05-13 UTC

It looks like there is no general sanitation of itemids in the old upload script. There is sanitation of new itemids, but the way it is presently coded, hyphens are allowed in itemids. For some reason, perhaps because some code was different in the past, there is a mismatch between your itemid and the corresponding graphics folder. The main way for me to fix it is to change one to match the other. I could change MSchu-shogi to MSchushogi, or I could change membergraphics/MSchushogi to membergraphics/MSchu-shogi. The former would have me doing search and replace in the database, and the latter would require you to change some links. If you don't have too many links to change, the latter will be easier. Let me know which I should do.


Fergus Duniho wrote on 2020-05-13 UTC

The issue here is that the itemid is MSchu-shogi, but the directory is /MSchushogi/. There is some santitation of the original itemid before it is used in a directory name, and I have to duplicate that in the new file manager.


Fergus Duniho wrote on 2020-05-13 UTC

I meant the more recent error message that you reported. The first one indicates a wrong value for the itemid, which wasn't a problem with the URL I gave you.


H. G. Muller wrote on 2020-05-13 UTC

It still says the same:

" The directory /membergraphics/MSchu-shogi/ does not exist. "

About which it is absolutely right: it does not exist. If I try to access it directly with the browser I get a 404 error. Problem is that it it wants to put the graphics there, and not in the directory that does exist (where it put it before).


Fergus Duniho wrote on 2020-05-13 UTC

At the point where it prints that error message, I have added a line that prints out some variable values. Would you tell me what that line says?


H. G. Muller wrote on 2020-05-13 UTC

I was using the "Upload or Manage Files" link in the article. If I paste that URL in the address bar it says

"You must be an editor of this site or an author of the item MSchushogi to use this script."


Fergus Duniho wrote on 2020-05-13 UTC

Are you using the new file manager at this url?

https://www.chessvariants.com/index/managefiles.php?itemid=MSchushogi


H. G. Muller wrote on 2020-05-13 UTC

I have a problem uploading graphics. I have made some new images of shogi kanji tiles, and wanted to add those to the existing set in my Chu Shogi article (which currently only covers Chu Shogi). So that the diagrams for larger variants no longer have missing tiles when they use that image set.

Unfortunately the upload script is broken: it complains the directory /membergraphics/MSchu-shogi does not exist. It is probably right about that, because that is also not where the existing images are: these are in /membergraphics/MSchushogi...


Aurelian Florea wrote on 2020-01-28 UTC

ok! Thanks!


Greg Strong wrote on 2020-01-28 UTC

It seems we still have issues with the page edit screen showing cached content.  (I just received another report of this in email.)  I recommind:

1. When you open the page edit screen, click Refresh in your browser to make sure you have the latest copy.

2. Write your text in a word processor and then paste it in.  That way you have a local copy you are not in danger of losing.


Aurelian Florea wrote on 2020-01-28 UTC

Hello,

This is for any editor.

I tried to write new rules for apothecary chess 1 (now I renamed it modern) and apothecary chess 2 (now I renamed it classic). After I first saved I've seen some errors and reopened the files and then saved again. It seems this has let the saved intertwined as now I see both new text and old text. 

I'm not sure why. Have you any idea what happened?


Fergus Duniho wrote on 2019-11-18 UTC

The old version was probably still cached. I have purged it from the cache for you.


H. G. Muller wrote on 2019-11-18 UTC

Something is very wrong! I try to upload an updated betza.js file to the membergraphics/MSinteractive-diagrams. It says "file uploaded successfully". When I point my browser to the MSinteractive-diagrams directory, I see the betza.js file there with today's date. All as expected.

But when I then request the content of the betza.js file, it has not changed. It still gives me the old content, not the one I just uploaded. Flushing my browser's cache, or switching to another browser makes no difference, I keep getting the content of the file that according to its date does no longer exist.


Fergus Duniho wrote on 2019-07-22 UTC

If that is still happening, please provide details on how to replicate the problem. Otherwise, it is hard to know what is going on or how to address it.


Kamafa Delgato wrote on 2019-05-12 UTC

Cloudflare is slowing things down and only showing me a bogus timeout error (I know it's bogus because the site works fine on my other browser) when I use Safari. Please fix this ASAP. --KD


Ben Reiniger wrote on 2019-04-12 UTC

@sxg: Oh no!  I wasn't aware of any such problem, but I also don't know how to look into such local connection issues.  (We were down for about a week a little while ago, but nowhere near the months you're reporting.)

@wody: Many of our Piece articles describe many pieces, and our single-piece Piececlopedia articles are few enough that a random link doesn't seem useful.  But I have been wanting to expand on our piece decscriptions, including some new database tables; if and when I get around to that such a random link would be nice, and I'll be sure to add that.


sxg wrote on 2019-04-09 UTC

Hello,

For the past few months, I have been unable to connect to the website for the past few months in my region (Ireland), when I tried to connect I got a server-side error. Were you aware of this? thx


wody wrote on 2019-04-03 UTCAverage ★★★

Please add random piece link in this website.


Aurelian Florea wrote on 2019-03-10 UTC

Hi Fergus,

A few days ago this on this post : https://www.chessvariants.com/index/listcomments.php?itemid=0000000100000000&order=DESC    I've made a few days ago the title has been misteriously lost :)! Any idea why? When others have answered things seemed to have happened here:

https://www.chessvariants.com/index/listcomments.php?itemid=19990302b57b7f27&order=DESC

Trouble is that things got disconencted and they have to not be :)!


Ben Reiniger wrote on 2019-02-01 UTC

From how long ago do you mean?  What pages/items do you have a hard time finding?  What is going wrong with GC?  "Alfaerie: Many" is still around.  (I'm less likely to be able to help with GC issues...)


Daniil Frolov wrote on 2019-02-01 UTC

God, I'm afraid to sound like "grass-was-greener", but anyway, sometimes I occasionally visit chessvariants.org and see it not as convenient as it used to be. The most pages take a lot time to find - okay, one can get used to that - but once I visit Game Courier trying not even to play, but merely set pieces to test them, board appears totally not as it was planned, and most of sets are gone somewhere (especially sorry for that huge Alfaery set with all pieces one could ever need).


25 comments displayed

Later Reverse Order EarlierEarliest

Permalink to the exact comments currently displayed.