Loading...
 
Features / Usability

Features / Usability


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

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

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


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.

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

Upcoming Events

No records to display

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.