TinyPortal
Development => Support => Installation => Topic started by: Bill White on September 06, 2007, 03:43:40 PM
I am having a problem moving my forum to a new location. Maybe someone can shed some light. Any help would be appreciated. Thanks in advance!
I'm running smf 1.3.3, tp 0.9.8.3 and the email system mod.
The old location is at www.mydomain.com/smf1/ and it uses database smf1.
The new location is at www.mydomain.com/smf2/ and uses database smf2.
I installed smf 1.3.3 at smf2/ using database smf2. I exported database smf1 and imported it into smf2. I ran repair_utility.php and set all options to recommended values. I copied the contents of the attachments folder to the new location. Everything seems fine so far.
Then I installed tp. At this point I got at least three things showing up wrong: 1) the important TP menu in Administration Center was empty. 2) TP's special User block was mostly empty. 3) The TP's special administration menu block that has some easy shortcuts on it was present but empty.
I searched for all references to /smf1/ in the database using phpMyAdmin and manually edited those to /smf2/. That did not help these three problems.
I uninstalled and reinstalled tp. I haven't yet tried to install the email system mod at the new location.
I am getting error messages of the following kind:
--
8: Undefined index: tp-admin8
File: /home/mydomain/public_html/smf2/Sources/Subs.php
Line: 2787
--
8: Undefined index: tp-admin5
File: /home/mydomain/public_html/smf2/Sources/Subs.php
Line: 2784
--
Unable to load the 'TPortal.english-utf8' language file.
--
8: Undefined index: permissionname_tp_dlmanager
File: /home/mydomain/public_html/smf2/Themes/default/Admin.template.php (eval?)
Line: 862
--
8: Undefined index: permissionname_tp_articles
File: /home/mydomain/public_html/smf2/Themes/default/Admin.template.php (eval?)
Line: 855
--
8: Undefined index: permissionname_tp_blocks
File: /home/mydomain/public_html/smf2/Themes/default/Admin.template.php (eval?)
Line: 852
--
8: Undefined index: permissionname_tp_settings
File: /home/mydomain/public_html/smf2/Themes/default/Admin.template.php (eval?)
Line: 850
... and lots more undefined index messages.
If you TP install isn't working correct you should continue to work on installing it properly. If the package manager isn't installing it properly, run through the manual install process and make sure everything is in order. If you're using UTF8 you're forum and database both have to be using UTF8 as well as your language files must be UTF8 or the text won't show up in certain places of your forum.
QuoteIf you're using UTF8 you're forum and database both have to be using UTF8 as well as your language files must be UTF8 or the text won't show up in certain places of your forum.
Aha! In server settings core configuration, the old forum had Default Languange set to English, whereas the new forum was set to English-utf8. When I changed that setting to English, the three problems went away. Also, I'm not getting error messages in the Forum Error Log.
I don't know how the setting got changed, although if it was recommended by repair_utility.php, that would be the reason.
Many thanks, IchBin. You nailed it right up front!