Bug on Filesystem module - fix included

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

Moderator: Developers

User avatar
ttimalsina
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.

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

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

Thanks, I fixed it in cvs!
Best regards,

Merijn Schering
Intermesh

Who is online

Users browsing this forum: No registered users and 1 guest