Attachment Mod Upgrade: Ein Paar Fragen
Verfasst: 20.02.2006 16:10
Hallo,
ich würde gerne von 2.39 auf 2.41 upgraden.
Dazu steht in der Installation folgender Text (siehe unten):
Was genau muss ich denn jetzt machen?
Was hat es mit "UNIX type patch application" auf sich? Wo finde ich diese?
Zu der Command line "patch -cl -d [PHPBB DIRECTORY] -p1 < [PATCH NAME]". Wäre es so theoretisch richtig:
patch -cl -d [forum] -p1 < [2.3.9_to_2.4.1]
Was soll denn das bitte bewirken?
Blicke nicht so richtig durch, hoffe ihr koennt mir helfen!
Danke!
ich würde gerne von 2.39 auf 2.41 upgraden.
Dazu steht in der Installation folgender Text (siehe unten):
Was genau muss ich denn jetzt machen?
Was hat es mit "UNIX type patch application" auf sich? Wo finde ich diese?
Zu der Command line "patch -cl -d [PHPBB DIRECTORY] -p1 < [PATCH NAME]". Wäre es so theoretisch richtig:
patch -cl -d [forum] -p1 < [2.3.9_to_2.4.1]
Was soll denn das bitte bewirken?
Blicke nicht so richtig durch, hoffe ihr koennt mir helfen!
Danke!
Patch file:
The patch file is probably the best solution for those with many Mods or other changes who do not want to re-add them back to all the changed files.
To use this you will need command line access to a standard UNIX type patch application.
A number of patch files are provided to allow you to upgrade from previous releases.
Select the correct patch, e.g. if your current version is 2.3.14 you need the attach_mod-2.3.14_to_2.4.1.patch. Place the correct patch
in the parent directory containing the phpBB 2 core files (i.e. index.php, viewforum.php, etc.).
With this done you should run the following command:
patch -cl -d [PHPBB DIRECTORY] -p1 < [PATCH NAME]
(where PHPBB DIRECTORY is the directory name your phpBB Installation resides in, for example phpBB2, and where PATCH NAME is the relevant
filename of the selected patch file). This should complete quickly, hopefully without any HUNK FAILED comments.
>If you do get failures you should look at using the Changed files only package to replace the files which failed to patch,
please note that you will need to manually re-add any Mods to these particular files.
Alternatively if you know how you can examine the .rej files to determine what failed where and make manual adjustments to the relevant source.
You should of course delete the patch file (or files) after use. As for the other upgrade procedures you should run
install/update_to_latest.php after you have finished updating the files. This will update your database schema and data (if appropriate)
and increment the version number.
Please be careful to not overwrite your existing images or uploaded files.
---
Upload the Updater:
attachment_mod/install/update_to_latest.php -> install/update_to_latest.php
Maybe you have to create the install folder, since the update_to_latest.php file have to be placed
within the install folder under your phpBB2 Directory.
---
Now run the update script: http://www.yourdomain.com/phpBB2/instal ... latest.php
If you have problems or questions on this, please read the Attachment Mod User Guide first.
---
Upload all files to their respective Location (the directory structure is in the folder root).
For a list of changed files, please use the changed files only release (downloadable at http://www.sourceforge.net/projects/acydmods).
attachment_mod/download.php -> download.php
attachment_mod/uacp.php -> uacp.php
attachment_mod/attach_rules.php -> attach_rules.php
attachment_mod/admin/admin_attach_cp.php -> admin/admin_attach_cp.php
attachment_mod/admin/admin_attachments.php -> admin/admin_attachments.php
attachment_mod/admin/admin_extensions.php -> admin/admin_extensions.php
attachment_mod/attach_mod/attachment_mod.php -> attach_mod/attachment_mod.php
attachment_mod/attach_mod/displaying.php -> attach_mod/displaying.php
attachment_mod/attach_mod/pm_attachments.php -> attach_mod/pm_attachments.php
attachment_mod/attach_mod/posting_attachments.php -> attach_mod/posting_attachments.php
attachment_mod/attach_mod/includes/constants.php -> attach_mod/includes/constants.php
attachment_mod/attach_mod/includes/functions_admin.php -> attach_mod/includes/functions_admin.php
attachment_mod/attach_mod/includes/functions_attach.php -> attach_mod/includes/functions_attach.php
attachment_mod/attach_mod/includes/functions_delete.php -> attach_mod/includes/functions_delete.php
attachment_mod/attach_mod/includes/functions_filetypes.php -> attach_mod/includes/functions_filetypes.php
attachment_mod/attach_mod/includes/functions_includes.php -> attach_mod/includes/functions_includes.php
attachment_mod/attach_mod/includes/functions_selects.php -> attach_mod/includes/functions_selects.php
attachment_mod/attach_mod/includes/functions_thumbs.php -> attach_mod/includes/functions_thumbs.php
attachment_mod/templates/subSilver/add_attachment_body.tpl -> templates/subSilver/add_attachment_body.tpl
attachment_mod/templates/subSilver/posted_attachments_body.tpl -> templates/subSilver/posted_attachments_body.tpl
attachment_mod/templates/subSilver/posting_attach_body.tpl -> templates/subSilver/posting_attach_body.tpl
attachment_mod/templates/subSilver/posting_attach_rules.tpl -> templates/subSilver/posting_attach_rules.tpl
attachment_mod/templates/subSilver/uacp_body.tpl -> templates/subSilver/uacp_body.tpl
attachment_mod/templates/subSilver/viewtopic_attach_body.tpl -> templates/subSilver/viewtopic_attach_body.tpl
attachment_mod/templates/subSilver/admin/attach_cat_body.tpl -> templates/subSilver/admin/attach_cat_body.tpl
attachment_mod/templates/subSilver/admin/attach_cp_attachments.tpl -> templates/subSilver/admin/attach_cp_attachments.tpl
attachment_mod/templates/subSilver/admin/attach_cp_body.tpl -> templates/subSilver/admin/attach_cp_body.tpl
attachment_mod/templates/subSilver/admin/attach_cp_search.tpl -> templates/subSilver/admin/attach_cp_search.tpl
attachment_mod/templates/subSilver/admin/attach_cp_user.tpl -> templates/subSilver/admin/attach_cp_user.tpl
attachment_mod/templates/subSilver/admin/attach_extension_groups.tpl -> templates/subSilver/admin/attach_extension_groups.tpl
attachment_mod/templates/subSilver/admin/attach_extensions.tpl -> templates/subSilver/admin/attach_extensions.tpl
attachment_mod/templates/subSilver/admin/attach_forbidden_extensions.tpl -> templates/subSilver/admin/attach_forbidden_extensions.tpl
attachment_mod/templates/subSilver/admin/attach_manage_body.tpl -> templates/subSilver/admin/attach_manage_body.tpl
attachment_mod/templates/subSilver/admin/attach_quota_body.tpl -> templates/subSilver/admin/attach_quota_body.tpl
attachment_mod/templates/subSilver/admin/attach_shadow.tpl -> templates/subSilver/admin/attach_shadow.tpl
attachment_mod/templates/subSilver/admin/extension_groups_permissions.tpl -> templates/subSilver/admin/extension_groups_permissions.tpl
---
Upload the Language Files (English (German is optional)) provided with the Attachment Mod, located in attach_mod/root/language)
to your language Directory.