Posted on: 02/10/04 04:17am
By: destr0yr
Dirk, Blaine, et al.
Tried deleting a story tonight (GL 1.3.8-1sr4) and got the following error:
Fatal error: Call to undefined function: hastopicaccess() in /homepages/12/d88571136/htdocs/okg/public_html/admin/story.php on line 989
Looks like their is a typo on line 989 of that particular file. Reads:
if (hasTopicAccess ($tid) < 3) {
Should read:
if (SEC_hasTopicAccess ($tid) < 3) {
Version of story.php i have is "story.php,v 1.99.2.1 2004/01/18 19:58:01". Deleting the story using the moderation page delete radio buttons works fine. If you edit the story and click the Delete button at the bottom the error will appear. The typo appears in both the security update and full release.
Typo: Security Update for Geeklog 1.3.8-1sr3?
Posted on: 02/10/04 01:51pm
By: Dirk
Yep, that's a bug. It only exists in 1.3.8-1sr4 (and the current CVS version), but not in 1.3.7sr5.
It only happens when you edit a story submission and then decide to delete it from the story editor, though. It doesn't happen when you delete story submissions from the moderation page or when you delete existing stories.
Your fix should take care of the problem.