PDA

Zobacz pełną wersję : upgrade CB z 1.4 do 1.7- ?



max-301
20-10-2011, 12:55
uaktualniał ktoś CB z 1.4 do 1.7 na J 1.5.24?? Choć włąściwie nie wiem czy to jest uaktuanienie czy instalacja nowego komponentu
Jak przeczytałem co należy zrobić to lekko mam obawy o powodzenie aktualizacji. Macie może jakieś wskazówki lub haczyki an jakie uważań podczas całej operacji??



DETAILS OF NORMAL UPGRADE
-------------------------

1) If upgrading from any previous version you may want to make a copy of your configuration file:
administrator/components/com_comprofiler/ue_config.php and of your language file and/or cb template if you modified them, off-server, or at very least outside the com_comprofiler directories. IMPORTANT As for any installation: BACKUP FIRST your database and files.

2) Check in joomla/mambo installer that the directories and directory contents are writable first:
- components ( and components/com_comprofiler )
- administrator/components (and administrator/components/com_comprofiler)
- modules ( and modules/mod_cblogin )

IMPORTANT Make sure you have all extra CB plugin packages used on your site (you will need these these later in the process)

Then uninstall Community Builder (comprofiler).

NOTE: Don't uninstall CB plugins (this will keep their parameters).
This WILL NOT DELETE:
- any data in the database
- any parameters for fields, tabs, plugins, user data;
But IT WILL DELETE additional CB plugin program files only (not their parameters). That's why you will need the CB plugin installers.
IMPORTANT: You will need to REINSTALL these CB plugins later at last step. WARNING: Some third-party CB plugins come with modules and/or mambots which do not test for the CB plugin being installed, which can result in errors or blank screens. If you don't reinstall the corresponding CB plugin you may need to unpublish or uninstall the corresponding modules and/or mambots.

3) Follow step 1 from the README-NEW-INSTALL.txt file (Install com_comprofiler.zip as a component)

3b) You can now replace the default ue_config.php file by the ue_config.php that you saved in step 1) above. IMPORTANT: once you have restored your ue_config.php file, you need to go to CB configuration and SAVE the configuration, so that core names fields publishing is updated correctly.


NOTE: In CB 1.7, in users-lists, the "public frontend" and the "public backend" "User Groups to Include in List" are not expanded anymore to all the corresponding frontend, respectively backend user levels, so you need to select them individually.

4) You need to uninstall mod_comprofilerlogin or mod_cblogin452 or mod_cbloginRC2 or mod_cblogin (depending on the CB version you have installed) and install the new mod_cblogin, as it contains added security needed by CB. Before you uninstall the login module, you should take a note of the module parameter settings you have configured, since you will need to redo these after reinstalling.
After reinstallation make sure you enable/publish the module and reconfigure and parameter settings you need.

(see step 2 of the README-NEW-INSTALL.txt file for more detailed instructions of login module install process)

5) You need to uninstall and reinstall mod_comprofilerModerator. Before you uninstall the mod_comprofilerModerator module, you should take a note of the module parameter settings you have configured, since you will need to redo these after reinstalling. After reinstallation make sure you enable/publish the module and reconfigure and parameter settings you need. (see step 3 of the README-NEW-INSTALL.txt file for more detailed instructions of mod_comprofilerModerator module install process)

6) You need to uninstall and reinstall mod_comprofilerOnline.Before you uninstall the mod_comprofilerOnline module, you should take a note of the module parameter settings you have configured,
since you will need to redo these after reinstalling. After reinstallation make sure you enable/publish the module and reconfigure and parameter settings you need. (see step 4 of the README-NEW-INSTALL.txt file for more detailed instructions of mod_comprofilerOnline module install process)

7) Remove your existing CB menu items, and create new ones following steps 8 and 9 of the README-NEW-INSTALL.txt file

8) If you had additional CB plugins installed (see step 2 above), you will need to reinstall them. Install additional plugins that you had before upgrading or check out additional plugins available at http://www.joomlapolis.com NOTE: plugins which have their parameters memorized by CB, but have missing program files are displayed in plugin list without clickable title-name, and with a barred plugin name. These will be displayed normally and usable again once plugin is installed again. If you don't wish to do so, you can delete the plugin parameters by selecting delete.

9) If you have existing CB user lists, check that the fields that you want to see in users-list are also on profile. That was also the case earlier, except for username, name and formatted name, now it's also the case for those ones as well. You can do this in CB Fields manager.

