Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 05:32 am EDT

Geeklog Forums

Problems with GL 1.3.12 CVS


duvide

Anonymous
I installed the Geeklog 1.3.12 CVS with more problems than usual due to this pear thing.
But now I find that Geeklog behaves even more strange. Especially logging in seems to be weird. I changed the admin password and it worked to log on once. Then it is not working again. I created a user account and I can log on but get this message:
Warning: Variable passed to each() is not an array or object in /home/xxx/domains/xxx.com/gl/system/lib-plugins.php on line 506
Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/domains/xxx.com/gl/system/lib-plugins.php:506) in /home/xxx/domains/xxx.com/public_html/lib-common.php(1033) : eval()'d code on line 1

When I log out from the user account and try to log in as admin I can see that admin is online but I don't have all the admin blocks etc. But the user is logged in again. Everything is not working like it used to.
I installed gl 1.3.11 a couple of times and it always seems to work at the end but now I am on my wits end.

I am also wondering what I have to do to use the fck editor. I put "advanced editors" in config.php to true but it wasn't there either.

Any ideas?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
While I can not reproduce your problem, it looks like it is related to the one described here. The code that's causing the error message is used for displaying the entries in the Admin's block, so something's going wrong there.

And due to that error message, you can't log in (as explained in the FAQ: I can't log in.).

bye, Dirk
 Quote

duvide

Anonymous
Thanks for the reply. Of course I tried the cookies, deleted the cache, used different browsers, etc. But version 1.3.12 is still behaving strange, I hope it is only due to the beta and the final (stable) version will have got rid of this problems. Most annoying is still the error message which comes up only for a user account.

But I still haven't figured out how to use the fck editor. What else do I need to do to get it too work with static pages and stories?
That was the main reason why I started to try to use the CVS version...

Frank

 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
As for your login problem, try updating the lib-plugins.php from CVS now (or use the one from the current nightly tarball). The problem should be fixed now.

