WordPress.org

Ready to get started?Download WordPress

Forums

IPU-Chart
[resolved] chart randomly stopped rendering (12 posts)

  1. cccs.dennis
    Member
    Posted 6 months ago #

    Odd issue here:

    My IPU-Chart Plug-in was working like a charm, but today it suddenly stopped rendering map I had working.

    Code is:

    [csv id='d115593']ISO-3166-1,Country,CCCS Associate Project Experience in Country,CCCS Company Project Experience in Country,Number of CCCS Associates in Country,
    124,Canada,1,1,0
    156,China,45,5,5
    036,Australia,2,0,3
    072,Botswana,1,0,0
    050,Bangladesh,4,0,2
    104,Myanmar,4,0,0
    090,Solomon Islands,1,0,0
    108,Burundi,1,0,0
    180,The Democratic Republic of the Congo,1,0,0
    120,Cameroon,12,0,2
    226,Equatorial Guinea,1,0,0
    246,Finland,1,0,1
    266,Gabon,5,0,1
    288,Ghana,1,0,1
    360,Indonesia,43,2,6
    356,India,10,2,6
    380,Italy,1,0,0
    388,Jamaica,1,0,0
    417,Kyrgyzstan,1,0,0
    418,Laos,32,2,2
    430,Liberia,1,0,0
    504,Morocco,1,0,0
    480,Mauritius,1,0,0
    458,Malaysia,1,0,0
    524,Nepal,27,0,0
    586,Pakistan,5,0,0
    642,Romania,1,0,0
    608,Philippines,8,2,2
    643,Russian Federation,6,2,1
    646,Rwanda,1,0,0
    706,Somalia,2,0,0
    760,Syria,1,0,0
    764,Thailand,16,0,0
    762,Tajikistan,1,0,0
    626,East Timor,10,0,0
    788,Tunisia,1,0,0
    800,Uganda,1,0,0
    826,United Kingdom,4,2,1
    840,United States of America,9,2,5
    860,Uzbekistan,1,0,0
    704,Vietnam,20,0,0[/csv]
    [chart id="c115593" csv="#d115593" adapter="return data;" type="map.world.countries" category="Country" value="CCCS Associate Project Experience in Country, CCCS Company Project Experience in Country, Number of CCCS Associates in Country" format="s,n,n,n" color="lightblue.darkblue" style="width:100%;height:400px;" title="CCCS Associate Project Experience" description="CCCS Associate Global Project Experience" sort="true" interpolate="none" img="" debug="false"]

    The page I am testing on is:
    http://ontwerp.crossculturalconsult.com/cccs-network/

    Any ideas what's happening?

    http://wordpress.org/plugins/ipu-chart/

  2. cccs.dennis
    Member
    Posted 6 months ago #

    This problem appears to have solved itself. Could it have been some sort of connection issue with your main servers?

  3. cccs.dennis
    Member
    Posted 6 months ago #

    arg! it was working for a few minutes, but has stopped again... i still have no idea why.

  4. thmufl
    Member
    Plugin Author

    Posted 6 months ago #

    I just tested: the sever sends a 500 internal server error for some IPU-Chart definition files. Please can you check, that the files in the /raw directory are delivered:

    http://ontwerp.crossculturalconsult.com/wp-content/plugins/ipu-chart/raw/world-110m.json

    and

    http://ontwerp.crossculturalconsult.com/wp-content/plugins/ipu-chart/raw/world-ISO-3166-1-numeric.tsv

    Thomas

  5. cccs.dennis
    Member
    Posted 6 months ago #

    Thank you for your time, Thomas. With the first link:
    http://ontwerp.crossculturalconsult.com/wp-content/plugins/ipu-chart/raw/world-110m.json

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    With the 2nd link: http://ontwerp.crossculturalconsult.com/wp-content/plugins/ipu-chart/raw/world-ISO-3166-1-numeric.tsv

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Apache/2.2.22 (Ubuntu) Server at ontwerp.crossculturalconsult.com Port 80

    So it appears there are errors. Any idea how to resolve?

  6. cccs.dennis
    Member
    Posted 6 months ago #

    ... I can see that the files are indeed in the /raw folder:

    world-110m.json world-50m.json world-ISO-3166-1-numeric.tsv

    how to ensure they are delivered?

  7. thmufl
    Member
    Plugin Author

    Posted 6 months ago #

    You mentioned that everything worked fine until today. So, I would first restart the (Apache) server. Then I would check the access rights of the files in the /raw folder.

  8. cccs.dennis
    Member
    Posted 6 months ago #

    Thanks again, Thomas.

    I restarted Apache and it did nothing. I have been toggling between a backed-up instance of my server and this one that is not working. I can see that the links you provided are serving back information with my previous set-up, but not with this current one. My permissions are the same on both instances, as are the Apache settings. The error, however, is with the relay of information? I actually am working with a cloned copy of the site due to a server error. I wonder if there is a programme that should be installed but is missing. Any ideas?

  9. cccs.dennis
    Member
    Posted 6 months ago #

    Hi again Thomas, and sorry for all the chatter! I got the plug-in working. Apparently there is some form of disturbance when I enabled the Yoast WordPress SEO plug-in. Disabling the plug-in and using default permalinks brought it online again. I will have to investigate more to see if I can get everything to play well together.

    Thanks for your time and guidance!

  10. thmufl
    Member
    Plugin Author

    Posted 6 months ago #

    Good! Normally Yoast SEO and IPU-Chart work together without any problem. I have the two also on our website (ipublia.com).

    If you find any incompatibility, please come back to this forum or to the forum on our website (https://www.ipublia.com/support/forums/forum/ipu-chart-for-wordpress-basic/).

  11. cccs.dennis
    Member
    Posted 6 months ago #

    Hi again, Thomas!

    So I am slowly figuring out the issue. When I use Apache to allow changes to permalinks, my access to the plug-in gets obstructed.

    Thus, the following works (but allows no changes to my permalinks):

    <VirtualHost *:80>
    	ServerAdmin webmaster@localhost
    	ServerName ontwerp.crossculturalconsult.com
    	DocumentRoot /path/to/ontwerp
    	<Directory />
    		Options FollowSymLinks
    		AllowOverride None
    	</Directory>
    	<Directory /path/to/ontwerp/>
    		Options Indexes FollowSymLinks MultiViews
    		AllowOverride None
    		Order allow,deny
    		allow from all
    	</Directory>
    </VirtualHost>

    Whereas the following does not work (but allows changes to my permalink structure):

    <VirtualHost *:80>
    	ServerAdmin webmaster@localhost
    	ServerName ontwerp.crossculturalconsult.com
    	DocumentRoot /path/to/ontwerp
    	<Directory />
    		Options FollowSymLinks
    		AllowOverride All
    	</Directory>
    	<Directory /path/to/ontwerp/>
    		Options Indexes FollowSymLinks MultiViews
    		AllowOverride All
    		Order allow,deny
    		allow from all
    	</Directory>
    </VirtualHost>

    ... So I was wrong about it being a plug-in (but I didn't realize this till I was working in Apache).

    Should it be possible to keep the permalinks changes along with the plug-in functionality?

    Thanks again for your time and help!

  12. cccs.dennis
    Member
    Posted 6 months ago #

    ... Answering my own question:

    I managed to get the permalink re-directs working while preserving the plug-in functionality, as follows:

    <VirtualHost *:80>
    	ServerAdmin webmaster@localhost
    	ServerName ontwerp.crossculturalconsult.com
    	DocumentRoot /var/www/ontwerp
    	<Directory /path/to/ontwerp/>
    		Options Indexes FollowSymLinks MultiViews
    		AllowOverride All
    		Order allow,deny
    		allow from all
    	</Directory>
            <Directory /path/to/ontwerp/wp-content/plugins/ipu-chart/>
                    Options Indexes FollowSymLinks MultiViews
                    AllowOverride None
                    Order allow,deny
                    allow from all
            </Directory>
    </VirtualHost>

Reply

You must log in to post.

About this Plugin

About this Topic

Tags