Welcome to Geeklog Thursday, April 02 2020 @ 08:37 am EDT

Geeklog Forums

Bugs in Geeklog 1.4.0 beta 1

Page navigation


Status: offline

tingo

Forum User
Chatty
Registered: 05/06/02
Posts: 57
Location:Oslo, Norway
Quote by euan: I assume that it states somewhere in the documentation that Geeklog strips out span styles etc created by FCKeditor unless you edit the allowed HTML arrays in config.php? I get the impression this could cause a serious amount of grief/forum posting if not made obvious.

What is the "correct" way of fixing this?

a) change FCKeditor so it outputs the html codes we (Geeklog folks) are used to?

b) cchange Geeklog setup to allow the codes that FCKeditor outputs?

No, I haven't looked at the options, just asking.

Status: offline

Vapour71

Forum User
Chatty
Registered: 10/02/05
Posts: 55
Location:Great White North Eh!
Just a followup with my fresh install of the Beta. I backed up my database and then proceeded to upload a fresh install of the Beta allowing it to create all new tables. Once finished, I then inserted my tables from 1.3.11sr2 and everything worked perfect. I then of course had to install the plugins again. I did leave all initial plugins and folders behind when I did a fresh install of the Beta. Once I reinstalled the plugins and added the appropriate lines to lib-common.php and lib-custom.php and any other lines that needed to be added to any other files for the plugins to work, I inserted the tables from the backup database to the new. Using PHP MyAdmin I found that when I backed up the database I made sure I had checkmarks in:
Structure (put a checkmark)
Add 'drop table' (put a checkmark)
Enclose table and field names with backquotes (put a checkmark)
Data (put a checkmark)
Complete inserts (put a checkmark)
Extended inserts (put a checkmark)

This made it very easy for me to insert those tables into the newly created database from the Beta Install. If anyone has any questions about the proceedure on how I did this if I didn't make this clear enough, I would gladly help anyone that needs it if you choose to take this route. I am having absolutely no issues with the Beta with the proper lines that have been posted to fix certain known bugs.

I've Gone To Find Myself. If I Show Up Before I Return, Make Me Wait Here Until I Get Back.

Status: offline

1000ideen

Forum User
Full Member
Registered: 04/08/03
Posts: 1295
@tingo

I think that the missing HTML-tags will be added here: if ($_CONF['advanced_editor'])

It is mainly this what is missing (may not be complete):

a lang id name type
hr style
ol style
ul style
font style
img vspace hspace dir border align lang longdesc title id alt
table align style width
caption
tbody


Concerning the stuck FF, Roman Taran offered a solution here:.
http://www.geeklog.net/filemgmt/singlefile.php?lid=600 Which is mainly this:

PHP Formatted Code
KNOWN BUGS

    1. After installing the COM_refresh function ceases to work properly with Firefox. To fix it, open lib-common.php, find:

return "<html><head><meta http-equiv=\"refresh\" content=\"0; URL=$url\"></head></html>\n";

and replace it with:

Header("Location: $url");
exit();

 

Status: offline

Vapour71

Forum User
Chatty
Registered: 10/02/05
Posts: 55
Location:Great White North Eh!
Quote by 1000ideen: @tingo

I think that the missing HTML-tags will be added here: if ($_CONF['advanced_editor'])

It is mainly this what is missing (may not be complete):

a lang id name type
hr style
ol style
ul style
font style
img vspace hspace dir border align lang longdesc title id alt
table align style width
caption
tbody


Concerning the stuck FF, Roman Taran offered a solution here:.
http://www.geeklog.net/filemgmt/singlefile.php?lid=600 Which is mainly this:

PHP Formatted Code
KNOWN BUGS

    1. After installing the COM_refresh function ceases to work properly with Firefox. To fix it, open lib-common.php, find:

return "<html><head><meta http-equiv="refresh" content="0; URL=$url"></head></html>n";

and replace it with:

Header("Location: $url");
exit();



 


