Re: Upgrading script corrupted when create_file_list's php binary is modified [message #159715 is a reply to message #159711] |
Wed, 17 June 2009 20:40 |
rflores
Messages: 14 Registered: June 2009
Karma:
|
Junior Member |
|
|
naudefj wrote on Wed, 17 June 2009 22:18 | Note that the documentation is on a wiki, so feel free to jump to fix mistakes or improve it.
|
Hm, yeah, you're right. When needed, I'll update this wiki myself.
naudefj wrote on Wed, 17 June 2009 22:18 |
It works for me. What version of PHP are you using? Windows or Linux?
|
Here are information about the system :
Forum Version: 2.8.1
PHP Version: 5.2.6-3ubuntu4.1
PHP built On: Linux rflores-laptop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686
Database Type: mysql
Database Version: 5.0.75-0ubuntu10.2
Web Server: Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu4.1 with Suhosin-Patch
Web Server to PHP interface: apache2handler
WebServer User/Group: 33 / 33
Relevant PHP Settings:
Safe Mode: OFF
Open basedir: none
Display Errors: ON
File Uploads: ON
Maximum File Upload Size: 2M
Magic Quotes: ON
Register Globals: OFF
Output Buffering: No
Disabled Functions: none
PSpell Support: No
Zlib Support: Yes
For extended information, you can see join file.
naudefj wrote on Wed, 17 June 2009 22:18 | User rflores: | is there any way that the checksum take account the modifications into the edited file
|
Not sure I understand the question. Can you please rephrase?
PS: I normally run this script with php -q create_file_list upgrade 1 >> upgrade2.php (note upgrade2 to prevent the script from overwriting itself).
|
Well, I tought create_file_list script was introduced in the upgrade.php script so that modification on him would change the checksum, but it's not the case I believe. By the way when I edit directly the file, the checksum was not good, the file considered as corrupted. If we modify the file, as described in documentation, it causes this problem (for my case).
It's all.
Note the -q option on PHP does not work for me, it's not an available option. My man php page in PDF is joined.
-
Attachment: phpinfo.zip
(Size: 9.61KB, Downloaded 858 times)
-
Attachment: manphp.zip
(Size: 9.29KB, Downloaded 815 times)
|
|
|