Loading...
 
Features / Usability

Features / Usability


Distinction between operative and installer scripts (was: Installer on already installed site?)

posts: 210

Hi,

a couple of weeks ago I saw that I still had the contents of the installer subdirectory active, and I disabled them. Today when trying to access admin control panel, I got the error message

Fatal error: Class 'Installer' not found in /homepages/41/userno/htdocs/agim/tiki-18.3/tiki-admin.php on line 690

Obviously that is related to my disabling the subdir. Looks like tiki-admin.php does include things from the installer subdirectory. Does this mean I have to restore the entirety of that subdirectory, or can I leave thins out for security concerns?

Thanks

hman

posts: 210
hman wrote:

Hi,

a couple of weeks ago I saw that I still had the contents of the installer subdirectory active, and I disabled them. Today when trying to access admin control panel, I got the error message

Fatal error: Class 'Installer' not found in /homepages/41/userno/htdocs/agim/tiki-18.3/tiki-admin.php on line 690

Obviously that is related to my disabling the subdir. Looks like tiki-admin.php does include things from the installer subdirectory. Does this mean I have to restore the entirety of that subdirectory, or can I leave thins out for security concerns?

Thanks

hman


I have now confirmed this! After reinstating the installer subdirectory, the control panels are once again fully operative.

But this leads me to another question: Why does Tiki Wiki need something from a directory named "installer" for regular operation? When looking at the files in there, for instance the numerous SQL files in the sub-subdirectory "schema", I am led to believe that most of this stuff is obsolete after the installation took place. Shouldn't Tiki Wiki separate installer and operations scripts more clearly?

Thanks
hman


posts: 126886 United Kingdom
hman wrote:
Fatal error: Class 'Installer' not found in /homepages/41/userno/htdocs/agim/tiki-18.3/tiki-admin.php


Hi @hman

Yes, you can't just delete files from Tiki and expect it to still all work, files are reused to avoid duplication where the same functions are required in various parts of it.

To disable the installer click the "Enter Tiki and Lock Installer (Recommended)" at the end of the installer steps, or just add a file called lock to your -+/db/+ directory.

posts: 210
I see that now, but why is a class named "installer" used for anything else besides installation? Not very intuitive, IMHO.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting