Bug on Filesystem module - fix included

Having trouble installing Group-Office? No worries. Help is on the way.

Moderator: Developers

User avatar
Posts: 56
Joined: Thu Apr 22, 2004 5:23 pm
Location: San Francisco, California, USA

Bug on Filesystem module - fix included

Postby ttimalsina » Fri Dec 01, 2006 6:15 am

I found a bug on filesystem module.

If one tries to send file as an email while the file is being edited, following error occurs:

Warning: main(email.class.inc) [function.main]: failed to open stream: No such file or directory in /home/xxx/xxx/modules/filesystem/properties.inc on line 30

Fatal error: main() [function.require]: Failed opening required 'email.class.inc' (include_path='.:/usr/local/lib/php') in /home/xxx/xxx/modules/filesystem/properties.inc on line 30

The reason: On line 30 of properties.inc of Filesystem module $email_module['class_path'] gets called but $email_module is not defined yet.

So, just add
$email_module = isset($GO_MODULES->modules['email']) ? $GO_MODULES->modules['email'] : false;

on line 26 and upload file.

Site Admin
Site Admin
Posts: 8355
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch

Postby mschering » Fri Dec 01, 2006 9:21 am

Thanks, I fixed it in cvs!
Best regards,

Merijn Schering

Who is online

Users browsing this forum: No registered users and 2 guests