Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 12:30 pm EDT

Geeklog Forums

Problem: Can't Edit posted Stories!


Status: offline

Toby W. Allen

Forum User
Newbie
Registered: 03/20/04
Posts: 9
Each time I try to edit a story I get the following:

"The ID you chose for this story is already in use. Please use another ID."

Which means I can't edit anything without re-posting..

Any info I should give you to help fix this? What can I do?

Toby W. Allen
President
Game Development Society.
www.gdsleeds.com
 Quote

austex

Anonymous
Try logging in with another browser that has had all cookies/logins/etc. cleared out of the cache.
 Quote

Status: offline

Toby W. Allen

Forum User
Newbie
Registered: 03/20/04
Posts: 9
Heya,
That does work, however it does appear to be a bug as my webmaster has informed me that he's had to repair some stuff. Also each time we do this we get logged into the error log, so I might have to send Dirk this.

Toby.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Make sure you've updated the template file for the story editor (if you're not using one of the stock themes).

bye, Dirk
 Quote

Status: offline

Toby W. Allen

Forum User
Newbie
Registered: 03/20/04
Posts: 9
Dirk, I'll check this out - Meantime:
Here's the bug report for the Geeklog story editing problem.

Error: Saving a story after editing causes error message: "The ID you
chose for this story is already in use. Please use another ID."

Technical description:
The submitstory() function in public_html/admin/story.php:872 has an
undocumented parameter $old_sid. The function checks for existing
stories with the same ID but then runs the following comparison:
if ($sid != $old_sid) {
$duplicate_sid = true;
}
I have no idea what purpose this is for, but the $duplicate_sid variable
causes the error message to be generated (line 910). I don't have
sufficient access to the system to put in variable watches for debugging.

Steps to reproduce:
1. Create a new story and save it.
2. Go to edit the story, press save.

Work around:
If database access is unavailable, the edited story can be saved by
modifying the hidden SID value live in the page. This can be done easily
using the Mozilla FireFox Web browser with its DOM Inspector.
1. Edit story.
2. Open DOM Inspector, search for node where attribute is 'name' and
value is 'sid'.
3. Increment the value attribute by one.
This duplicates the story so the old one needs to be deleted, and has
the side-effect of losing comments.

Hope that helps.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Toby,

first of all, bug reports should be posted in our bug tracker. Forum posts tend to get overlooked ...

Having said that: I don't think it is a bug. From your description, you seem to be using an old theme that hasn't been updated for Geeklog 1.3.10 (as described in the documentation).

Starting with Geeklog 1.3.10, story IDs are editable in the Admin's story editor. And of course Geeklog has to check that you don't use the same ID for two different stories. So that's what that additional parameter is for. If you're using an old version of the story editor template, that test will fail, though. So make sure to update that template file ...

bye, Dirk
 Quote

Status: offline

Toby W. Allen

Forum User
Newbie
Registered: 03/20/04
Posts: 9
Problem Fixed - It was the outdated template.

Thanks for that and sorry for the disturbance.

Toby.
 Quote

angry

Anonymous
angry
Why is it that version 1.3.11 can't include updated stock themes? I was using the clean theme, and after upgrading, it complained about some file (archivestorytext.php, i think) not being there. I copied that file from the professional theme, and it worked OK for a while. Now I can't edit any stories and all kinds of sily crap is going on. My site is now slower than hell with 1.3.11, while with 1.3.9 it was pretty snappy.

I'm pissed off. Thanks for nothing. And Dirk, for you to arrogantly just say that this isn't a bug is lame. You're just a smug little snob.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by angry: Why is it that version 1.3.11 can't include updated stock themes?

Geeklog 1.3.11 comes with a working theme. Updated versions of the old themes are available here. Also see here and here.


Quote by angry: I'm pissed off. Thanks for nothing. And Dirk, for you to arrogantly just say that this isn't a bug is lame. You're just a smug little snob.

I expect an apology for this.

bye, Dirk
 Quote

angry

Anonymous
Quote by Dirk:Geeklog 1.3.11 comes with a working theme.


That's my point, why can't these updated themes that you provided links for be provided in geeklog itself? It only makes people (rightfully so) think that geeklog does not work right.

Quote by Dirk:I expect an apology for this.


You are right, that was immature of me and I do apologise. I realize that flaming people gets us nowhere, and I know that I was stupid.

The original point remains, can we put working themes in geeklog?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by angry: That's my point, why can't these updated themes that you provided links for be provided in geeklog itself? It only makes people (rightfully so) think that geeklog does not work right.

