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
Undefined variable: result in import area #12349
Comments
(Initially reported by Emanuel Bronshtein) |
Hi there, i just viewed the import.php file and noticed both of variables are UNDEFINED like the error says. i tried the following solution and it worked and run it then it should work fine. |
Hello @ibennetch after examining the issue I found that $result and $message are not defined in the area where default values are set see. |
@ibennetch @nijel I am still waiting for updates to my question for me to continue with this issue |
AFAIK the $msg is not really needed if you set $result... |
@nijel setting the |
Makes sense, but you should not use Success as default value, in case it would be ever displayed it would be quite confusing.... |
Fixed by #13109 |
upload 1.txt file (content of file "111") in "File to import:"
choose "MediaWiki Table" or "ESRI Shape file" as format, click "Go"
result:
Notice in .\import.php#809
Undefined variable: result
Notice in .\import.php#827
Undefined variable: result
Notice in .\import.php#830
Undefined variable: msg
The text was updated successfully, but these errors were encountered: