[support] support Digest, Vol 64, Issue 43

Moges Kelklie moges.kelklie at strayer.edu
Wed Sep 22 16:38:35 UTC 2010


Are professional services available for drupal production implementation ?

-----Original Message-----
From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of support-request at drupal.org
Sent: Monday, April 28, 2008 4:41 AM
To: support at drupal.org
Subject: support Digest, Vol 64, Issue 43

Send support mailing list submissions to
        support at drupal.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.drupal.org/listinfo/support
or, via email, send a message with subject or body 'help' to
        support-request at drupal.org

You can reach the person managing the list at
        support-owner at drupal.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of support digest..."


Today's Topics:

   1. Re: Weird mysql error when creating new forum (Shai Gluskin)
   2. Drupal's Audio Module and Accessibility to Screen Readers
      (Stuart Lawler)
   3. Re: Problem with file upload (Cog Rusty)
   4. Re: Problem with file upload (Davide Michel 'ZioBudda' Morelli)
   5. Re: Drupal's Audio Module and Accessibility to Screen     Readers
      (Simone Dal Maso)
   6. Re: Drupal's Audio Module and Accessibility to Screen     Readers
      (Stuart Lawler)
   7. Views incorrect default order (Marolijo - Pol maresma)


----------------------------------------------------------------------

Message: 1
Date: Sun, 27 Apr 2008 10:38:03 -0400
From: "Shai Gluskin" <shai at content2zero.com>
Subject: Re: [support] Weird mysql error when creating new forum
To: support at drupal.org
Message-ID:
        <9f68efb70804270738k112a99e5sf8aca328b1b6acfd at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Cog and others,

I fixed the problem with your help but with some modifications to the
instructions. Thought I'd follow up with the fuller story.

The problem occurred because I imported hundreds of categories without ever
manually resetting the term_data_tid row in the sequences table. In order to
found what what I should set the value to, I needed to browse the term_data
table to see what the highest used number was.

Again, thanks so much!

Shai

On Sun, Apr 27, 2008 at 3:48 AM, Shai Gluskin <shai at content2zero.com> wrote:

