Indicia-Team / google-archive

Automatically exported from code.google.com/p/indicia
0 stars 0 forks source link

dBase support for SHP file upload #275

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Upload of SHP files depends on the php_dBase.dll extension, which is no longer 
included in PHP 5.3. We need an alternative solution for SHP file upload.
See http://forums.nbn.org.uk/viewtopic.php?pid=7674#p7674

Original issue reported on code.google.com by johnvanb...@gmail.com on 19 Oct 2010 at 4:05

GoogleCodeExporter commented 9 years ago
See http://php.net/manual/en/book.dbase.php for a possible alternative in the 
comments.

Original comment by johnvanb...@gmail.com on 19 Oct 2010 at 4:07

GoogleCodeExporter commented 9 years ago
The php_dbase.dll is still available as a PECL extension (see 
http://pecl.php.net/package/dbase). The only thing we need to do is change the 
error message to identify how to download (as well as enable).

Original comment by vanbr...@btinternet.com on 23 Oct 2010 at 9:08

GoogleCodeExporter commented 9 years ago
Not sure how to do this myself, so any notes would be helpful. 
But, as it is now, we should continue to make sure this is optional rather than 
blocking the warehouse install if dBase support not available.

Original comment by johnvanb...@gmail.com on 1 Nov 2010 at 9:36

GoogleCodeExporter commented 9 years ago
I've just installed the dbase extension on Ubuntu 12.10 and the process was 
pain free. The extension is available in PECL and can be installed using the 
PEAR package manager. Here are the steps I took:

sudo apt-get install php5-dev php-pear
sudo pecl install dbase
sudo sh -c "echo '; configuration for PHP dbase module\nextension=dbase.so' > 
/etc/php5/conf.d/dbase.ini"
sudo service apache2 restart

That second to last line adds an .ini file containing the extension 
declaration. Ubuntu (and Debian) uses discrete ini files in the conf.d 
directory instead of using php.ini (which does still exists; it's just 
considered cleaner to use separate files).

Original comment by charles....@gmail.com on 14 Jun 2012 at 2:55

GoogleCodeExporter commented 9 years ago
Should these notes be added to the installation page, or at least an "advanced 
installation tips" page could be created with these notes on them?

Original comment by johnvanb...@gmail.com on 14 Jun 2012 at 9:37

GoogleCodeExporter commented 9 years ago
I'm documenting the installation process on Ubuntu. I'll share the whole lot 
when I'm done. We could have a dedicated Ubuntu 12.04 LTS setup page on the 
wiki perhaps?

Original comment by paperpla...@gmail.com on 14 Jun 2012 at 2:27