From Online Manual
Yükseltme, SMF'yi geçmiş sürümlerinden daha yeni sürümlerine eklenti yüklüyse geçiş işlemidir. Eğer SMF'nin geçmiş sürümünden daha yeni bir sürüme geçiş yapıyorsanız ve her hangi bir eklenti yüklü değilse, güncelleme veya yamalama işlemlerini düşünebilirsiniz. Eğer sıfırdan bir Forum yüklemek istiyorsanız, lütfen SMF'yi yükleme talimatlarına bakın. Eğer başka bir Forum yazılımından SMF'ye dönmek istiyorsanız, lütfen çevirme talimatlarına bakın.
|Lütfen unutmayın large upgrade ile tüm yüklü eklentiler kaldırılacaktır.|
SMF forumu yükseltmek kolaydır! Altı basit ve hızlı adımda yapılabilir:
- 1 Yükseltme Arşivini İndirin
- 2 Veritabanının Yedeklenmesi
- 3 Set File and Directory Permissions
- 4 Extract the SMF Archive and Upload the Files to Your Website
- 5 Run the Upgrading Tool
- 6 Finishing the Upgrade Process
Yükseltme Arşivini İndirin
Son SMF yükseltme paketi sitemizin "İndirme" bölümünde bulunur.
Önce, SMF'nin en son sürümünü indirmeniz gerekmektedir. Genellikle, .zip dosyaları forum yöneticileri tarafından tercih edilir. Bir çok işletim sistemi .zip arşivlerini çıkartma işlemini yapabilir.
Yükseltme işlemine başlamadan önce, veritabanının bir yedeği alınmalıdır. Bu sayede forumunuz yükseltme esnasında oluşacak hatalardan ve hasarlardan korunmuş olacaktır. Tüm adımların atılmış olması, ve kapsamlı testlerin yapılmasına karşın, bazen sorunlar türüyebilir. Bu nedenle, yedek almak çok önemlidir. Yükseltme ekipmanı tüm veritabanı tablolarını çalışmadan önce yedekleyebilir, fakat en iyisi tam yedeğin alınmasıdır.
SMF'yi kullanarak veritabanı yedeği alınması
From SMF, navigate to Forum Maintenance. (Administration Center -> Maintenance -> Forum Maintenance) On the database section, save the data and the structure. Then, compress the file. Select "Download" and wait for the database to complete the download completely. It is recommended if you use this method to verify that the backup is complete by opening the file and checking the last line. If the file is not complete and has an error please try one of the other methods to backup your database.
Back up a database using PHPMyAdmin
PHPMyAdmin gives the option to export a database, from the initial page, select the "Export" option and follow the instructions. Select your SMF database. These are different based on host.
Back up a database using a control panel
If your hosting service provides a control panel interface, this can be used to back up a database. Selecting the "Backups" or "Backups Wizard" options should take you to a page, prompting you to back up your database. With different hosts, these options may have different titles.
Set File and Directory Permissions
File and directory permissions control who can see your files and use your directories. They can control whether you will be able to install mods to your forum. On Linux and other Unix-like servers the chmod command is used to designate permissions. On most servers, a setting of 755 for directories and 644 for files will work. If this does not work on your hosting service, you may need 777 or 775 for directories, and 666 or 664 for files. Some hosts do not allow using 777 for directories or 666 for files -- using such high values will cause Internal Server Errors, 500 erors, or other errors. If the permission on your files or directories does not make them writable, the SMF upgrader will report the problem -- if it can detect it.
Note: If a Windows server is being used rather than a Linux server, then you will need to contact your host to change the file/directory permissions.
Setting File Permissions with the Upgrader
In many cases, the SMF upgrader can handle this for you. If you want to give this a try, skip this step for now, and wait until you come to the appropriate point in the upgrader. The upgrader might need to ask you for FTP login details to get the job done, so be sure to make a note of them. If you run into any problems setting file permissions with the upgrader, you can use the instructions below for setting file permissions with FTP to handle it yourself.
Setting File Permissions with FTP
Using a control panel or FTP client, file permissions can be changed quickly and easily. Usually, FTP programs will allow permissions to be changed by right-clicking files/directories and selecting "Properties", "Attributes" or "Permissions". The desired numerical value can be entered, or if provided, check boxes can be changed.
Extract the SMF Archive and Upload the Files to Your Website
The SMF upgrade archive contains files that need to be copied to the correct place on your website before the upgrader can be executed. Wherever these files are located on the server, that is where your forum will be located. Extracting before uploading is usually the simplest method. If your host provides the necessary tools, you can try uploading before extracting.
You will need to use either FTP (in binary mode) or the tools in your hosting account's control panel (for more information on the control panel supplied by your hosting service, please see the documentation provided by your hosting service).
SMF can be uploaded to the site root, or to a directory on the site, such as www.yourdomain.com/forum.
Extracting Before Uploading
This is the way most people do it. It is easy, but can take longer.
- Extract the archive, usually by right-clicking the archive and selecting the "Extract All" option. When the upgrade archive is extracted, a new folder should be created with all the files and directories in the correct places.
- Set your FTP client for binary transfer, select all the files and folders and copy them to the directory where you want to locate your forum.
Uploading Before Extracting
Some control panels, such as cPanel, give the ability to extract an archive right on the server. This can be a quicker than waiting for all the extracted files to copy via FTP. First, upload the file via your account's control panel. Second, select the extract option to extract the archive to the desired location -- the directory where you want your forum to be located.
Run the Upgrading Tool
The final step in upgrading SMF, is to run the upgrading tool. Navigate to the directory where SMF is located. It should redirect you to the upgrade.php file and prompt you to run the upgrade. In example: www.yourdomain.com/forum/upgrade.php.
- Backup database with the prefix "backup_"
- Selecting this option will get the upgrade tool to copy all data in the database before upgrading within the original database.
- Maintenance Mode
- Selecting this option will place the forum into maintenance mode while upgrading rather than showing errors, this is highly recommended.
- Output extra debugging information.
- The upgrade tool can give detailed information while performing an upgrade by selecting this option, it will aid the support team to solve any errors if they occur while upgrading.
Finishing the Upgrade Process
Once all parts of the upgrade have completed, check the box to remove the upgrade files from the server. If this does not work, they will need to be deleted via FTP. All upgrade files should be removed from the server once the upgrade process is complete. These files are upgrade.php and the .sql files whose name starts with 'upgrade'. They are a major security risk if they are left on a server unattended. Once SMF has been upgraded, they are no longer needed.