FCKeditor seems to work for me (don't really use it a lot, though). It's not yet available on all the edit pages, but should be in the Admin's story editor, for example.

bye, Dirk
 Quote

Status: offline

scroff

Forum User
Regular Poster
Registered: 02/19/03
Posts: 111
I am also running 1.3.12cvs and have no problem loggin in as admin. The admin menu problem that Dirk refered to was fixed by the new lib-plugins.php... all the plugins are now showing up and working in the admin menu in Mozilla, Fire Fox and IE (latest versions) Chest-Slam Celebration

I get a similar error, but only when I log in as a regular user, not as admin.

Warning: Invalid argument supplied for foreach() in /hsphere/local/home/scroff/system/lib-plugins.php on line 510


When I go to the forum as a regular user (phpbb) I get an additional error


Warning: Cannot modify header information - headers already sent by (output started at /hsphere/local/home/scroff/system/lib-plugins.php:510) in /hsphere/local/home/scroff/scroff.u31.worldispnetwork.com/forum/includes/page_header.php on line 498


I have looked for whitespace, and looked and looked. These errors don't seem to effect the operation of the site other than take up room in the page above the header.


The fckeditor hasn't been implemented for staticpages yet in the cvs. To get it working for stories, see this thread over at Blaine's. Also check out the fckconfig.js to select the toolbar.

The selection's are listed in there as FCKConfig.ToolbarSets["editor-toolbar1"] to FCKConfig.ToolbarSets["editor-toolbar4"] and FCKConfig.ToolbarSets["Default"].

Once you see the toolbar you want, open geeklog.js and look for oFCKeditor1.ToolbarSet = 'editor-toolbar1' ; about 13 lines down.

Change that to the editor-toolbar you want, 1 to 4 or Default. In this case, if you wanted editor-toolbar3 you would change editor-toolbar1 to editor-toolbar3.

Hope that wasn't too confusing. Shocked
 Quote

duvide

Anonymous
I updated the lib-plugins.php file but I still have this log in problems: I log in as admin, I log out, so far everything's ok, then I log in as the user I created, now I can't log in at all, but Admin is still shown in as logged in. I click on the stories menu and I get the admin menu. Now I try to log in as admin but I am in the user account now in which I couldn't get in before. I log out and want to log in as admin again but can't log in anymore...

Frank
 Quote

duvide

Anonymous
The User and Admin set-up is so strange that never happened to me with the .11 version. Now I can't add users, when I click to safe a new user I get the error: "The new password does not match the confirmation password!"

When in Admin mode clicking on Content syndication I get: "Sorry, you do not have access to the story administration page. Please note that all attempts to access unauthorized features are logged" not the usual "authentication required" form.
Then I can't access the admin menu at all, although still logged-in in "who is online". When I click on the admin in "who is online" I have back to the menus.

When I am able to get into the admin account, I am missing the admin control panel, I have only somthing like this: "(plug-ins)" (cannot copy/paste because I don't get into my account again right now.

If I had just started with geeklog and I didn't know that it is working quite ok, I would have given up the program by now and looked into Mambo or Drupal again...

Frank





 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by duvide: Now I can't add users, when I click to safe a new user I get the error: "The new password does not match the confirmation password!"

Make sure you're using the theme that comes with CVS or that you've updated your own theme.


Quote by duvide: If I had just started with geeklog and I didn't know that it is working quite ok, I would have given up the program by now and looked into Mambo or Drupal again...

Excuse me? We're talking about a development version here. There are reasons why it has not been released yet.

bye, Dirk
 Quote

duvide

Anonymous
I didn't mean to be rude and I understand the effort everyone of the developer is putting in. It just gave me such a headache that I was almost to throw out my computer too.

Regarding the theme, I used the professional theme and my own theme but I have problems with them all...

Thank you for your help and of course I will stick to GL and wait for the final realease now.

Frank
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Anyone having the same problems as described above should try again now, i.e. get the new lib-plugins.php from CVS or wait for the nightly tarball. This should finally fix this issue ...

I'm not too happy with the current state of the CVS version either, but this is what happens when you try to cram lots of new features into old code while at the same time adding new people to the development team. We'll sort these out eventually and bug reports like the above really help. Just keep in mind that this is a development version and that we haven't released it precisely because we know it isn't ready for prime time yet.

bye, Dirk
 Quote

Status: offline

scroff

Forum User
Regular Poster
Registered: 02/19/03
Posts: 111
Just added the new lib-plugins and the error messages have disappeared. I'll post more about some bugginess later on tonight. Gotta get back to work!

On the whole, so far, even with the quirks, 1.3.12 is a sweet release. Just my two cents
 Quote

Status: offline

scroff

Forum User
Regular Poster
Registered: 02/19/03
Posts: 111
Just for my own information, should I post future information here, or start new threads?

Comments; clicking on a comment when they are threaded results in an SQL error

Text Formatted Code
1052: Column: 'type' in where clause is ambiguous. SQL in question: SELECT COUNT(*) FROM gl_comments as c, gl_comments as c2 WHERE c.sid = 'NextPCADriveDine' AND (c.lft >= c2.lft AND c.lft <= c2.rht) AND c2.cid = 6 AND type='article'
 


I've mentioned this one before, but have noticed that it only occurs when comments are threaded.

registering; I'm not sure if this is a glitch... after submitting a username and email address, the site returns to the front page without a system message to the effect that an email has been sent.

When using the user submission queue and approval, users enter the password from the email to validate the email address. This is good. But the users are approved through the same page as articles, links, etc that are submitted for approval. If admin checks the 'approve' radio button and hits submit, a new email is sent out with a new password to the user, but the user is not approved. Admin must click 'edit' and change the drop down menu from 'awaiting authorization' to 'active'. At that point a second email is sent to the user notifying him that he is activated and can now log in using the password sent in the original email. I like the validation but was wondering if it could somehow be made more intuitive. I guess this is more of a request than a glitch.

fckeditor/stories; When you post a story that has no body, just intro text, there is still a 'read more' link followed by (1 words), even if there is nothing in the body.

So, I said I was going to post more bugs, but, there really aren't any others in my install that I can think of right now. So far so good. Just fyi I have zclassifieds, GUS, phpbbbridge, & Gallery 1.5 installed. All are working well in Mozilla, Fire Fox, IE and Opera.

Great work! Its a deal - shaking hands
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Vinny is already looking into the "ambiguous type" problem with the comments.

Can you submit the other 3 as (separate) bug reports, please?

The one with the user approval looks like an oversight when the new user status were introduced. Good to see someone actually uses this. I have 2 sites running on the CVS code, but neither of them uses the user submission queue ...

Thanks, and keep them coming.

bye, Dirk
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The above bugs are now listed in the bug tracker (#457 - #457).

bye, Dirk
 Quote

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