New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot redeclare getDB() #684
Comments
The message is a bit misleading as PHP needs to load the file DB.php and instead re-loads Nominatim's db.php. To solve this make sure you have the Pear module 'DB' installed.
|
The fact is, I do have it installed: <?php
require_once('DB.php');
var_dump(class_exists('DB', false));
?> $ php test-db.php
bool(true) |
Any chance the test-db script loads the wrong DB class? For example if that class has a |
How about just renaming Nominiatim's |
Same error. Anyway, I have created a VirtualBox image with a fresh Ubuntu system, I was able to install Nominatim there following the instructions in the Readme, and now it's loading my data. For my purposes that should be enough. |
We really should switch to mdb2. Closing for now as it is not reproducible here. Please reopen if you can supply more information. |
I am using the current master. On trying to import a data set with this command:
I get this error:
Any idea what the problem is and how I can fix it?
The text was updated successfully, but these errors were encountered: