Drupal Blog

User login

Drupal: MySQL server has gone away

The other day I was working on a website, when the following error came up out of the blue:

PHP Warning: MySQL server has gone away

blog:

YouTube validation errors: a quick fix

In one of our latest projects we were asked to implement a video gallery for a famous choreographer, using videos already uploaded in YouTube.

Well, it so appears that the code provided by Youtube fails the validation test with multiple errors, mostly concerning the "embed" element.

Here is the code, as provided by YouTube.


<object width="425" height="344">
<param name="movie" value="http://www.youtube.com/
v/FAM3tyAJ8Vw&hl=en&fs=1"></param>
<param name="allowFullScreen" value="true"></param>

Internet explorer CSS errors?

We were working on a zen subtheme for a website when we came accross a very strange issue. Internet explorer would not render the CSS files properly. It would pick some css files, but more or less the page was scrambled. Strange issue indeed, as other browsers would display the content just fine.

After some experimentation, we realised that this is happening for both drupal 5 and 6, for internet explorer 6 and 7. Tried to disable some modules, and played around with the zen configuration, all in vain...

Pages

Subscribe to Drupal Blog