In the asset wizard, after uploading my first FLV, i get the following fatal error.
Fatal error: require_once() [function.require]: Failed opening required 'modules/asset/asset_bonus/swfheader/swfheader.class.php' (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\mysite\modules\asset\asset_bonus\asset_bonus.module on line 232
I must admit that I first uploaded it, and only afterwards unpacked the asset_bonus.zip package. but after downloading and enabling this package, I still receive the same error message.
and on the mysite/admin/build/modules page, I get the following, similar warning:
* warning: require_once(modules/asset/asset_bonus/swfheader/swfheader.class.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\mysite\modules\asset\asset_bonus\asset_bonus.module on line 232.
* warning: require_once(modules/asset/asset_bonus/swfheader/swfheader.class.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\mysite\modules\asset\asset_bonus\asset_bonus.module on line 232.
I can't figure out the exact meaning of these messages. would I need to include a line in the asset_bonus.module file? and which line exactly?
as you can see, my site is running on a local apache server (xampp package). the htdocs-folder serves as the root for my site.
thanks in advance for any suggestion,
Joris
Comments
Comment #1
wmostrey commentedDid you read and follow the installation instructions correctly? You should end up with the following structure:
According to the error, modules/asset/asset_bonus/swfheader/swfheader.class.php doesn't exist. Please note that you should install contributed modules in
/sites/all/modulesand not in/modules. The/modulesdirectory is reserved for Drupal core modules.Comment #2
joris.verschueren commentedthat solved it indeed, the structure was faulty. thanks for your time.
Joris
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.