Will I need to install a core of 1.0.x to run this module? I have 6.13 right now and when I go to install the module, I get a message saying it is incompatible? I have installed the required services and amfp modules.

Luke

Comments

chris_car’s picture

I tested the module with a fresh 6.13 install.

>Will I need to install a core of 1.0.x to run this module?

Sorry, I dont understand this question...

mrgoltra’s picture

StatusFileSize
new5.14 KB

can not enable module not compatible with 6.13

chris_car’s picture

StatusFileSize
new25.44 KB

Hm, I just downloaded and reinstalled it on a 6.13 system and I did not get that message. I have service module 6.x-0.15, amfphp module 6.x-1.0-beta1 and swftools 6.x-2.5 installed.

I wonder what is incompatible with the 6.13 core?

Are there people who could install this module successfully?

Chris

mrgoltra’s picture

I do have the following installed

AMFPHP 6.x.1.0-beta1
SWF Tools 6.x-2.5
Service 6.x-2.x-dev.

I will try to downgrade the service version and see what happens.

mrgoltra’s picture

still no luck. downgraded service version to what you have installed
and still the same.

mrgoltra’s picture

StatusFileSize
new3.6 KB

I just noticed that FLV Node services is also affected.

sharlak’s picture

StatusFileSize
new613 bytes
new416 bytes

I have solved this issue editing info files (attached, "dependencies" and "core" fields seems to be wrong) but I get errors when I run update.php.
I'll have a look to it...

I'm using:
Drupal 6.13
SWF Tools 6.x-2.5
AMFPHP 6.x-1.0-beta1
Services 6.x-0.15

chris_car’s picture

Indeed, the dependencies field was wrong in both info files: red5flashserver/videonoderecorder/videonoderecorder.info and red5flashserver/services/services/flvnode_service/flvnode_service.info

It should look like that:

dependencies[] = upload
dependencies[] = services
dependencies[] = flvnode_service
dependencies[] = amfphp
dependencies[] = swftools
(videonoderecorder.info)

and

dependencies[] = services
dependencies[] = node
(flvnode_service.info)

What I did:
1) I switched the 2 modules off and uninstalled them
2) I edited the info files and changed the dependencies fields (see above)
3) I went to the database and deleted the 2 entries in the system table:
delete from system where name like 'videonoderecorder';
delete from system where name like 'flvnode_service';
4) Install the modules again.

This should work. I will change the code and submit it.

Let me know if it worked for you.

Chris

sharlak’s picture

Yes making these changes modules can be installed (they're similar to changes I had made before), but there is also an error in hook_menu of videonoderecorder. It seems to have been programmed for Drupal 5.x.

I submit changes I have made in order to make it work with Drupal 6.x below (if you prefer I can submit a patch and/or open a new issue for this bug). You can see the lines I have commented, the next ones with the changes and I have also deleted $may_cache parameter. Did you have previous code running in Drupal 6.x?

I haven't tested module well yet, but at least I have rid of PHP errors. I can configure webcam video, but I can't create new Webcam Video content yet (I only see the title, although Firebug tells me the object is there, maybe the problem can be mine). I will have another look, sorry for the long post, I hope this will help. Thank you for the fast support.

/**
 * Implementation of hook_menu().
 */
function videonoderecorder_menu() {

  $items = array();

  // Page initializations
  $items['node/add/webcamvideo'] = array(
      /*'title' => t('Webcam Video'),*/
      'title' => 'Webcam Video',
      /*'callback' => 'videonoderecorder_recorder', */
      'page callback' => 'videonoderecorder_recorder',
      'description' => t('Record a Flash video using a standard webcam.'),
      /*'access' => user_access('record webcam video'), */
      'access arguments' => array('record webcam video'),
  );

  $items['admin/settings/webcamvideo'] = array(
      /* 'title' => t('Webcam video'), */
      'title' => 'Webcam video',
      /*'callback' => 'drupal_get_form',*/
      'page callback' => 'drupal_get_form',
      /*'callback arguments' => array('videonoderecorder_admin_settings'),*/
      'page arguments' => array('videonoderecorder_admin_settings'),
      /* 'access' => user_access('administer webcam video'), */
      'access arguments' => array('administer webcam video'),
      'type' => MENU_NORMAL_ITEM,
      'description' => t('Configure the webcam Flash video recorder.'),
  );

  return $items;
}

EDIT: Sorry,I have seen #327327: Drupal 6? issue which is related with D6 problems, seems that there have been people working in this.

mrgoltra’s picture

@ #8 worked.

mrgoltra’s picture

Help. I have been trying to get this module to work but I am unable to do so. I have uninstalled and reinstalled several time and I am unable to get to the settings page. I also noticed that there are no tables being created on the database and keep getting

Missing argument 1 for videonoderecorder_menu() in /home/public_html/sites/all/modules/red5flashserver/videonoderecorder/videonoderecorder.module on line 51.

Any info is greatly appreciated.

Thank you,

Mark

socialnicheguru’s picture

#8 and #9 seems to work for me.