6.0.0-beta1
12/31/25

[#6124] Browsing Turba Contacts is broken if VFS is disabled
Summary Browsing Turba Contacts is broken if VFS is disabled
Queue Turba
Queue Version HEAD
Type Bug
State Resolved
Priority 3. High
Owners mrubinsk (at) horde (dot) org
Requester slusarz (at) horde (dot) org
Created 01/21/2008 (6554 days ago)
Due
Updated 01/21/2008 (6554 days ago)
Assigned 01/21/2008 (6554 days ago)
Resolved 01/21/2008 (6554 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/21/2008 07:48:39 PM Michael Rubinsky State ⇒ Resolved
 
01/21/2008 07:48:28 PM Michael Rubinsky Comment #4 Reply to this comment
Actually, the problem was we were already checking for 'none' but only 
in turba's vfs config...not taking into account if turba is set to use 
horde defaults, and horde is set to 'none'.



http://cvs.horde.org/diff.php/turba/lib/Forms/Contact.php?r1=1.3&r2=1.4&ty=u
01/21/2008 06:26:50 PM Michael Slusarz Comment #3 Reply to this comment
Partially fixes.  Still get this though:



Warning: VFS::include_once(VFS/none.php) [function.VFS-include-once]: 
failed to open stream: No such file or directory in 
/httpd/htsdocs/horde/framework/VFS/lib/VFS.php on line 982



Warning: VFS::include_once() [function.include]: Failed opening 
'VFS/none.php' for inclusion 
(include_path='/httpd/htsdocs/horde/libs:.:/httpd/lib/php/pear') in 
/httpd/htsdocs/horde/framework/VFS/lib/VFS.php on line 982



I think you need to check if the VFS driver is 'none' and, if so, 
don't attempt to instantiate VFS at all.
01/21/2008 04:07:33 PM Michael Rubinsky Comment #2
State ⇒ Feedback
Reply to this comment
Does this commit fix it for you?

http://lists.horde.org/archives/cvs/Week-of-Mon-20080121/074232.html



I believe that is the only place that it is necessary, as the other 
methods (should) never be called without vfs...but I'll double check.
01/21/2008 03:53:19 PM Michael Rubinsky Assigned to Michael Rubinsky
 
01/21/2008 06:15:38 AM Michael Slusarz Comment #1
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ Browsing Turba Contacts is broken if VFS is disabled
Queue ⇒ Turba
State ⇒
Reply to this comment
Looks like Turba code does not gracefully handle when VFS is 'none':



Warning: VFS::include_once(VFS/none.php) [function.VFS-include-once]: 
failed to open stream: No such file or directory in 
/httpd/htsdocs/horde/framework/VFS/lib/VFS.php on line 982



Warning: VFS::include_once() [function.include]: Failed opening 
'VFS/none.php' for inclusion 
(include_path='/httpd/htsdocs/horde/libs:.:/httpd/lib/php/pear') in 
/httpd/htsdocs/horde/framework/VFS/lib/VFS.php on line 982



Fatal error: Call to undefined method PEAR_Error::exists() in 
/httpd/htsdocs/horde/turba/lib/Object.php on line 301

Saved Queries