The list of changes for 1.3.10 states that there were theme changes and includes a link to the description of those changes.

Quote by angry: The original point remains, can we put working themes in geeklog?

Keeping 8 themes up to date is just too much work. We provide one working theme for reference as well as a list of changes. What else do you expect?

 Quote

angry

Anonymous
Quote by Dirk:What else do you expect?

Absolutely nothing. Thank you for all your hard work. The original point is moot, since I switched to Mambo last night. No hard feelings, ok? Very Happy
 Quote

joe

Anonymous
Quote by angry:I switched to Mambo last night

Hey, if the geeklog developers are too lazy to maintain their templates properly, why should we bother using it? Congratulations for switching to Mambo, everyone should. At least Mambo only includes templates that WORK!
 Quote

Dirk isn't a theme developer

Anonymous
grumpy
It's unbeleivable how many morons are doing sysadmin these days. If you're too lazy to read and learn some php and html your should stick to frontpage. Dirk has no responsibility for keeping themes up to date. Getting angry at someone who's committed years of hard work to such a valuable project for free is incredibly lame. I've used Geeklog for 4 years now and one has to expect minor bugs between versions and templates. All your whining could have been immediately solved by simply cd'ing to the layout dir, typing yes|cp -R professional/admin/story/* newtheme/admin/story/

Great work Dirk, don't let fools get you down.

Jason Loughead
PLUG
Prairie Linux User Group

Quote by angry: Why is it that version 1.3.11 can't include updated stock themes? I was using the clean theme, and after upgrading, it complained about some file (archivestorytext.php, i think) not being there. I copied that file from the professional theme, and it worked OK for a while. Now I can't edit any stories and all kinds of sily crap is going on. My site is now slower than hell with 1.3.11, while with 1.3.9 it was pretty snappy.

I'm pissed off. Thanks for nothing. And Dirk, for you to arrogantly just say that this isn't a bug is lame. You're just a smug little snob.
 Quote

Status: offline

casper

Forum User
Full Member
Registered: 02/11/04
Posts: 142
Location:Skien, Norway
Idiots like Angry just used more time whining than it had recuired for updating his theme.
If he cant figure out simple problems by himself, why try doing something he cant?

I had the time to say this since using the forum here solves most my problems quite easily and saves me a lot of time Wink
And then I can again say thank you for geeklog, and great honour to Dirk!
 Quote

Status: offline

beewee

Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
In a few weeks he will do the same at some other support forum. He should start a W3Schools learning some basic HTML, since that's all you need to update older themes (and some patience and a few minutes to RTFM).

But he has a (very small) point, I think it is a good thing to update at least some themes. Since I'm no PHP expert but do have HTML/CSS knowledge I could a look at it next month. But no promises, I don't know when I have some spare time....

Geeklog 1.3.10 now only includes one theme: The Professional theme, created by Victor B. Gonzalez. The older stock themes are now available as a separate tarball which includes

* classic: First ever Geeklog theme, dark grey and white
* clean: Basic corporate style theme, simple and unclutered
* digital monochrome: Black and White, early Macintosh Plus look
* gameserver: Built as a template to create your own game blog site
* Smooth Blue: Blueish theme, relies heavily on CSS
* XSilver: The long-time Geeklog default theme, provided by geeksta.com
* yahoo: Previous Geeklog theme, light grey and white


Guess I'll have to start with these some time.

For GL2 I think it's nice to only have public theme and a neutral theme-less admin part. This way it's perhaps easier to maintain the themes.
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
 Quote

Status: offline

holdenpike

Forum User
Newbie
Registered: 03/14/05
Posts: 12
OK this may seem like a stupid question. How does one update the template for the story editor. Since i am having this same problem.
 Quote

Anonymous Leecher

Anonymous
caffeinated
I simply overwrote my theme's admin/story/storyeditor.thtml with the one from the professional theme. It seems to work at the moment...

P.S. Thanks for all the great work guys. I find the admin load for running geeklog is pretty light, and it's not hard to get less technical folks to work with the submission interface. I get also frustrated with getting fancy older version themes to work, but I found my answer here in this thread real nice and fast. Smile
 Quote

Ambassador

Anonymous
Quote by Anonymous Leecher: I get also frustrated with getting fancy older version themes to work, but I found my answer here in this thread real nice and fast. Smile


I agree -- thanks to the FAQ's and forums at this site I've overcome every problem I've hit so far. Problems, I might add, that I caused in the first place.
 Quote

All times are EDT. The time is now 12:30 pm.

  • 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