Poprzedni temat «» Następny temat
Autor Wiadomość
Zamknięty przez: regua
Pon 22 Maj, 2006
Updating to 1.12.5
regua 
Web mastah


Posty: 165
Piwa: 38/4
Skąd: Krak?w
Wysłany: Sob 20 Maj, 2006   Updating to 1.12.5
   Adres forum: http://maxprogram.pl/forum


It's a full version either for clean install or upgrade from any version of phpBB and by Przemo versions 1.5-1.9.5.
An universal installation script (/scripts/update.php) is equipped with all database updates. Some of them are executed only when needed (eg. "clean" phpBB upgrade or different by Przemo versions).

Update from clean phpBB or by Przemo older than 1.12.5:
- Bacup your files and database.
- Delete old /scripts/ folder (not necessary)
- Copy /scripts/ folder from version 1.12.5 main folder to main forums folder on your server.
- Login as an admin, go to /scripts/update.php and run update script.
- Overwrite all files with new 1.12.5 files except config.php file (Attention: just after database update ! If you do it with wrong order, you will have to upload old version files, and do it again because updater won't work !)
- Empty /cache/ folder, you don't have to delete .htaccess file if such exists.
- Login on forums with admin acccount, execute /scripts/update_useragent.php file.
- Check database synchronization in check_files.php, synchronize database if needed.

If you're neat you can delete all old files and folders because some files are redundant in 1.12.x. In this case you have to upload again /album_mod/upload/ , /files/ , /images/avatars/ , /images/photos/ , /images/signatures/ , /pafiledb/uploads/ folders. These folders contains attachments, download files, avatars, signatures and photos. Additionally you have to restore yous custom ranks images and smiles. These steps are not necessary it deals not with performance.

During 1.9.4 -> 1.12.4 Przemo has had
Kod
Instructions executed:: 248, not executed: 544
These values may vary at your boards.

phpBB by Przemo 1.12.5

Update 1.12.3 to 1.12.4:
Execute these queries (eg. in phpMyAdmin):
Kod
ALTER TABLE phpbb_read_history DROP PRIMARY KEY;
ALTER TABLE phpbb_read_history ADD topic_id mediumint(8) UNSIGNED NOT NULL DEFAULT '0';
ALTER TABLE phpbb_read_history ADD forum_id smallint(5) UNSIGNED DEFAULT '0' NOT NULL;
ALTER TABLE phpbb_read_history ADD INDEX (user_id);
ALTER TABLE phpbb_read_history ADD INDEX (post_id);
ALTER TABLE phpbb_read_history ADD INDEX (topic_id);
ALTER TABLE phpbb_read_history ADD INDEX (forum_id);
INSERT INTO phpbb_config (config_name, config_value) VALUES ('rh_without_days', '3');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('rh_max_posts', '1000');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('public_category', '');
UPDATE phpbb_config SET config_value = '1.12.4' WHERE config_name = 'version';
UPDATE phpbb_portal_config SET config_value = '' WHERE config_name = 'ri_time';
UPDATE phpbb_portal_config SET config_value = '' WHERE config_name = 'ri_data';

Now, you have to replace all the files fromr: http://www.przemo.org/php...12.3-1.12.4.zip

Update 1.12.4 to 1.12.5
Execute these queries (eg. in phpMyAdmin):
Kod
UPDATE phpbb_config SET config_value = '1.12.5' WHERE config_name = 'version';
UPDATE phpbb_portal_config SET config_value = '' WHERE config_name = 'ri_time';
UPDATE phpbb_portal_config SET config_value = '' WHERE config_name = 'ri_data';

Now, you have to replace all the files from: http://www.przemo.org/php...12.4-1.12.5.zip

Originally posted by kwh
Postaw piwo autorowi tego posta
 
 
     
Wyświetl posty z ostatnich:   
Ten temat jest zablokowany bez możliwości zmiany postów lub pisania odpowiedzi
Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Nie możesz załączać plików na tym forum
Nie możesz ściągać załączników na tym forum
Dodaj temat do Ulubionych
Wersja do druku

Skocz do:  



Za treść postów administracja nie odpowiada. W przypadku naruszenia prawa, wszelkie zgromadzone dane o osobie łamiącej prawo, zostaną przekazane odpowiednim władzom. Kopiowanie elementów graficznych oraz rozwiązań technologicznych zastosowanych na niniejszej witrynie surowo wzbronione.
Strona wygenerowana w 0,07 sekundy. Zapytań do SQL: 33