Directions:
1) Save the file as item_update.php in your killboard's cron folder. (copy/paste unless you like html markup)
2) From the command line cd into your killboard's cron folder and execute
php5 item_update.php
3) Watch it update item names
If you use CPanel or some other crappy web interface, you're on your own [:twisted]
Disclaimer: This works for me on a couple killboards I manage. I've used the same script, slightly modified, to update item names on Eve-Kill. This script DOES NOT add missing items, it only makes sure your database's item names match CCP's item names. Use at your own risk.
Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /customers/lordsnapp.com/lordsnapp.com/httpd.www/killboard/all/cron/item_update.php:71 Stack trace: #0 /customers/lordsnapp.com/lordsnapp.com/httpd.www/killboard/all/cron/item_update.php(71): SimpleXMLElement->__construct('') #1 {main} thrown in /customers/lordsnapp.com/lordsnapp.com/httpd.www/killboard/all/cron/item_update.php on line 71
Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /customers/lordsnapp.com/lordsnapp.com/httpd.www/killboard/all/cron/item_update.php:71 Stack trace: #0 /customers/lordsnapp.com/lordsnapp.com/httpd.www/killboard/all/cron/item_update.php(71): SimpleXMLElement->__construct('') #1 {main} thrown in /customers/lordsnapp.com/lordsnapp.com/httpd.www/killboard/all/cron/item_update.php on line 71
Thanks in advance
Setebrus
CCP's API server isn't returning anything valid. Blame CCP.
Here's the .sql that basically does the same thing (but only for those that still have the 1.1 crucible db): http://dl.dropbox.com/u/3500888/Eve/upd ... 214832.sql
The OPs script will always work. This .sql is a one time thing which you can do on top of the "EDK Database - Crucible 1.1 Rev 1.0 by FriedRoadKill".
Note that it only updates the names, allowing you to import new killmails. Stats can be wrong in case attributes were updated by this update. Hopefully someone is working on a full update and will release it in the near future.