> thanks so much, Mike, Earnie and Cog,
>
> Yes I'm using D 5.7. There is lots of information here to get me started
> on solving this problem. Thank you so much.
>
> Shai
>
>
> On Sat, Apr 26, 2008 at 1:43 AM, Cog Rusty <cog.rusty at gmail.com> wrote:
>
> > On Sat, Apr 26, 2008 at 8:15 AM, Cog Rusty <cog.rusty at gmail.com> wrote:
> > > On Fri, Apr 25, 2008 at 8:19 AM, Shai Gluskin <shai at content2zero.com>
> > wrote:
> > >  > Drupallers,
> > >  >
> > >  > When trying to create a new forum, I get this error:
> > >  >
> > >  > > user warning: Duplicate entry '10' for key 1 query: INSERT INTO
> > term_data
> > >  > (tid, name, description, vid, weight) VALUES (10, 'Sellers Forum',
> > '', 4, 0)
> > >  > in /home/cmp/public_html/includes/database.mysql.inc on line 172.
> > >  >
> > >  > Why is  Drupal trying to run a query to insert info data into the
> > term_data
> > >  > table?
> > >
> > >  Because forums are terms in the taxonomy vocabulary "Forums". And for
> > >  some reason, Drupal attempted to create a term with ID=10 while there
> > >  was already a term with this ID, instead of taking the next available
> > >  ID. There could be many reasons. It could happen in a bizarre
> > database
> > >  setup or in a multisite with some shared and some separate tables in
> > >  some cases.
> > >
> >
> >
> > A follow-up to add: I am guessing that you are running Drupal 5 or
> > earlier, because this is very unlikely to happen in Drupal 6. If so,
> > using phpMyAdmin go to the "sequences" table, select "Browse", and
> > find the row "term_data_tid". If you see an ID=9 in that row, change
> > it to 10. So the next term to be created will be 11 and you are
> > unblocked.
> >
> >
> > >
> > >  > I'm adding the forum at:
> > example.com/en/admin/content/forum/add/forum (the
> > >  > "en" is for English, I'm using translation module).
> > >  >
> > >  > As usual, any help would be appreciated!
> > >  >
> > >  > Shai
> > >  >
> > >  > --
> > >
> > >
> > > >  [ Drupal support list | http://lists.drupal.org/ ]
> > >  >
> > >
> > --
> > [ Drupal support list | http://lists.drupal.org/ ]
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20080427/13913b05/attachment-0001.htm

------------------------------

Message: 2
Date: Sun, 27 Apr 2008 20:23:08 +0100
From: "Stuart Lawler" <stuart.lawler at visionline.ie>
Subject: [support] Drupal's Audio Module and Accessibility to Screen
        Readers
To: <support at drupal.org>
Message-ID: <012501c8a89c$1fd2eaa0$0202a8c0 at Stuartnew>
Content-Type: text/plain;       charset="US-ASCII"

Hello,

I've been trying to set up the Audio module to run on my website. I'm
currently using Drupal 5.7. However, I have discovered that the built-in
players that ship with this module are inaccessible to screenreaders and
therefore, as a blind user, I can't access the audio that I upload, nor can
any other blind visitors to my site.

I am particularly looking to add audio posts to my blog.

My question therefore, is there a way that the audio module can instead
generate a playlist file like an m3u file, that would open in the user's
player of choice?

Kind Regards,

Stuart Lawler.




------------------------------

Message: 3
Date: Sun, 27 Apr 2008 23:50:41 +0300
From: "Cog Rusty" <cog.rusty at gmail.com>
Subject: Re: [support] Problem with file upload
To: support at drupal.org
Message-ID:
        <a08ea0280804271350y63e70ca0j84a9220a88c66794 at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On Sun, Apr 27, 2008 at 3:12 AM, Davide Michel 'ZioBudda' Morelli
<michel at ziobudda.net> wrote:
> Hi all. I need to upload 6 files via a form. In my module I have this
>  form's function:
>
>  function mymodule_file() {
>     return drupal_get_form('mymodule_file_form');
>  }
>
>  /**
>   * Implementation of hook_form().
>   *
>   * Return an array of the form elements needed to edit this node.
>   */
>  function mymodule_file_form() {
>
>   $form = array();
>  /*$form['replace'] = array(
>         '#type' => 'markup',
>         '#value' => '<b>'. t('I file vecchi verranno cancellati.') .'</p>',
>         '#prefix' => '<div class="description">',
>         '#suffix' => '</div>',
>         '#weight' => 9
>       );
>  */
>   // Set form parameters so we can accept file uploads.
>   $form['#attributes'] = array('enctype' => 'multipart/form-data');
>   // standard node title
>
>   // file upload field
>   $form['file_obbligazionario'] = array(
>     '#type' => 'file',
>     '#title' => t('File obbligazionario'),
>     '#default_value' => '',
>     '#attributes' => array('accept' => 'pdf|doc'),
>   );
>
>
>   $form['file_bond'] = array(
>     '#type' => 'file',
>     '#title' => t('File bond'),
>     '#size' => 40,
>   );
>
>   $form['file_80_20'] = array(
>     '#type' => 'file',
>     '#title' => t('File 80/20'),
>     '#size' => 40,
>   );
>
>   $form['file_euro'] = array(
>     '#type' => 'file',
>     '#title' => t('File euro'),
>     '#size' => 40,
>   );
>
>   $form['file_io'] = array(
>     '#type' => 'file',
>     '#title' => t('File italian opportunity'),
>     '#size' => 40,
>   );
>
>   $form['file_monetario'] = array(
>     '#type' => 'file',
>     '#title' => t('File monetario'),
>     '#size' => 40,
>     '#default_value' => '',
>   );
>
>   $form['submit'] = array(
>       '#type' => 'submit',
>       '#value' => 'Invia',
>       '#weight' => 10,
>   );
>
>   return $form;
>  }
>
>  And  the form is correctly render into web browser.
>  My problem is when I sumbit the form with the files to upload:
>
>  function rating_file_form_submit($form_id,&$form_values) {
>     dprint_r($form_values);
>  }
>
>  I see this into browser:
>
>  Array
>
>  (
>     [file_obbligazionario] =>
>     [file_bond] =>
>     [file_80_20] =>
>     [file_euro] =>
>     [file_io] =>
>     [file_monetario] =>
>     [op] => Invia
>     [submit] => Invia
>     [form_token] => d58107a0eb0c91a8952524bbb5b7c239
>     [form_id] => rating_file_form
>  )
>
>
>  Why the files are not uploaded ???


I am not qualified to say anything about your form, but have you
checked if you can upload your 6 files in a node edit form using
Drupal's standard upload module? If not, then it may be a matter of
PHP settings in php.ini:

upload_max_filesize = 4M
post_max_size = 25M      ; 4x6 files = 24, plus 1 for the rest of the content.
memory_limit = 40M

Other possible reasons for an upload failure include a misconfigured
PHP tmp directory or, on a Windows server, a magic_quotes_gpc=On
setting.


>  Tnx.
>
>  --
>  Michel 'ZioBudda' Morelli                       michel at ziobudda.net
>  Consulenza sistemistica in ambito OpenSource.
>  Sviluppo applicazioni web dinamiche (LAMP+Ajax)
>  Telefono: 0200619074
>  Telefono Cell: +39-3939890025 --  Fax: +39-0291390660
>
>  http://www.ziobudda.net                         ICQ: 58351764
>  http://www.ziobuddalabs.it                      Skype: zio_budda
>  http://www.ajaxblog.it                          MSN: michel at ziobuddalabs.it
>                                                 JABBER: michel at gmail.com
>
>  --
>  [ Drupal support list | http://lists.drupal.org/ ]
>


------------------------------

Message: 4
Date: Sun, 27 Apr 2008 23:47:18 +0200
From: Davide Michel 'ZioBudda' Morelli <michel at ziobudda.net>
Subject: Re: [support] Problem with file upload
To: support at drupal.org
Message-ID: <4814F466.6010006 at ziobudda.net>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed

Solved.

M.


------------------------------

Message: 5
Date: Mon, 28 Apr 2008 07:32:42 +0200
From: "Simone Dal Maso" <simone.dalmaso at juvox.it>
Subject: Re: [support] Drupal's Audio Module and Accessibility to
        Screen  Readers
To: <support at drupal.org>,       <stuart.lawler at visionline.ie>
Message-ID: <013f01c8a8f1$48407e30$cd09e91d at sh1kyou>
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
        reply-type=original

Hi,
as I am visual impaired, this is very cool.
I don't know how to generate playlist, anyway I used the mediadisplay module
and cck media display, in order to make a form where the user can upload its
audio files, then with litle adjustment in php you can display each files
with own properties.
I installed the Audio module, but  I wasn't able to see the player, and this
is strange because also if flash player is inaccessible, I should see some
words as "start flash" or "end flash", so I give it up.

Anyway, Drupal 5 is one of  few cms really accessible for blind people also
from an admin point of view, including all the administrative tasks.
I didn't try drupal 6, I think that drag and drop with blocks will generate
lots of problems.
Bye.







----- Original Message -----
From: "Stuart Lawler" <stuart.lawler at visionline.ie>
To: <support at drupal.org>
Sent: Sunday, April 27, 2008 9:23 PM
Subject: [support] Drupal's Audio Module and Accessibility to Screen Readers


> Hello,
>
> I've been trying to set up the Audio module to run on my website. I'm
> currently using Drupal 5.7. However, I have discovered that the built-in
> players that ship with this module are inaccessible to screenreaders and
> therefore, as a blind user, I can't access the audio that I upload, nor
> can
> any other blind visitors to my site.
>
> I am particularly looking to add audio posts to my blog.
>
> My question therefore, is there a way that the audio module can instead
> generate a playlist file like an m3u file, that would open in the user's
> player of choice?
>
> Kind Regards,
>
> Stuart Lawler.
>
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>



------------------------------

Message: 6
Date: Mon, 28 Apr 2008 07:49:16 +0100
From: "Stuart Lawler" <stuart.lawler at visionline.ie>
Subject: Re: [support] Drupal's Audio Module and Accessibility to
        Screen  Readers
To: "'Simone Dal Maso'" <simone.dalmaso at juvox.it>,
        <support at drupal.org>
Message-ID: <005201c8a8fb$fa2251f0$0202a8c0 at Stuartnew>
Content-Type: text/plain;       charset="us-ascii"

Hi Simone,

I agree with you, Drupal is really really accessible and a very nice content
management system to use.

If there was a way though that I could get my audio files to play I would be
very happy!

Regards,

Stuart.

-----Original Message-----
From: Simone Dal Maso [mailto:simone.dalmaso at juvox.it]
Sent: 28 April 2008 06:33
To: support at drupal.org; stuart.lawler at visionline.ie
Subject: Re: [support] Drupal's Audio Module and Accessibility to Screen
Readers

Hi,
as I am visual impaired, this is very cool.
I don't know how to generate playlist, anyway I used the mediadisplay module
and cck media display, in order to make a form where the user can upload its
audio files, then with litle adjustment in php you can display each files
with own properties.
I installed the Audio module, but  I wasn't able to see the player, and this
is strange because also if flash player is inaccessible, I should see some
words as "start flash" or "end flash", so I give it up.

Anyway, Drupal 5 is one of  few cms really accessible for blind people also
from an admin point of view, including all the administrative tasks.
I didn't try drupal 6, I think that drag and drop with blocks will generate
lots of problems.
Bye.







----- Original Message -----
From: "Stuart Lawler" <stuart.lawler at visionline.ie>
To: <support at drupal.org>
Sent: Sunday, April 27, 2008 9:23 PM
Subject: [support] Drupal's Audio Module and Accessibility to Screen Readers


> Hello,
>
> I've been trying to set up the Audio module to run on my website. I'm
> currently using Drupal 5.7. However, I have discovered that the built-in
> players that ship with this module are inaccessible to screenreaders and
> therefore, as a blind user, I can't access the audio that I upload, nor
> can
> any other blind visitors to my site.
>
> I am particularly looking to add audio posts to my blog.
>
> My question therefore, is there a way that the audio module can instead
> generate a playlist file like an m3u file, that would open in the user's
> player of choice?
>
> Kind Regards,
>
> Stuart Lawler.
>
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>





------------------------------

Message: 7
Date: Mon, 28 Apr 2008 10:40:29 +0200
From: "Marolijo - Pol maresma" <marolijo at yahoo.es>
Subject: [support] Views incorrect default order
To: <support at drupal.org>
Message-ID: <20080428084047.A632C161A4D at spaceymail-a4.g.dreamhost.com>
Content-Type: text/plain; charset="us-ascii"

Hello, I need to place on top of a view the last entered node.
I tryed with "created time" and "updated time" but there are some nodes that
are not showed well.
I cleared the views cache...
Any idea?

Thank's!
Pol Maresma
PolNetwork.com / Serveis d'Internet
msn: marolijo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20080428/d604b4f5/attachment.htm

------------------------------

--
[ Drupal support list | http://list.drupal.org/ ]

End of support Digest, Vol 64, Issue 43
***************************************


More information about the support mailing list