PDA

View Full Version : Problems with 1.3.3 > 4.6.6.1


AcidCell
05-01-2006, 07:08 PM
Hello,

After upgrading to 4.6.6.1 from 1.3.3 by overwriting all of the files and uploading the product with overwright checked, I'm getting an error on the top of every single page
warning: getimagesize() [function.getimagesize]: Read error! in /***/***/articles/includes/theme.inc on line 475.
On top of administer > modules, under mission and footer message in administer > settings I'm getting code on the top of the page
>" . t("For All Time") . "\n"; } else { $html .= "" . t("For the past ") . $interval . "\n"; } foreach($pops[$interval] as $list) { $nodelink = l($list['title'], 'node/' . $list['nid']); $html .= "" . $nodelink . "" . $list['totalcount'] . " " . t("reads") . "\n"; } } $html .= "\n"; return $html; } ?>
On top of administer > theme, I am getting

\n"; $output .= "
". theme('links', array_merge($submitted, $links)) ."
\n"; $output .= "\n"; return $output; } ?> global $xtemplate; $xtemplate->template->assign(array( "title" => $title, "content" => $content)); $xtemplate->template->parse("box"); $output = $xtemplate->template->text("box"); $xtemplate->template->reset("box"); return $output; } ?>


Also, drupal generated images (theme previews, those little icons in admin logs, etc) are missing, and when I try to view those images in the browser, I get the url of the image. The images do exist in the file system.

The product, when enabled in vBulletin takes out showthread and messes up admin login.

Sorry I couldn't get line breaks between the code blocks, but any help would be appreciated.

Thanks

elmuerte
05-02-2006, 03:07 AM
Odd errors. It might be related to a bug I just found, forgot to include some code.

Download the updated product xml here: http://www.vbdrupal.org/forum/attachment.php?attachmentid=23&d=1146556859

alexanderpas
05-02-2006, 03:55 AM
here are your line breaks ;)Hello,

After upgrading to 4.6.6.1 from 1.3.3 by overwriting all of the files and uploading the product with overwright checked, I'm getting an error on the top of every single page
warning: getimagesize() [function.getimagesize]: Read error! in /***/***/articles/includes/theme.inc on line 475.
On top of administer > modules, under mission and footer message in administer > settings I'm getting code on the top of the page
>" . t("For All Time") . "\n";
} else {
$html .= "" . t("For the past ") . $interval . "\n";
}
foreach($pops[$interval] as $list)
{
$nodelink = l($list['title'], 'node/' . $list['nid']);
$html .= "" . $nodelink . "" . $list['totalcount'] . " " . t("reads") . "\n";
}
}
$html .= "\n";
return $html;
}
?>
On top of administer > theme, I am getting

\n"; $output .= "". theme('links', array_merge($submitted, $links)) ."\n";
$output .= "\n";
return $output;
}
?>
global $xtemplate;
$xtemplate->template->assign(array( "title" => $title, "content" => $content));
$xtemplate->template->parse("box");
$output = $xtemplate->template->text("box");
$xtemplate->template->reset("box");
return $output; } ?>


Also, drupal generated images (theme previews, those little icons in admin logs, etc) are missing, and when I try to view those images in the browser, I get the url of the image. The images do exist in the file system.

The product, when enabled in vBulletin takes out showthread and messes up admin login.

Sorry I couldn't get line breaks between the code blocks, but any help would be appreciated.

Thanks
anyone noticed the ?> in the third block of code...
seems like the php get's closed prematurily

AcidCell
05-02-2006, 06:31 PM
Thanks, that fixed the forum errors and the admincp, but the getimagesize error and the php code at the top are still around.

Edit: I've managed to get rid of the image error and the php at the top of the pages by disabling and re-enabling the Drupal cache system. The php code above administer > modules is still there though. Clicking on administer > categories outputs a white page. Also, it seems like all of the images in the current release are corrupted.

elmuerte
05-03-2006, 02:46 AM
if you get a blank page you might want to increase the memory limit
the config.php_new file tells you how to

wtf.. images corrupt again!?

elmuerte
05-03-2006, 03:01 AM
hmmm... looks like tamarian added the images as text files instead of binaries.

elmuerte
05-03-2006, 03:38 AM
ok, I've put together an image only release:
http://prdownloads.sourceforge.net/vbdrupal/vbdrupal-images-4.6.6.2.zip?download

simply extract the images overwriting the previous images

AcidCell
05-03-2006, 07:09 PM
I tried that, but administer > category still gives me a white page.