[SOLVED] Checking for corrupted files without checksum

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
Andor
Forum Members
Forum Members
Posts: 49
Joined: Sun Feb 19, 2006 1:42 pm

[SOLVED] Checking for corrupted files without checksum

Post by Andor »

Hi all,

Any ideas on how to find corrupted files after an ftp transfer of all files?

Earlier I was lucky enough to find the 2-3 files that didn't make it over to a new server just by checking the most obvious ones. Now, I just get a lot of errors and can't find the files causing the trouble.

I transferred 1.2.3 "Black Rock" to the new server and all errors are similar in debug:

Code: Select all

Debug: (0,088305) - (2544892)

<br>
(mysql): SELECT * FROM cms_modules ORDER BY module_name<br>
 Error (0): <br>

<br>
(mysql): SELECT preference, value FROM cms_userprefs WHERE user_id = '1'<br>
 Error (0): <br>
I've checked the DB for the tables and fields from the debug - it's all there.

In addition, I have errors like "unrecognized tag" in the front and "Add me..." in admin.

Where and how do I look for corruptions now?

Thanks
Last edited by Andor on Wed Nov 19, 2008 12:05 am, edited 1 time in total.
alby

Re: Checking for corrupted files without checksum

Post by alby »

Andor wrote: I transferred 1.2.3 "Black Rock" to the new server and all errors are similar in debug:
Error (0):  = no error

Andor wrote: In addition, I have errors like "unrecognized tag" in the front and "Add me..." in admin.
Check for plugin folder and folder permissions

Alby
Andor
Forum Members
Forum Members
Posts: 49
Joined: Sun Feb 19, 2006 1:42 pm

Re: Checking for corrupted files without checksum

Post by Andor »

Thanks for your swift reply, Alby :)

I've CHMOD the following directories to 777:

* tmp
* tmp/templates_c
* tmp/cache
* uploads
* uploads/images
* modules

Plugin folder is there and all files in that folder transferred again - tested in both ASCII and binary mode.

Interestingly enough, I get "Cache folder is not writable" in Admin, even if it's 777. This also means I'm not sure if I actually clear the cache even if it says "Cache Cleared" - any clues?
alby

Re: Checking for corrupted files without checksum

Post by alby »

Andor wrote: I've CHMOD the following directories to 777:

* tmp
* tmp/templates_c
* tmp/cache
* uploads
* uploads/images
* modules

Plugin folder is there and all files in that folder transferred again - tested in both ASCII and binary mode.

Interestingly enough, I get "Cache folder is not writable" in Admin, even if it's 777. This also means I'm not sure if I actually clear the cache even if it says "Cache Cleared" - any clues?
For Add me in admin you must check permission of admin/lang/..... folders
For plugins you must check permission of plugins folder
Attention if you use Windows server, permissions are not same of unix (777 can be deny for other owner)

Alby
alby

Re: Checking for corrupted files without checksum

Post by alby »

Andor wrote: I've CHMOD the following directories to 777:

* tmp
* tmp/templates_c
* tmp/cache
* uploads
* uploads/images
* modules

Plugin folder is there and all files in that folder transferred again - tested in both ASCII and binary mode.

Interestingly enough, I get "Cache folder is not writable" in Admin, even if it's 777. This also means I'm not sure if I actually clear the cache even if it says "Cache Cleared" - any clues?
Filezilla 3.X I think that have a "Compare directories" ....
For Add me in admin you must check permission of admin/lang/..... folders
For plugins you must check permission of plugins folder
Attention if you use Windows server, permissions are not same of unix (777 can be deny for other owner)

Alby
Andor
Forum Members
Forum Members
Posts: 49
Joined: Sun Feb 19, 2006 1:42 pm

Re: Checking for corrupted files without checksum

Post by Andor »

Grazie, Alby,

I did a check with FireFTP - checking for existence and size - but no solution there. It boils down to that Smarty_Compiler.class.php just doesn't recognize 14 tags. I really don't have a clue  :-\

I might just try another run from scratch and see if that helps.

Again, thanks for your assistance
Andor
Forum Members
Forum Members
Posts: 49
Joined: Sun Feb 19, 2006 1:42 pm

Re: Checking for corrupted files without checksum

Post by Andor »

Ouch, Alby  :-[

I found the problem - the paths in config...

Anyway, I'm happy as ever  :)
Locked

Return to “[locked] Installation, Setup and Upgrade”