#150 Bug in /mod/block/class/Block_Item.php

Core Module
open
Code/Logic (73)
5
2010-11-15
2010-11-15
Eloi George
No

Block generated a fatal error in a branch that I just upgraded to 1.7.0

"Fatal error: Class 'Icon' not found in /home/bygeorge/public_html/fallout/mod/block/class/Block_Item.php on line 165"

I fixed it by inserting the following line at the head of the file. However, I'm not sure if this is how you want classes to be loaded.

require_once '/home/bygeorge/public_html/fallout/core/class/Icon.php';

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks