Page 1 of 1

Chess pieces not shown

Posted: Tue Feb 21, 2017 12:02 pm
by cldng1
Hi Alf,
Thank you for allowing me to be part of the Beta.
I am using the Sydney theme at the moment. I am not married to it, lol.
I followed your very clear instructions. The problem is that there are no chess pieces being shown
either in the preview window in the game editor, or on the post. The board and buttons are there but no chess piece.
thanks a lot,
Steve

Re: Chess pieces not shown

Posted: Tue Feb 21, 2017 12:10 pm
by alf
Steve,

Here's a small checklist for you which could help me :)
  • Do you have a link to a test page where I can take a look at the problem?
  • Which browser are you testing with?
  • To rule out browser issues, are you able to see the pieces at this site or wordpresschess.com ?
  • In google chrome, click Ctrl+Shift+i (Cmd+Shift+i on mac), click the Console tab, refresh the page and look for errors.
One thing you can try is to Open the DHTML Chess Settings page in admin and click save. Perhaps there's a bug if you haven't selected a default set of chess pieces.

If that doesn't help, try to select some default pieces in admin("DHTML Chess menu") not starting with "svg_". The svg pieces are vector based. Perhaps there's a problem in some browsers with SVG which I'm not aware of and need to address.

Thanks.

Alf

Re: Chess pieces not shown

Posted: Tue Feb 21, 2017 3:15 pm
by cldng1
The link with the test page is here: http://chessforchildren.com/test/
I have the chess pieces selected but I do not have pictures of then
the link to that page is here:
http://chessforchildren.com/wp-admin/ad ... s_top_menu
I also included a screenshot of the page in an attachment.
I have tried changing from svg to regular but still no change.
Steve

Re: Chess pieces not shown

Posted: Tue Feb 21, 2017 3:16 pm
by cldng1
Oh your forum is working fine!

Re: Chess pieces not shown

Posted: Tue Feb 21, 2017 3:41 pm
by alf
Steve,

From the error log(Ctrl+Shift+I), I can see that the images are missing.

Example from the log:
GET http://chessforchildren.com/wp-content/ ... ig90wp.png 404 (Not Found)

Something seems to have gone wrong during the installation, but it's hard to tell what the problem is, whether it's a problem with the plugin or some issues on your webserver(space, file access etc). I have checked the zip file and all the required files are there.

* Do you have access to the files on your webserver or access to someone who can help you check it?
* Can you see if there are images inside wp-content/plugins/dhtml_chess/api/. Usually, when something goes wrong with the installation, nothing should work, but in this case, only some files are missing.

Do you have access to anyone you could install the plugin using one of the two first options(copy or command line) ?
You may also try to reinstall the plugin(deactivate,uninstall, upload new)

I will test the upload zip feature tonight on a fresh wordpress site at home to see if it's a problem with the third install option(upload zip).

Re: Chess pieces not shown

Posted: Tue Feb 21, 2017 8:24 pm
by alf
Steve,

I have found the bug.

What I need you to do is to

1) deactivate the plugin
2) delete the plugin

This is done in admin

Rename the zip file to dhtml_chess.zip (from dhtml-chess-wordpress.zip)

The zip file has to have the same name as the plugin and the plugin is named dhtml_chess.

Then try to upload dhtml_chess.zip as a new plugin in Wordpress admin.

I'm in the process of renaming the zip officially now.

Re: Chess pieces not shown

Posted: Fri Mar 03, 2017 2:45 pm
by cldng1
Thank you,
Alf, it is working great!
Steve