With regards to the fix you have posted, in the lib-common.php file there is a forward slash before the "n" at the end of that line. It appears that the forward slash is not allowed to be posted and is removed when you submit.
At least mine has the forward slash before the "n" at the end of that line. Also, in your post for the fix, are you saying to replace the entire line or just part of it? Just seems to be unclear that's all. Just trying to help so that it's done properly the first time. Its a deal - shaking hands

I've Gone To Find Myself. If I Show Up Before I Return, Make Me Wait Here Until I Get Back.

Status: offline

1000ideen

Forum User
Full Member
Registered: 04/08/03
Posts: 1295
Yes you are right, I corrected my posting, maybe you want to edit the quoting too (editing seems to work now) - just that nobody gets irritated.

I replaced the whole line indeed and it works very well. Roman explained it here briefly: http://www.geeklog.net/filemgmt/singlefile.php?lid=600 He integrated rich textarea into geeklog 1.3.11

Dirk said in the German forum that this idea was pretty good. It was very unlikely but it might produce problems in another way. So it is probably not a real fix but a way to work around at the time being. I have not yet encountered problems in 1.3.11sr2 nor 1.4.0 b1.

Status: offline

Vapour71

Forum User
Chatty
Registered: 10/02/05
Posts: 55
Location:Great White North Eh!
Ok, that's great. However, do you need to replace the entire line
PHP Formatted Code
return "<html><head><meta http-equiv="refresh" content="0; URL=$url"></head></html>n";

 

and replace with:
PHP Formatted Code

Header("Location: $url");
exit();

 

or just part of it? And if just part of it, what part?
I am also finding when I want to use the Advanced Story Editor, none of the options work when I click on them. When and or if I want to "SHOW ALL" and or just select "PERMISSIONS" nothing happens and the page just stays the same or it just refreshes me to the top of my page. It's odd but not too sure what to do or where I should start looking to correct this so that I can change my "Archive Settings" within the Advanced Story Editor.
I've Gone To Find Myself. If I Show Up Before I Return, Make Me Wait Here Until I Get Back.

Status: offline

1000ideen

Forum User
Full Member
Registered: 04/08/03
Posts: 1295
Cool
Quote by 1000ideen:I replaced the whole line indeed and it works very well.
Yes the whole line has to be replaced. You are right I wondered the same when I read that the first time.

The folks at phpBB have a great way of describing alterations. Probably because they have so many updates where you only have to change a line or two. They say:

Search for:
PHP Formatted Code
return "<html><head><meta http-equiv="refresh" content="0; URL=$url"></head></html>\";


Replace with:
PHP Formatted Code
Header("Location: $url");
exit();
 


Well, in the end there is always a third and second way to understand it. Wink

Status: offline

dbcollies

Forum User
Newbie
Registered: 20/10/05
Posts: 1
Location:Houston
The XML file generated for an ATOM 1.0 feed is slightly incorrect. The and tags claim to be generated as GMT, when in fact they're generated according to the local system time. So, in my case, that means that stories look like they're published 6 hours earlier than they were.

But, in general - kudos for a great release!

Status: offline

Vapour71

Forum User
Chatty
Registered: 10/02/05
Posts: 55
Location:Great White North Eh!
I am having a serious issue with the database and forum. If I need to move a posting to an area that is more appropriate, when I hit "GO" to move the post I get the page saying that is it done and if I don't wanna wait then click "here". When the page refreshes, I get the message "You should not be here! Restricted Access.." Then when I go to the area that I moved the post to, its not there and the posting disappears and is nowhere to be found. Like it was just deleted instead of being moved.
What should I be looking for or checking to correct this? Any ideas?
I've Gone To Find Myself. If I Show Up Before I Return, Make Me Wait Here Until I Get Back.

Status: offline

DanGarion

Forum User
Newbie
Registered: 13/10/04
Posts: 12
For some reason RSS feed blocks taken from Live Journal are showing up with double links.

IE : http://www.livejournal.com/users/dangarion/309309.htmlhttp://www.livejournal.com/users/dangarion/309309.html


