This topic was marked solved by its starter, on November 6th, 2012, 10:37 PM
Thoughts and Viewing All

Anthony`

  • Posts: 53
Thoughts and Viewing All
« on November 6th, 2012, 03:56 AM »Last edited on November 6th, 2012, 03:57 AM by Arantor
On the main page of this forum, when I go to the Thoughts section and press the "All" link to view all the thoughts, I return to the main index again except with the following error embedded where the same block was:
Quote
Notice: Undefined index: page_index in .../wedge/Themes/default/Home.template.php on line 126

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Thoughts and Viewing All
« Reply #1, on November 6th, 2012, 03:57 AM »
I edited your post to remove the full path in the error - we prefer not to include those on here for security reasons as I'm sure you can probably understand.

Interesting bug though.
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

Anthony`

  • Posts: 53
Re: Thoughts and Viewing All
« Reply #2, on November 6th, 2012, 04:00 AM »
Quote from Arantor on November 6th, 2012, 03:57 AM
I edited your post to remove the full path in the error - we prefer not to include those on here for security reasons as I'm sure you can probably understand.

Interesting bug though.
Haha whoops, sorry about that.
Yep, I'm pretty sure this is a new one considering (unless my memory is failing me) this was working atleast a day or two ago?

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Thoughts and Viewing All
« Reply #3, on November 6th, 2012, 04:10 AM »
As mentioned on the thoughts recently, there seems to have been some kind of regression bug. I've been saying for a while that the code in SVN was not the same as on the front page but I don't have FTP access to verify it. Seems that the front page is now harmonised with SVN... and is broken.

Anthony`

  • Posts: 53
Re: Thoughts and Viewing All
« Reply #4, on November 6th, 2012, 04:16 AM »
Quote from Arantor on November 6th, 2012, 04:10 AM
As mentioned on the thoughts recently, there seems to have been some kind of regression bug. I've been saying for a while that the code in SVN was not the same as on the front page but I don't have FTP access to verify it. Seems that the front page is now harmonised with SVN... and is broken.
Heh, lovely. :P Looks like some code needs to be reviewed in the master codebase then.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Thoughts and Viewing All
« Reply #5, on November 6th, 2012, 04:17 AM »
SVN is the master codebase. There are some site-specific changes, and that apparently was one of them :(

Nao

  • Dadman with a boy
  • Posts: 16,063
Re: Thoughts and Viewing All
« Reply #6, on November 6th, 2012, 08:15 AM »
See, Pete, when you said yesterday that it's easier to just drop entire folders in FTP, that's what I tried, and that's the result... The entire site was synchronized to SVN, eh.

I've reset the few files that needed some work.

PS: I didn't want to commit Home.template.php in the first place, actually.... I'm not exactly sure why I provided the file in the end. I should probably remove it from the package.

live627

  • Should five per cent appear too small / Be thankful I don't take it all / 'Cause I'm the taxman, yeah I'm the taxman
  • Posts: 1,667
Re: Thoughts and Viewing All
« Reply #7, on November 6th, 2012, 08:54 AM »
lol

Well, now it is fixed, I'll let Anthony mark this topic as solved.

Have you thought of using a plugin for site-specific stuff? That'll prevent this from happening down the road when or if someone else is elected to take charge.
A confident man keeps quiet.whereas a frightened man keeps talking, hiding his fear.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Thoughts and Viewing All
« Reply #8, on November 6th, 2012, 01:26 PM »
Quote
See, Pete, when you said yesterday that it's easier to just drop entire folders in FTP, that's what I tried, and that's the result... The entire site was synchronized to SVN, eh.
Doesn't that prove what I've been saying for a while?

The front page has fixes for the thoughts system that neither of the front pages in SVN have. It should be committed, then there wouldn't have been a problem with syncing to SVN ;)

Yes, some of the site specific stuff has been suggested to be a plugin, but the only thing that's been discussed are the footer changes. Everything else should be pretty much the same as SVN anyway.

Anthony`

  • Posts: 53

Nao

  • Dadman with a boy
  • Posts: 16,063

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278

Nao

  • Dadman with a boy
  • Posts: 16,063
Re: Thoughts and Viewing All
« Reply #12, on November 7th, 2012, 12:58 AM »
Oh... See? I'm just not good at keeping up with the forum these days... :-/

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Thoughts and Viewing All
« Reply #13, on November 7th, 2012, 12:58 AM »
Those questions were a bit back, I've forgotten what they were too...

Nao

  • Dadman with a boy
  • Posts: 16,063
Re: Thoughts and Viewing All
« Reply #14, on November 7th, 2012, 01:01 AM »
The wedge.org curse: I ask a question and you don't answer and then I forget I asked the question... And the other way around seems to be true, too ;)