Verify Installation Integrity
Verify Installation Integrity
Hiya how are you all?
iv just cliked on this link on my administration menue,
'Verify Installation Integrity'
and the result im getting is that:
* htmlarea/plugins/HtmlTidy/html-tidy-config.cfg corrupt or modified: failed verification
* htmlarea/plugins/PreserveScripts/php.svg corrupt or modified: failed verification
* htmlarea/plugins/SpellChecker/spell-check-logic.cgi corrupt or modified: failed verification
Can you please tell me how i can resolve this issue please thankyou
iv just cliked on this link on my administration menue,
'Verify Installation Integrity'
and the result im getting is that:
* htmlarea/plugins/HtmlTidy/html-tidy-config.cfg corrupt or modified: failed verification
* htmlarea/plugins/PreserveScripts/php.svg corrupt or modified: failed verification
* htmlarea/plugins/SpellChecker/spell-check-logic.cgi corrupt or modified: failed verification
Can you please tell me how i can resolve this issue please thankyou
Re: Verify Installation Integrity
Posting your exact s9y version number would probably help. This looks like a 1.4-beta which still thinks you're using htmlarea as the WYGIWYS editor although Xinha should be the new default WYGIWYS editor in that version ...joey wrote:'Verify Installation Integrity'
and the result im getting is that:
* htmlarea/plugins/HtmlTidy/html-tidy-config.cfg corrupt or modified: failed verification
* htmlarea/plugins/PreserveScripts/php.svg corrupt or modified: failed verification
* htmlarea/plugins/SpellChecker/spell-check-logic.cgi corrupt or modified: failed verification
YL
This is the exact version i currently have installed:
Powered by Serendipity 1.4-beta1 and PHP 5.2.6
what i did was download the new version from the site, and uploaded on my server and used my old mysql database to connect and complete the installation.
I know what i was supposed to do was download the new version and upload over the current version i had already installed, i did that but i kept on getting error messages, so i decided to go a for a brand new install using the old database.
could this be the reason why im getting this error message in the Verify Installation Integrity check?
Powered by Serendipity 1.4-beta1 and PHP 5.2.6
what i did was download the new version from the site, and uploaded on my server and used my old mysql database to connect and complete the installation.
I know what i was supposed to do was download the new version and upload over the current version i had already installed, i did that but i kept on getting error messages, so i decided to go a for a brand new install using the old database.
could this be the reason why im getting this error message in the Verify Installation Integrity check?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
You definitely need to check the files that the verification programm tells you are bad. Those definitely differ from the ones given to you in the usual serendipity installation archive! Make sure your FTP upload doesn't give you errors for those files and maybe set BINARY mode for the transfer.
If all fails, delete the checksums.inc.php file from your s9y base directory, this will bypass the verification steps.
By reinstalling serendipity, you must now make sure that all your proper settings are still intact, and it might have created new author groups and duplicate plugnins.
Regards,
Garvin
You definitely need to check the files that the verification programm tells you are bad. Those definitely differ from the ones given to you in the usual serendipity installation archive! Make sure your FTP upload doesn't give you errors for those files and maybe set BINARY mode for the transfer.
If all fails, delete the checksums.inc.php file from your s9y base directory, this will bypass the verification steps.
By reinstalling serendipity, you must now make sure that all your proper settings are still intact, and it might have created new author groups and duplicate plugnins.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
antiphasis
- Regular
- Posts: 5
- Joined: Sat Dec 06, 2008 11:23 am
Hi there,
as for the 1.4 b1, the current release throws some checksum errors.
I've downloaded the tar.gz to the server, done a md5sum -- all fine, and extracted the content with tar xzf serendipity-1.4.tar.gz - no errors.
Calling the admin interface, it announces some files having an error with the md5
* include/db/mysql.inc.php corrupt or modified: failed verification
* include/admin/templates.inc.php corrupt or modified: failed verification
* include/admin/images.inc.php corrupt or modified: failed verification
* include/functions_rss.inc.php corrupt or modified: failed verification
* bundled-libs/Smarty/libs/Smarty_Compiler.class.php corrupt or modified: failed verification
The latest file - changed as announced, just to stay up-to-date, isn't a problem, but for the other files - they were announced as bad when i'd updated from 1.3 to 1.4b1, too.
Renaming or deleting the checksums.inc.php works, so the blog is still running.
So what is the problem?
as for the 1.4 b1, the current release throws some checksum errors.
I've downloaded the tar.gz to the server, done a md5sum -- all fine, and extracted the content with tar xzf serendipity-1.4.tar.gz - no errors.
Calling the admin interface, it announces some files having an error with the md5
* include/db/mysql.inc.php corrupt or modified: failed verification
* include/admin/templates.inc.php corrupt or modified: failed verification
* include/admin/images.inc.php corrupt or modified: failed verification
* include/functions_rss.inc.php corrupt or modified: failed verification
* bundled-libs/Smarty/libs/Smarty_Compiler.class.php corrupt or modified: failed verification
The latest file - changed as announced, just to stay up-to-date, isn't a problem, but for the other files - they were announced as bad when i'd updated from 1.3 to 1.4b1, too.
Renaming or deleting the checksums.inc.php works, so the blog is still running.
So what is the problem?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Could it be that those files were not updated with the most recent ones, maybe due to file permissions? Usually if your md5sum matches the downloaded archive, all files should use the checksums specified in the s9y file.
Can you tell me your md5sums of the files only that you mentioned? Then I can compare them to the official ones...?
Regards,
Garvin
Could it be that those files were not updated with the most recent ones, maybe due to file permissions? Usually if your md5sum matches the downloaded archive, all files should use the checksums specified in the s9y file.
Can you tell me your md5sums of the files only that you mentioned? Then I can compare them to the official ones...?
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
antiphasis
- Regular
- Posts: 5
- Joined: Sat Dec 06, 2008 11:23 am
Hi Garvin, thanks for the fast reply.
Here are some more informations:
include/db/mysql.inc.php
Filedate : 2008-03-25 and size : 12635 for both archive and installed is the same,
installed md5 : 76283c13a6ae14aee37ed7515704028b
archive md5 : 3e4bca775223f32d173e163940cb7e51
checksums.inc.php : 15645135fe99a76419e19975db74b252
diff:
include/admin/templates.inc.php
-Filedate archive : 2008-04-16, size 8792, md5sum : ef075a400367982b95cfd27afc625974
-Filedate installed : 2008-04-21, size 8841, md5sum : 1ad4a8c68e62aa6c0e09cf4f330fe756
checksums.inc.php : 130fa58997e99fbfe32ea8fef6a027c9
diff installed archive:
/include/admin/images.inc.php
archive filedate : 2008-04-09, size : 38322, md5 d3303be58e67cb673bf4acd18b854022
installded filedate : 2008-04-16, size 36149, md5 35cfe3d6d42e7835ea7e17f7fb578a39
checksums.inc.php : c5cb1a30bba1587b43a1517bc40b8082
diff :
functions_rss.inc.php
archive filedate 2008-03-17, size 7673, md5sum c2b1b257a5dd278a37a43794b2ce41ea
installed filedate 2008-03-17, size 7685, md5sum c3208b7322c480f34d592dbd16f0d223
checksums.inc.php : 74fe5be183d5e7071c992751c6ebcc02
diff :
hth, Marcus
Here are some more informations:
include/db/mysql.inc.php
Filedate : 2008-03-25 and size : 12635 for both archive and installed is the same,
installed md5 : 76283c13a6ae14aee37ed7515704028b
archive md5 : 3e4bca775223f32d173e163940cb7e51
checksums.inc.php : 15645135fe99a76419e19975db74b252
diff:
Code: Select all
1c1
< <?php # $Id: mysql.inc.php 2199 2008-03-25 14:04:06Z garvinhicking $
---
> <?php # $Id: mysql.inc.php 2198 2008-03-25 14:04:06Z garvinhicking $
-Filedate archive : 2008-04-16, size 8792, md5sum : ef075a400367982b95cfd27afc625974
-Filedate installed : 2008-04-21, size 8841, md5sum : 1ad4a8c68e62aa6c0e09cf4f330fe756
checksums.inc.php : 130fa58997e99fbfe32ea8fef6a027c9
diff installed archive:
Code: Select all
1c1
< <?php # $Id: templates.inc.php 2258 2008-04-21 12:17:39Z garvinhicking $
---
> <?php # $Id: templates.inc.php 2250 2008-04-16 11:41:29Z garvinhicking $
72c72
< if ($serendipity['POST']['adminAction'] == 'configure' && serendipity_checkFormToken()) {
---
> if ($serendipity['POST']['adminAction'] == 'configure' && serendipity_checkFormToken()) {
80d79
< echo serendipity_setformToken();
82a82
> echo serendipity_setFormToken();
200,203d199
< ?>
< <?php
< /* vim: set sts=4 ts=4 expandtab : */
< ?>
archive filedate : 2008-04-09, size : 38322, md5 d3303be58e67cb673bf4acd18b854022
installded filedate : 2008-04-16, size 36149, md5 35cfe3d6d42e7835ea7e17f7fb578a39
checksums.inc.php : c5cb1a30bba1587b43a1517bc40b8082
diff :
Code: Select all
1c1
< <?php # $Id: images.inc.php 2231 2008-04-16 10:11:12Z garvinhicking $
---
> <?php # $Id: images.inc.php 2205 2008-04-09 01:57:10Z slothman $
49a50,76
> echo '<div class="warning"><em>' . PERM_DENIED . '</em></div>';
> break;
> }
>
> // Make the form to actually do sync with deleting or not
> $n = "\n";
> $warning = preg_replace('#\\\n#', '<br />', WARNING_THIS_BLAHBLAH);
> echo '<div class="serendipityAdminMsgNote">' . $warning . '</div>';
> echo ' <form method="POST" action="serendipity_admin.php?serendipity[adminModule]=media&serendipity[adminAction]=doSync">' . $n;
> echo ' <p>' . $n . ' <fieldset>' . $n;
> echo ' <legend>' . SYNC_OPTION_LEGEND . '</legend>' . $n;
> echo ' <input type="radio" name="serendipity[deleteThumbs]" value="no" checked="checked" id="keepthumbs" />' .$n;
> echo ' <label for="keepthumbs">' . SYNC_OPTION_KEEPTHUMBS . '</label><br />' . $n;
> echo ' <input type="radio" name="serendipity[deleteThumbs]" value="check" id="sizecheckthumbs" />' . $n;
> echo ' <label for="sizecheckthumbs">' . SYNC_OPTION_SIZECHECKTHUMBS . '</label><br />' . $n;
> echo ' <input type="radio" name="serendipity[deleteThumbs]" value="yes" />' . $n;
> echo ' <label for="deletethumbs">' . SYNC_OPTION_DELETETHUMBS . '</label><br />' . $n;
> echo ' </fieldset>' . $n . ' </p>' . $n;
> echo ' <input name="doSync" value="' . CREATE_THUMBS . '" class="serendipityPrettyButton input_button" type="submit" />' . $n;
> echo ' <a href="serendipity_admin.php" class="serendipityPrettyButton">' . ABORT_NOW . '</a>' . $n;
> echo '</form>';
> break;
>
> case 'doSync':
> // I don't know how it could've changed, but let's be safe.
> if (!serendipity_checkPermission('adminImagesSync')) {
> echo '<div class="warning"><em>' . PERM_DENIED . '</em></div>';
61c88,100
< $i = serendipity_syncThumbs();
---
> $deleteThumbs = false;
> if (isset($serendipity['POST']['deleteThumbs'])) {
> switch ($serendipity['POST']['deleteThumbs'])
> {
> case 'yes':
> $deleteThumbs = true;
> break;
> case 'check':
> $deleteThumbs = 'checksize';
> break;
> }
> }
> $i = serendipity_syncThumbs($deleteThumbs);
archive filedate 2008-03-17, size 7673, md5sum c2b1b257a5dd278a37a43794b2ce41ea
installed filedate 2008-03-17, size 7685, md5sum c3208b7322c480f34d592dbd16f0d223
checksums.inc.php : 74fe5be183d5e7071c992751c6ebcc02
diff :
Code: Select all
51c51
<
---
>
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
What do you diff those files against? To me it sounds like you REALLY have different files on your webspace than you should have.
Regards,
Garvin
What do you diff those files against? To me it sounds like you REALLY have different files on your webspace than you should have.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
antiphasis
- Regular
- Posts: 5
- Joined: Sat Dec 06, 2008 11:23 am
Hi Garvin, sorry for the late reply.
First: i am diffing the installed version against the version from the archive, which still matches the given md5sum.
Second: For example take a look at the mysql.inc.php. The version doesn't match the md5-check. I took the checksums.inc.php AND the mysql.inc.php fresh out of the archive - still no match at all.
Same for templates.inc.php,images.inc.php and functions_rss.inc.php.
I've checked it once more
I've trimmed down the checksums.inc.php output.
hth, Marcus
First: i am diffing the installed version against the version from the archive, which still matches the given md5sum.
Second: For example take a look at the mysql.inc.php. The version doesn't match the md5-check. I took the checksums.inc.php AND the mysql.inc.php fresh out of the archive - still no match at all.
Same for templates.inc.php,images.inc.php and functions_rss.inc.php.
I've checked it once more
Code: Select all
[host]$ md5sum images.inc.php templates.inc.php functions_rss.inc.php mysql.inc.php
d3303be58e67cb673bf4acd18b854022 images.inc.php
ef075a400367982b95cfd27afc625974 templates.inc.php
c2b1b257a5dd278a37a43794b2ce41ea functions_rss.inc.php
3e4bca775223f32d173e163940cb7e51 mysql.inc.php
[host]$ mc
[host]$ cat checksums.inc.php
'include/db/mysql.inc.php' => '15645135fe99a76419e19975db74b252',
'include/admin/images.inc.php' => 'c5cb1a30bba1587b43a1517bc40b8082',
'include/functions_rss.inc.php' => '74fe5be183d5e7071c992751c6ebcc02',
'include/functions_images.inc.php' => '812e0e740e6c4cb0a855da7bcdd8feb3',
hth, Marcus
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
The md5sum is built for the .tar.gz release, it is unrelated to the files on your server.
Regards,
Garvin
You know that if you diff against the archive version this means your installed version is DIFFERENT than the archive version, right? Thus, you are simply not extracing the archive properly, check your file permissions and use the "-v" flag for "tar -xvzf".First: i am diffing the installed version against the version from the archive, which still matches the given md5sum.
The md5sum is built for the .tar.gz release, it is unrelated to the files on your server.
The md5 sum provided inside the checksums.inc.php file is NOT the same like as the md5sum tool reports. The md5 checksums.inc.php file uses checksums MINUS all linebreaks, that's why they all differ.Second: For example take a look at the mysql.inc.php. The version doesn't match the md5-check. I took the checksums.inc.php AND the mysql.inc.php fresh out of the archive - still no match at all.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
antiphasis
- Regular
- Posts: 5
- Joined: Sat Dec 06, 2008 11:23 am
Right. That is the point that makes me wonder....garvinhicking wrote:Hi!
You know that if you diff against the archive version this means your installed version is DIFFERENT than the archive version, right?
YMMDThus, you are simply not extracing the archive properly, check your file permissions and use the "-v" flag for "tar -xvzf".
I know. I simply annotated that to make sure that the archive isn't corrupted.garvinhicking wrote:The md5sum is built for the .tar.gz release, it is unrelated to the files on your server.
Second: For example take a look at the mysql.inc.php. The version doesn't match the md5-check. I took the checksums.inc.php AND the mysql.inc.php fresh out of the archive - still no match at all.
So you are telling me that there is no possibility to check the validity with simple shell-action? Sorry, made my day again. But ok, got it. Hooked up the python and hacked a lil' script.garvinhicking wrote: The md5 sum provided inside the checksums.inc.php file is NOT the same like as the md5sum tool reports. The md5 checksums.inc.php file uses checksums MINUS all linebreaks, that's why they all differ.
btw: Happy new year!
Hi! As the architect of this capability, I just wanted to chime in. Yes, it's not a normal MD5 checksum, because it can't be. If files were uploaded via FTP in ASCII mode, characters could have been changed. These changes wouldn't necessarily make the files corrupt, though.
The checksum algorithm Serendipity uses is designed to handle FTP-transferred files. But it sounds like you already figured that out and wrote some Python around it!
Congratulations, and if you have any troubles, just ask again.
The checksum algorithm Serendipity uses is designed to handle FTP-transferred files. But it sounds like you already figured that out and wrote some Python around it!
Congratulations, and if you have any troubles, just ask again.