Closed (fixed)
Project:
SWF Tools
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Sep 2008 at 21:34 UTC
Updated:
31 Mar 2009 at 09:50 UTC
notice: Use of undefined constant GENERIC_FLV - assumed 'GENERIC_FLV' in /home/vm/public_html/d6dev/sites/all/modules/swftools/genericplayers.module on line 19.
Getting the above error after uploading and installing swftools on drupal 6.x-dev (downloaded today) can't seem to shake the error.
Comments
Comment #1
vm commentedComment #2
vm commenteduploading genericplayers.module from head to my installation seems to have fixed the problem. Notice is no longer appearing.
Comment #3
vm commentedcorrection. The issue is still alive. I had suppressed errrors to be written to the log and not to the screen.
regardless of which module player I enabled I receive the notice:
Comment #4
vm commentedI've suppressed the notices: using php.ini changing error_reporting to E_ALL ^ E_NOTICE
Comment #5
Stuart Greenfield commentedYou're right - the
define()functions were all missing their quotes, going right back to Drupal 5!Fixed in all branches, but I'll not make new releases until I have a few more bug fixes included to make it worth while.
There are some other errors cropping up too when you try to run with E_ALL reporting, so I'll see if I can iron some of those out too.
Comment #6
Stuart Greenfield commentedSetting as "patched" as this (just the constants issue) is fixed in branches DRUPAL-5, DRUPAL-6--1 and HEAD, pending inclusion in next release.
Comment #7
Stuart Greenfield commented