10) This is a good time to check the CB database in Components->Community Builder->Tools->Check Community Builder Database Also after reinstalling any extra plugins you had (see step 8)
check db of plugins and of fields (extra options in Tools menu).

11) Done !

================================================== =================

alex51
20-10-2011, 19:37
Uaktualniałem jeszcze w wersji J!1.5.23 i nie napotkałem żadnych problemów. Oczywiście wcześniej miałem zrobioną pełną kopię bezpieczeństwa komponentem Akeeba (pliki + baza), ale nie musiałem z niej korzystać. Aktualizacja CB nie wymaga odinstalowania starszej wersji.

max-301
20-10-2011, 19:46
zaraz się zabieram za upgrade, pytanie z innej beczki lekko OT.
czy kopia wykonana przez akeeba jest w 100 % równa kopi całego folderu public_html w DirectAdminie?? Może głupie ale robię i jedne i drugie :blink:

alex51
20-10-2011, 19:51
Kopia Akeeba zawiera wszystkie pliki znajdujące się w głównym katalogu Joomla! wraz z dodatkowym folderem instalatora a w nim bazę danych. Całość jest spakowana w formacie takim, jaki został określony w konfiguracji komponentu (opcjonalnie jpa, można też wybrać zip). Nie mam DirectAdmina, więc nie potwierdzę, ale na localhoscie jak i na wersjach roboczych na serwerach kopie Akeeba w 100% są zgodne z oryginałami.

max-301
20-10-2011, 19:57
Czyli nie muszę także robić spod PhpMyadmina robić eksportu bazy do pliku sql?? :D. rozpakuję sobie jeden pliczek i zobaczę co tam siedzi. dzięki alex51

alex51
20-10-2011, 20:03
Aktualną kopię samej bazy warto mieć zawsze pod ręką, ale kopia bazy w akeeba w tej postaci (z instalatora) nie nadaje się do bezpośredniego zaimportowania. Można też zrobić kopię Akeeba tylko samej bazy, choć mnie wygodniej takie kopie robić z poziomu phpMyAdmina. Cos mi się wydaje, że to wszystko o czym tu piszę znasz doskonale, choć może nie z Akeeba. :) Pozdrawiam.
Aleksander

max-301
20-10-2011, 22:41
No znam ale z taką pewna nieśmiałością do tego podchodzę, choć kilka razy uratowało mi to tyłek to jednak dalej mam zwyczaj coś sobie instalować na żywym organizmie bez kopi zrobionej tuż przed. Dobrze że nowa Akeeba ma teraz punkty przywracania i sama sobie robi kopie przed instalacją dodatków. No ale lekko odbiegliśmy od tematu.

---------- Post dodany o 22:41 ---------- Poprzedni post był o 20:15 ----------

Poszło wszystko gładko, na pierwszy i drugi rzut oka wygląda że jest ok. Poczytam sobie w wolnej chwili co tam się zmieniło pomiędzy 1.4 a 1.7
dzięki za pomoc bo pewnie bym robił zgodnie z instrukcją.

yaotzin1
01-12-2011, 08:01
Cześć. Na początek witam wszystkich, jestem tu pierwszy raz. Mam niestety problem po aktualizacji CB z 1.4 na 1.7. Niby wszystko działa, bo śmiga bez błędów typu, że czegoś nie ma, ale gdy wejdzie się do CB u góry pojawia się błąd typu:

Notice: Use of undefined constant _VOTE_POOR - assumed '_VOTE_POOR' in /home/yaotzin1/public_html/portal/components/com_comprofiler/plugin/user/plug_cbprofilebook/cb.profilebook.php on line 830 Notice: Use of undefined constant _VOTE_BEST - assumed '_VOTE_BEST' in /home/yaotzin1/public_html/portal/components/com_comprofiler/plugin/user/plug_cbprofilebook/cb.profilebook.php on line 836

Zawsze jakoś radziłem sobie z takimi problemami, ale teraz po prostu nie wiem co mógłbym zrobić. Wchodzę do składnika extravote, próbuję powyłączać w ogóle głosowania, bo chyba to o to chodzi. Nie wiem też, czy problem zaczął się po tym jak próbowałem wgrać dodatek wstawiający możliwość oceny artykułu za pomocą gwiazdek u góry arta, czy dopiero po aktualizacji 1.4 do 1.7.

Proszę o pomoc i pozdrawiam