We've released 3.2. This release will fix the security issues reported in the last week. This release also includes some updates to the news and info blocks and a partial clean up of the series function.
Please note the following instructions for this update!
Upload the files to your server then go to your site. The script will detect it's out of date and take you to the update script. We needed to do it this way so that the new info and news blocks wouldn't cause errors. Until you run the upgrade script the site will be in maintenance mode for everyone but admins. Again, this is to keep the news and info blocks from causing errors. You are still encouraged to set these blocks to "Inactive" while you're doing the upgrade. Likewise, make sure you're logged in as the admin so you can get to the upgrade script! If this works well, we'll do the same with all future updates rather than making you go into the admin panel and run them manually.
The series feature got the following upgrades.
- There's now a count of the number of stories for the series. Include it in your skins with {numstories} in listings.tpl and series_title.tpl
- You now have 3 moderation options: open, moderated, and closed. Open series anyone can add to. Moderated series the series' owner must confirm the addition. Closed series are for the series owner only.
- Admins can determine who can add series. See the "Submissions Settings" in your admin panel.
The news table now keeps track of the # of comments for each news story. This should make the site run faster. The info block now has a table of its own. Again, this should make the site run faster. It'll also allow developers to add other stats to the block. I added a count for "reviewers" to the block. Include it using {reviewers} in the template form in the admin page. You also now have a count of series you can include in the block. Use {series} in the template on the admin page.
On the downloads page, the link for version 3.2 is still linked to the version 3.1 zip file.
Working link is: https://efiction.org/downloads/eFiction32.zip
If upgrading from 3.x.x be sure to run update.php after uploading the files.
Actually, Becca, the update should start automatically...
Actually, Becca, the update should start automatically...
Weird, it didn't for me 😐 See: my hysterical thread in 3.0 upgrade support.
Sorry guys I had the download link pointing to the wrong file. It should be fixed now.
If you downloaded the .zip earlier tonight, grab a new copy. I managed to figure out what was causing the problems with adding stories for some people. There was also a problem with user/login.php.
Just replace the files?
Yes. If you've already run the update, just replace the files.
I keep trying to run the updater, but I'm getting this error:
A fatal MySQL error was encountered.
Query: UPDATE fanfiction_news SET comments = '1 WHERE nid = 38
Error: (1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''1 WHERE nid = 38' at line 1
I'm sorry, but due to my schedule, I am not available for commissions.
There is an error in the code. I had to take out an extra '. I'm not at home now, so don't have the file, but it was near the bottom. At any rate, you should be able to find where it's trying to change the news comments.
I believe the problem is on line 125.
Skins made by Kali are no longer supported!
Changed, thanks!
I'm sorry, but due to my schedule, I am not available for commissions.
I'm getting an error when I want to view the comments made to news posts:
Parse error: syntax error, unexpected ')' in /www/htdocs/estel/news.php on line 52
Website is http://www.naiceanilme.com .
I have just updated the .zip to fix the errors in news.php and viewstory.php people are reporting. Please download the .zip and replace those two files.
Here is a link to the two files in question in their own .zip