I just threw together a test site to check out the beta here and you can see two RSS feeds Stumble and Live Journal. The Stumble one is fine by Live Journal is not.

http://www.scofv.com/

For what it's worth I already updated to the daily CVS to check for fixes.

Status: offline

THEMike

Forum User
Moderator
Registered: 25/07/03
Posts: 141
Location:Sheffield, UK
Which of your LJ feeds are you using? Atom or RSS?

I'm using the syndication stuff to suck the Atom out of my LJ feed, and it's working fine, single links. Top right block on my home page. here

Status: offline

DanGarion

Forum User
Newbie
Registered: 13/10/04
Posts: 12
Quote by THEMike: Which of your LJ feeds are you using? Atom or RSS?

I'm using the syndication stuff to suck the Atom out of my LJ feed, and it's working fine, single links. Top right block on my home page. here



I'm was using the RSS feed.

http://www.livejournal.com/users/dangarion/data/rss

I changed over to the ATOM feed and it's working correctly now. Still weird though.

Status: offline

THEMike

Forum User
Moderator
Registered: 25/07/03
Posts: 141
Location:Sheffield, UK
Ah I have identified and fixed the issue, I'll check it in when I've fully tested and fixed some other feed related issues.

Status: offline

Darryl

Forum User
Newbie
Registered: 02/11/02
Posts: 2
Just wondering if I am blind, or was the poll info taken out of config.php?


Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
Quote by Darryl: Just wondering if I am blind, or was the poll info taken out of config.php?

Since polls are in a plugin now, the poll config is in the poll plugin's config now as well: /path/to/geeklog/plugins/polls/config.php

bye, Dirk

Status: offline

Vapour71

Forum User
Chatty
Registered: 10/02/05
Posts: 55
Location:Great White North Eh!
Is anyone or has anyone come across not being able to add the Java Scripts for Google AdSense? When I try to add them to my GL Beta 1.4.0, the Center Block just shows the source code and not the ads that are supposed to be showing. However, if I set AdvancedEditor to false, it works. Any ideas? As usual, thanks in advance Smile
I've Gone To Find Myself. If I Show Up Before I Return, Make Me Wait Here Until I Get Back.

Status: offline

timatlee

Forum User
Newbie
Registered: 06/06/04
Posts: 14
Not sure if this has beenposted..

When I try to create a new portal block, it generates an SQL error:

Wed 07 Dec 2005 08:23:41 MST - 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''GeeklogNews','Geeklog','http://www.geeklog.net','portal','0','','all','http://w' at line 1. SQL in question: REPLACE INTO gl_blocks (bid,name,title,help,type,blockorder,content,tid,rdfurl,rdfupdated,rdflimit,phpblockfn,onleft,owner_id,group_id,perm_owner,perm_group,perm_members,perm_anon,is_enabled) VALUES (,'GeeklogNews','Geeklog','http://www.geeklog.net','portal','0','','all','http://www.geeklog.net/backend/geeklog.rss','','10','',0,5,4,2,0,0,0,1)

Status: offline

1000ideen

Forum User
Full Member
Registered: 04/08/03
Posts: 1295
It would be interesting how THEMike fixed this error because I`d like to continue work with beta1 or is beta2 around the corner?

Status: offline

THEMike

Forum User
Moderator
Registered: 25/07/03
Posts: 141
Location:Sheffield, UK
Get admin/blocks.php from cvs, or get the latest CVS nightly tarball.

Status: offline

timatlee

Forum User
Newbie
Registered: 06/06/04
Posts: 14
I upgraded to the nightly snapshot of CVS .. so not sure if this is the correct place for this post..

However, the alternating colours in the Professional theme seen in the User and Group admin areas was not working in firefox. This appreared to be because the .pluginRow1 and .pluginRow2 were designated for TD .. by removing the "td" from the CSS, the alternating colour appeared to working again ... the HTML calls for <tr class="pluginRow1" etc..

Page navigation

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