Welcome to Geeklog, Anonymous Monday, November 25 2024 @ 11:56 am EST
Geeklog Forums
Typo: Security Update for Geeklog 1.3.8-1sr3?
Status: offline
destr0yr
Forum User
Full Member
Registered: 07/06/02
Posts: 324
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.
-- destr0yr
"I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams
Tried deleting a story tonight (GL 1.3.8-1sr4) and got the following error:
Text Formatted Code
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:
Text Formatted Code
if (hasTopicAccess ($tid) < 3) {
Should read:
Text Formatted Code
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.
-- destr0yr
"I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams
6
5
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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.
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.
4
5
Quote
All times are EST. The time is now 11:56 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content