You are never too old to have a good childhood!
paddy's picture

:-(( Drupal still requires LOCK TABLE permission

On testing Drupal 4.7 I was saddened to see that 4.7 still requires LOCK TABLE permission - only this time it's harder to fix.

Previously, the sole fix was in db_next_id in database.mysql.inc - of course such fixes are hotly contested and largey unsupported.

Now, two new functions have been added, db_lock_table and db_unlock_table. These are called to lock the variables and the cache tables in bootstrap.inc.

paddy's picture

weather.module available for testing for drupal 4.7 RC3

weather.module running with 4.7RC3 if you are interested. The 5 day forecast does not work as this was something given by weatherroom.com I have just recently started to test beta4. If all goes well I shall apply a patch to the original weather module.I have recently fixed a bug in the weather_block that broke the module when trying to configure for specific pages.

paddy's picture

get_html_translation_table


Parse error: syntax error, unexpected '>' in /usr/www/users/amadain/drupal-6.5/includes/common.inc(1699) : eval()'d code on line 1
paddy's picture

Backport Control Panel to work on 4.6.3

function controlpanel_settings() {
  // Clear the page cache, so that changed menus are reflected
  cache_clear_all();
  // Also clear the menu cache.
  cache_clear_all('menu:', TRUE);
  $output = '';
  $child_levels = drupal_map_assoc(array(2, 3, 4));
  $icon_sizes = drupal_map_assoc(array('24x24', '36x36', '48x48'));
  $group = form_textfield(t("Menu Path"), 'controlpanel_menu_path', variable_get('controlpanel_menu_path', 'admin'), 20, 20, t('Enter the path of the menu structure you want displayed in the Control Panel.'));
  $group .= form_select(t("Icon Size"), 'controlpanel_icon_size', variable_get('controlpanel_icon_size', '36x36'), $icon_sizes, t('Select the size of the control panel icons.'));

paddy's picture

make the url() function XHTML compliant

Update the url() function in common.inc to be XHTML compliant.

Replace the & with a &

if (variable_get('clean_url', '0') == '0') {
  if (isset($path)) {
    if (isset($query)) {
-      return $base . $script .'?q='. $path .'&'. $query . $fragment;
+      return $base . $script .'?q='. $path .'&'. $query . $fragment;
    }

paddy's picture

pgn2ico

png2ico 2002-12-08  (c) Matthias S. Benkmann
USAGE: png2ico icofile [--colors <num>] pngfile1 [pngfile2 ...]

paddy's picture

Compile 64-bit PowerPC Linux kernel

Compile a linux kernel for a 64-bit PowerPC processor on Debian

make-kpkg --subarch powerpc64 --initrd --revision=customl.0 kernel-image

paddy's picture

Anonymous Comments

Unfortunately, due to spamming via anonymous comments I have had to turn off this feature. This is sad as it made simple the sites legitimate use. I shall try to find a simple solution for posting anonymous comments.

paddy's picture

build a ppc64 toolchain

apt-get build-dep gcc glibc binutils

Get Firefox W3C Markup Validation Service W3C CSS Validation Service drupal.org | Community Plumbing Taylor McKnight  -  //gtmcknight Creative Commons License Irish

Syndicate

Syndicate content

Who's online

There are currently 0 users and 1 guest online.

pair Networks