I installed the asset module correctly and everything is fine.
But when I click "Insert Asset" on the Create content page i get a blank white popup, no asset wizard and no errors of any sort.
any thoughts?

Comments

wmostrey’s picture

Hey djalloway,

Could you check your php error logs for any indication on what's going on? If there's no errors there, could you check the html source of the blank page? Also, are you using a custom theme? Try using the garland theme to see if it's not something theme-related.

prodosh’s picture

I had the same issue. A look in the logs showed a problem with the flvplayer.swf file not being found in the asset_bonus/swfobject directory. Copying Jeroen Wijering's Media Player into this directory and renaming it to flvplayer.swf solved the main problem.

Roger, you might want to update your excellent documentation to include this issue.

There is a minor display issues with the control area/bar of the player: it does not display displays cleanly.

Hope this helps and thanks to roger for a great module.

wmostrey’s picture

Did you follow the installation instructions as found in the INSTALL.TXT? They include a link to an external zip to download (because of license issues). If you've done this, you should have the flvplayer.swf in place.

wmostrey’s picture

Status: Active » Postponed (maintainer needs more info)
prodosh’s picture

I had trouble finding the INSTALL.txt - you meant the INSTALL.txt in the asset_bonus directory.
I have now downloaded and installed the extra files as recommended in the INSTALL.txt for asset_bonus pack.

The Insert Asset button is still not showing below the page content editing area as it should.
Uninstalling and re-installing the Asset and Asset Bonus modules, doesn't fix the problem either.

Can you help?

TIA

wmostrey’s picture

PBan, I'm confused. You say the "insert asset" link is not showing. So this means the asset module itself isn't set up correctly yet, not so much the asset bonus module. Is this correct?

prodosh’s picture

The Insert Asset link wasn't showing even after both asset and asset_bonus were set up properly.

But the problem has to do with the internationalization (i18n) module - on a site that didn't have i18n installed, the Asset module worked fine. On sites that have i18n installed, you need to do the following to ensure the "Insert Asset" link shows up:

Go to: Administer -> Site Configuration -> Assets (something like http://yoursite.com/en/admin/settings/asset)

In the "Visibility Settings":
- "show only on the following pages" is selected by default.

In the list of pages to show on, change:

node/add/*
node/*/edit

to

*/node/add/*
*/node/*/edit

and everything works fine, the reason being that the i18n module generates paths like:

en/node/add/page

instead of

node/add/page

for the english language version

Alternately, for a quick fix, in the Visibility Settings, select "show on every page".

wmostrey’s picture

Status: Postponed (maintainer needs more info) » Fixed

This is not specifically for asset of course, this also counts towards blocks and TinyMCE visibility settings for instance. Thanks for following up!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.