6.0.0-RC7
6/27/26

[#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 1/21/08 (6732 days ago)
Due
Updated 1/21/08 (6732 days ago)
Assigned 1/21/08 (6732 days ago)
Resolved 1/21/08 (6732 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
397 Michael Rubinsky State ⇒ Resolved
 
287 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
506 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.
334 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.
193 Michael Rubinsky Assigned to Michael Rubinsky
 
386 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