Welcome to Geeklog, Anonymous Thursday, April 25 2024 @ 12:19 am EDT

Geeklog Forums

Can't post new stories?


Status: offline

Don

Forum User
Full Member
Registered: 06/09/04
Posts: 153
I just upgraded to 5.1, and everything looks okay, but I have a problem.

I tried edited my last post, and the edit didn't take. Then i tried posting a new story, and that didn't work, either.

Comments work fine, apparently.

I logged out and then logged back in, and that didn't help.

I am using Chameleon as the default theme. Could that have something to do with it? I'll try switching back to the GL theme and see if that works.

Or at least I would, if i knew where to change the default theme...

And I found out that none of the tabs work on the 'My Account' page, either. It's gotta be the theme... where do I change the default, now that config.php doesn't do it any more?

Any suggestions would be helpful. Thanks.

A little more info: I tried the site in MSIE, and when I went to my account page, IE showed an error. Here's the error message:

Line: 38
Char: 5
Error: 'profilepanels' is undefined
Code: 0
URL:http://www.blah3.com/usersettings.php?mode=edit

I noticed that when i click on the tabs on the Account page, I get this URL:

http://www.blah3.com/usersettings.php?mode=edit#

It's like it's a jump link that isn't jumping anywhere.

Can't post anything in IE, either.

More: Can't disable the Chameleon plugin. Keeps getting worse over here...

- Don
 Quote

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
Chameleon does not work in 1.5. Professional and Nouveau are just about the only themes that work with 1.5.
 Quote

Status: offline

Don

Forum User
Full Member
Registered: 06/09/04
Posts: 153
Yikes. I figured that was it.

Where do I go to change the default?

Where's config.php when you need it? :banghead:

- Don
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: Don

I tried edited my last post, and the edit didn't take. Then i tried posting a new story, and that didn't work, either.


As usual, themes have to be updated for a new Geeklog version. This is especially important this time around, as we've introduced changes for the CSRF protection in all of the admin templates.

bye, Dirk
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: Don

Where's config.php when you need it? :banghead:


Configuration > Geeklog > Theme > Theme

Of course, that may not work either if your theme isn't up to date ... If that's the case try going to My Account and changing the theme there first (back to Professional).

bye, Dirk
 Quote

Status: offline

Don

Forum User
Full Member
Registered: 06/09/04
Posts: 153
Quote by: Dirk

Quote by: Don

Where's config.php when you need it? :banghead:


Configuration > Geeklog > Theme > Theme

Of course, that may not work either if your theme isn't up to date ... If that's the case try going to My Account and changing the theme there first (back to Professional).

bye, Dirk



That's one of the problems I'm having - The tabs are not working on the My Account page. I can't click off the 'Username & Password' tab.

And I'm only seeing tabs for Spamx and Main Settings on the Configuration page.

Thanks for the suggestions, Dirk, but it looks as though I'm pretty stuck right now.

Is there nowhere I can just go in and edit a file to change the default theme any more?

- Don
 Quote

Status: offline

Don

Forum User
Full Member
Registered: 06/09/04
Posts: 153
I went into functions.php in Chameleon and added the slash to this line:

Text Formatted Code
if (!defined ('XHTML')) {
    define('XHTML','/'); // change this to ' /' for XHTML


Didn't seem to make any difference I'm still not able to post, and the site has slowed way down.

- Don
 Quote

Status: offline

Don

Forum User
Full Member
Registered: 06/09/04
Posts: 153
Here's a question...

If I were to bring the old database back (backed it up just before the upgrade) and edited config.php to 'professional' as the default database then ran the upgrade, would that set things right?

That's the only thing I can think to do at this point. But do I need to delete the entire upgraded database before importing the last backup?

I've never done anything this radical before, and I want to make sure of the procedure. Thanks in advance.

- Don
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: Don

That's one of the problems I'm having - The tabs are not working on the My Account page. I can't click off the 'Username & Password' tab.


Try switching off JavaScript in your browser. In theory, this should give you all the My Account options on one page.

bye, Dirk
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: Don

If I were to bring the old database back (backed it up just before the upgrade) and edited config.php to 'professional' as the default database then ran the upgrade, would that set things right?


Yes, that should work. The default setting is taken from the config.php during the upgrade. You may have to delete your theme cookie as well, as the user's preferences override the default setting.


Quote by: Don

That's the only thing I can think to do at this point. But do I need to delete the entire upgraded database before importing the last backup?


You need an empty database to import into. Alternatively, that could be a new database, if you have more than one available.


We will have to develop procedures for these kinds of problems. Probably a small script that can reset certain config options in the database.

bye, Dirk
 Quote

Status: offline

Don

Forum User
Full Member
Registered: 06/09/04
Posts: 153
Quote by: Dirk


Try switching off JavaScript in your browser. In theory, this should give you all the My Account options on one page.

bye, Dirk



I never in a million years would have thought of that. And it worked.

As usual, Dirk, you are the man. Thanks again.

- Don
 Quote

All times are EDT. The time is now 12:19 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