[ZBX-3468] GUI is broken after restore support of SQLite3 Created: 2011 Jan 27 Updated: 2017 May 30 Resolved: 2011 Nov 07 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.9.2 (alpha) |
Fix Version/s: | 1.9.8 (beta), 2.0.0 |
Type: | Incident report | Priority: | Blocker |
Reporter: | Oleksii Zagorskyi | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | sqlite | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
FreeBSD Release-8.1
|
Attachments: |
![]() ![]() ![]() |
Description |
started from the revision 17098. |
Comments |
Comment by Alexei Vladishev [ 2011 Jan 27 ] |
I see where the problem is. Zabbix calls class_exists() functions, which by default tries to autoload missing SQLite3 class. Fixed and a patch is attached. |
Comment by Oleksii Zagorskyi [ 2011 Jan 27 ] |
Alexei, thanks for the fix, but i looked at your patch and i'am interesting whether the frontend now working with SQLite3 db-backend? |
Comment by Alexei Vladishev [ 2011 Jan 27 ] |
Yes, the front-end fully supports SQLite3. Normally it's just a matter of installing php5-sqlite package. By the way, I did another minor fix for SQlite3 affecting installation wizard. Please use revision 17222 or later. |
Comment by Oleksii Zagorskyi [ 2011 Jan 28 ] |
And I still can not understand why you have not had a problems ( As you can see I have a long-Installed all the SQLite3 components. |
Comment by Oleksii Zagorskyi [ 2011 Jan 28 ] |
btw, do you see that a file 'include/classes/class.sqlite3.php' is missing in the SVN repository? |
Comment by Alexei Vladishev [ 2011 Jan 28 ] |
Are you running 17222 or later? |
Comment by Oleksii Zagorskyi [ 2011 Jan 28 ] |
yes, about my two last comments -> is running at latest 17254 revision. |
Comment by Oleksii Zagorskyi [ 2011 Jan 28 ] |
Alexei, your yesterday fix is gud for NONE SQLite3 db-backend. Today just for case i tried SQLite3 db-backend |
Comment by Alexei Vladishev [ 2011 Jan 31 ] |
It looks like you have support of SQLite3 configure in, yet it does not provide access to the required SQLite3 class. Please could you post output of <?php phpinfo(); ?> here? |
Comment by Oleksii Zagorskyi [ 2011 Jan 31 ] |
phpinfo attached as file phpinfo-freebsd81.txt |
Comment by Oleksii Zagorskyi [ 2011 Oct 29 ] |
Maybe connected to |
Comment by Alexei Vladishev [ 2011 Nov 01 ] |
Fixed in dev branch. Ready to test. |
Comment by Alexei Vladishev [ 2011 Nov 07 ] |
Fixed in revision 23016. |