Flash module add-on: error creating new flash movie record

Flash module add-on: error creating new flash movie record

Nicola Bennett發表於
Number of replies: 9

Hello,

I've installed the latest flash activity module from moodle.org and followed all the instructions on Jamie's site.

When I create an activity I get the following messgae in a pink box:

"error creating new flash movie record"

I've seen on the forums that someone else had this problem and resolved it by republishing their files as Flash 7.

I've tried republishing mine as Flash 6, 7 & 8. But I'm still getting the same message.

I've tried the test flash activities and they work fine.

I've attached a screenshot of how my files are structured on the server.

Anyone got any ideas.

Thanks
Nicola.

附件 flash_files.jpg
評比平均分數: -
In reply to Nicola Bennett

Re: Flash module add-on: error creating new flash movie record

Mon B發表於

I'm getting this message as well.

I didn't create a php file, but I understood this is not necessary, am I right?

Anyone have an idea about this message?

In reply to Mon B

Re: Flash module add-on: error creating new flash movie record

Jamie Pratt發表於
No you don't need to create a service.php file or any other php file.

Are you sure your database has been set up properly?? You should log in as admin and go to http://yourmoodlewebroot.com/admin/ and the db will automatically be set up.

Jamie
In reply to Jamie Pratt

Re:font problems with flash activity

Nicola Bennett發表於

Hi Jamie,

Thanks I've got this working now, it's excellent  especially for tracking grades.

I'm now having a few font issues, so I've downloaded the font library creator. The instructions tell me to save the files it creates in mod/flash/resources. I don't have a resources folder, so not sure where to save them?

When I go into Moodle and create a flash activity it knows I want to pre-load the fonts but it says "no files have been installed".

Can you please help.

Thanks
Nicola.

In reply to Nicola Bennett

Re:font problems with flash activity

Jamie Pratt發表於
You want to dynamically embed fonts? What font issues are you having? The font preloader is good for dynamic movies where you want to tell Flash to load different fonts depending on the choice of a teacher. If you don't need to let teachers choose between fonts when they create activities you may be better embedding the fonts directly in the movie.

You can create your own mod/flash/resources folder.
In reply to Jamie Pratt

Re:font problems with flash activity

Nicola Bennett發表於

Hi Jamie,

I've created a resource folder and put my font creator files in there and it now works. 微笑

It was the interactive text in the flash quiz template that was displaying in Times New Roman instead of Arial. Not sure why it was doing this, arial is such a common font?? Oh well if the font creator files sort it out, then I'm happy.

Thanks for your prompt response.

BW
Nicola.

 

 

 

 

In reply to Nicola Bennett

Re:font problems with flash activity

Glenn Cumming發表於

What was your solution to this problem?: I seem to have the same, and the database seems to be correctly set up.

In reply to Glenn Cumming

Re:font problems with flash activity

Nicola Bennett發表於

I haven't really found a solution because I still have to do a refresh when the flash file loads to get it to display the font in arial.

I'm transferring these to Moodle 1.6 and hoping they work better there. I'll let you know how I get on.

Nic.

 

 

 

 

In reply to Nicola Bennett

Re:font problems with flash activity

Jose Dias發表於

Hi,

I have the same problem in version 1.6. Sometimes the fonts appear in times new roman when i refresh the fonts button appear correct (Arial).

Help please

Maurício

In reply to Nicola Bennett

Re: Flash module add-on: error creating new flash movie record

Shawn Cannon發表於
OK I am getting this error after I moved our Moodle site from one server to another.  I even had the Flash module reinstall itself.  Our scenario:

I go to add a flash activity, choose a temp name and choose one of the sample flash movie files.  Once I click OK sometimes I get a 404 error, sometimes the error mentioned in this thread.  I finally looked at my Apache logs and it looks like when a POST occurs to course/mod.php I always get a 404 error.  The mod.php file exists so I am wondering if this is a rights issue.  Maybe the POST command is not allowed in my Apache config?  Where would I find this if that is the case?

Thanks....