Enthusiast is another popular fanlisting collective software. If you don’t know what a fanlisting is, I go over it in my Listing Admin Upgrade article. I will copy the basic quote over though:
A fanlisting is simply an online list of fans of a subject, such as a TV show, actor, or musician, that is created by an individual and open for fans from around the world to join. There are no costs, and the only requirements to join a fanlisting are your name and country. Fanlistings do not have to be large sites (although some are); they are just a place where you can sign up with other fans. TheFanlistings.org is the original (but not official) web directory for fanlistings, dedicated to uniting the fans.
Let’s get into the steps so you can upgrade yourself from version 3.1.5 to Robotess’ Version 1.0.5!
Step 1 – Make sure you have the correct PHP version installed
You may need to contact your hosting provider to check. You want to make sure your PHP version is on 7.4. Anything higher is not supported as of the date of this writing. Anything lower and you will need an older fork and it is not recommended as newer versions of software protect you from hacks and losing data.
Step 2 – Backup your files
You want to make sure you have them backed up in case anything happens to your files.
Step 3 – Make sure you have Enthusiast 3.1.5 installed
Note: If you already have Enthusiast installed (any version) you will want to make sure you are updated to (at least) 3.1.5. You can do that with the files I have linked below. Once you are on 3.1.5+, you are good to continue with step 4.
This is the next step as you cannot upgrade without first having an older version installed. If you do not have it installed I have a repository of all of the downloads here. You will want to click on
enth_3.1.5.zip and then
view raw and that will prompt a download. Just download it, extract it and upload the contents (all of them) to your website.
Once you have it uploaded you do not, I repeat, do not need to install it. You just need to make sure that
https://yourdomain.com/enthinstall/admin/index.php shows up and you see weird errors that say something about
mysqli errors. If that is the case, you are good to continue. Once you have it uploaded, it should look like this:![[enth-err.png]]
That is fine.
Step 4 – Download Robotess’ Files
I have links to everywhere you can get updated files here here link though is here. You will want to visit that website & click on
Enthusiast [Robotess Fork] v1.0.5 is available. That will bring you to the following page:
From there you will want to click on
a project page as of this writing this is where you will want to look:
You will want to click on
gitlab which will take you to this page that looks like this:
To download the files, either scroll down to the
README.md and in there she has a link or you can click here and I have the same link. You will want to download these files and extract them.
Step 5 – Upload them to your website
Once you have them extracted, you will want to overwrite all of the files that are on your site. It is highly recommended to take a backup of your files first before doing this (in case something goes wrong).
Once you have the backup and have everything overwritten. Visit
https://yourdomain.com/enthinstall/enthusiast/install.php and it should look show errors like this:
**Warning**: require(config.php): failed to open stream: No such file or directory in /yourdomain.com/enthinstall/enthusiast/index.php on line 39 **Fatal error**: require(): Failed opening required 'config.php' (include_path='.:/opt/alt/php74/usr/share/pear') in yourdomain.com/enthinstall/enthusiast/index.php on line 39
That’s fine. You just need to edit the
config.php file. Open the file and visit
yourdomain.com/enthinstall/enthusiast and find the
config.sample.php you will want to rename that to
config.php (make sure there is only one
.php at the end) and update the following items inside of it:
$db_server = 'localhost';
$db_user = 'username';
$db_password = 'password';
$db_database = 'databasename';
The start on line 2 and go until line 13. Once you find these, you will want to replace them with your database variables. You can use your existing database or create a new one.
Just make sure if you use your existing database that your
database table variables from your old
config.php match this new file. These start on line 16 and look like this:
$db_settings = 'settings';
$db_category = 'category';
$db_joined = 'joined';
$db_owned = 'owned';
$db_affiliates = 'affiliates';
$db_emailtemplate = 'emailtemplate';
$db_errorlog = 'errorlog';
Once you have all of that updated, save and close the file. Reload or visit your website install and install enthusiast:
Once you do, it should look like this (with no errors on the page):
Fill out all of the info and make sure it is correct. Once it is click
Note: If you run into an error like this (on the next page):
Error executing query: SQLSTATE: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes; _CREATE TABLE `settings` (`setting` varchar(255) NOT NULL default '',`title` varchar(255) NOT NULL default '',`value` text NOT NULL,`help` text NOT NULL,PRIMARY KEY (`setting`)) ENGINE=MyISAM_
The only solution I have found (that has worked for me) is to open the
install.php file and to open PHPMyAdmin (where you manage your databases) and run each of the
CREATE TABLE or
INSERT TABLE statements separately.
Note: You can do it this way BUT if you do, you will also want to open the
enthusiast/install_cats.php in your browser to install the categories AFTER you do those manually.
I am working on updating Enthusiast to fix these issues. Until then, if you run into this error and DO NOT want to take it on manually, I recommend using Listing Admin as I was able to install that (on a fresh database and everything) from scratch without running any SQL queries or doing anything super technical. That link provides a tutorial I have written up.
If you do not run into that error you should be good to go. Everything should be installed and enthusiast should be working.