[ZBX-6343] Unable to proceed past installation screen due to PHP error with Oracle Created: 2013 Mar 05 Updated: 2017 Sep 16 Resolved: 2017 Sep 15 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 2.0.5 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Critical |
Reporter: | Mikhail Dobrinin | Assignee: | Unassigned |
Resolution: | Cannot Reproduce | Votes: | 1 |
Labels: | oracle, php | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Centos 6.3, PHP 5.4.12 Apache httpd 2.4.4 OCI libraries 11.2 Oracle 11g2 |
Issue Links: |
|
Description |
On new install of 2.0.5, during installation screen, on database connection testing form, upon filling everything out correctly, and clicking "Test Connection" I receive a blank page. There is no source for the page as well. Looking at apache log:
[Mon Mar 04 14:47:57.923532 2013] [:error] [pid 20475:tid 140129251268352] [client 127.0.0.1:33287] PHP Fatal error: Call to undefined function zbx_dbstr() in /usr/local/apache2/htdocs/zabbix/include/db.inc.php on line 126, referer: http://localhost/setup.php
|
Comments |
Comment by richlv [ 2013 Mar 05 ] |
for more clarity, could you please specify how php was compiled for oracle support ? (configure flags) |
Comment by Mikhail Dobrinin [ 2013 Mar 05 ] |
sudo ./configure --with-gd --with-apxs2=/usr/local/apache2/bin/apxs --enable-bcmath --enable-mbstring --enable-sockets --with-gettext --with-jpeg-dir=/usr/lib64 --with-freetype-dir=/usr/lib64/ --with-oci8 Note that I seem to not get this issue on 2.0.3. |
Comment by Ryan Rupp [ 2013 Mar 05 ] |
Looks to be related to the changes in |
Comment by Mikhail Dobrinin [ 2013 Mar 06 ] |
Looks like you can get around this issue by placing zabbix.conf.php file manually. Installation screen will be skipped however. |
Comment by Alexander Vladishev [ 2017 Sep 15 ] |
Cannot reproduce on latest versions of Zabbix. Closing as "Cannot reproduce". |