[BUG] UPDATED : CODE tag not working on 1.4.1

Support for IntegraMOD 141

Moderator: Integra Moderator

[BUG] UPDATED : CODE tag not working on 1.4.1

PostAuthor: sanji » Tue Feb 13, 2007 6:06 am

Your phpBB Version: 2.0.22
phpBB Type: Integramod 141
MODs: Yes
Your knowledge: Advanced Knowledge
Board URL: http://www.secret-japan.com/forum

PHP Version:
MySQL Version:


What was done before the problem appeared?
upgrade to 1.4.1


What was done to try to solve the problem?




De.scription and Message

Although I spent 1 month testing before going live, I still have now small problems after my upgrading to 1.4.1...

1) When users try to connect, they get the following error message:
Code: Select all
Sorry, it appears this is your first visit since we added some required fields to the system.Once you update the fields marked with  *, you will be able to enjoy the whole site.Thanks!  Click on the fieldnames below to complete them]

But they can not click on any of the link, as the same screen is kept. There is no way to access the profil page...

I am trying to re-upload all templates (I use the normal Integra2), but it seems to make no difference...


2) I know this has been discussed, but I can not find the topic any more. The title of my portal page is Secret Japan - Three columns asymetric.
Three columns asymetric is the name of the portal configuration I am using. How can I change that title?


3) [color=red]The code tag, which was working fine on 1.4.0, seems to have a serious problem on 1.4.1 (at least on my board).

If I enter [code][b ]gras[/b ][/code]

And submit it, it will display [code][b]gras[/b]


If I put some html inside that tag, it will be interpreted, too...

Why is that?

THIS IS A BUG, there is the same problem on this board. The first code line was entered without the space after the [b ], and you get the same mistake]

Thanks,

sanji
Last edited by sanji on Wed Feb 14, 2007 1:23 am, edited 1 time in total.
[img]http://www.secret-japan.com/forum/images/banners/fuji%20secret-japan%2088x31.gif[/img] [url=http]Secret Japan[/url] : discover Japan off the beaten tracks

sanji
Sr Integra Member
Sr Integra Member
 
Posts: 291
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 12, 2006 9:18 pm
Cash on hand: 0.00

PostAuthor: Michaelo » Tue Feb 13, 2007 9:39 am

I was under the impression this was corrected, certainly it appears to be in the latest version... To over come this problem I edit a user data in database and enter a fixed or know Security Question & Answer (taken from my data so I get the encrypted part correct) and check the have read rules checkbox. I also check for missing data (any data that was marked as required such as age and flag etc.).... This is a workaround not a fix...

2. Not sure which name change you want in 2...

3. There were several changes in 3 where several tags were not allowed... however this may be a bbcode problem for evolver...
Last edited by Michaelo on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Kiss Portal Engine phpbbireland (status: Released)
User avatar
Michaelo
Administrator
Administrator
 
Posts: 1647
Likes: 0 post
Liked in: 2 posts
Joined: Sat Mar 11, 2006 6:14 pm
Cash on hand: 5.10
Location: Dublin, Ireland

Re: [BUG] Some issues after updating...

PostAuthor: sanji » Tue Feb 13, 2007 3:47 pm

1. I am using the last version, but still got that problem... I finally could solve it by going in the ACP and remove the "mandatory field" check for those fields. It is now working, but I wonder why I got this problem. When I had a new mandatory field, I get again this problem.

2. Check http://www.secret-japan.com/forum and look what it displayed in the top bar of the navigator window... Normally, there should be "Home" written there, not the name of the configuration file used for the portal.

3. Then this should be a bug, as even entering just a code line with the [ b ] tag is not working properly.

Hope this can be solved...

sanji
Last edited by sanji on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img]http://www.secret-japan.com/forum/images/banners/fuji%20secret-japan%2088x31.gif[/img] [url=http]Secret Japan[/url] : discover Japan off the beaten tracks

sanji
Sr Integra Member
Sr Integra Member
 
Posts: 291
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 12, 2006 9:18 pm
Cash on hand: 0.00

PostAuthor: Michaelo » Tue Feb 13, 2007 6:51 pm

I see 'Home' there?
Last edited by Michaelo on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Kiss Portal Engine phpbbireland (status: Released)
User avatar
Michaelo
Administrator
Administrator
 
Posts: 1647
Likes: 0 post
Liked in: 2 posts
Joined: Sat Mar 11, 2006 6:14 pm
Cash on hand: 5.10
Location: Dublin, Ireland

PostAuthor: sanji » Tue Feb 13, 2007 7:22 pm

I have the following line generated in the source code :

<meta><title>Secret Japan - Three Column Asym 2</title>

This text, "Secret Japan - Three Column Asym 2", is displayed in the navigator window's title...

sanji
Last edited by sanji on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img]http://www.secret-japan.com/forum/images/banners/fuji%20secret-japan%2088x31.gif[/img] [url=http]Secret Japan[/url] : discover Japan off the beaten tracks

sanji
Sr Integra Member
Sr Integra Member
 
Posts: 291
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 12, 2006 9:18 pm
Cash on hand: 0.00

PostAuthor: Michaelo » Tue Feb 13, 2007 9:23 pm

OK so it's language based... I will have a look, just as soon as I get a little time free.. Mike
Last edited by Michaelo on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Kiss Portal Engine phpbbireland (status: Released)
User avatar
Michaelo
Administrator
Administrator
 
Posts: 1647
Likes: 0 post
Liked in: 2 posts
Joined: Sat Mar 11, 2006 6:14 pm
Cash on hand: 5.10
Location: Dublin, Ireland

PostAuthor: sanji » Tue Feb 13, 2007 9:31 pm

Language based? OK, I will have a look, too...

Thanks,

sanji


EDIT : OK, as mentionned here ( http://www.integramod.com/forum/viewtop ... itle#21084 ), it grabs the name of the portal page in the configuration menu of IM Portal. So I changed it there. Not very elegant, as it will not change with the language, though...

sanji
Last edited by sanji on Wed Feb 14, 2007 4:34 pm, edited 1 time in total.
[img]http://www.secret-japan.com/forum/images/banners/fuji%20secret-japan%2088x31.gif[/img] [url=http]Secret Japan[/url] : discover Japan off the beaten tracks

sanji
Sr Integra Member
Sr Integra Member
 
Posts: 291
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 12, 2006 9:18 pm
Cash on hand: 0.00

PostAuthor: sanji » Wed Feb 14, 2007 1:24 am

I have updated the title to reflect the bug on the CODE tag. I hope someone has an idea, this is really disturbing as I have many posts containing this tag on my board.

Thanks,

sanji
Last edited by sanji on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img]http://www.secret-japan.com/forum/images/banners/fuji%20secret-japan%2088x31.gif[/img] [url=http]Secret Japan[/url] : discover Japan off the beaten tracks

sanji
Sr Integra Member
Sr Integra Member
 
Posts: 291
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 12, 2006 9:18 pm
Cash on hand: 0.00

Re: [BUG] UPDATED : CODE tag not working on 1.4.1

PostAuthor: Teelk » Fri Feb 16, 2007 2:13 am

Well, I tried posting the fix here, but since it contains both [code] and [php] in the actual edits, it doesn't work.

A patch is coming with several bug fixes and I'll include this fix in that patch. It shouldn't be more then a few days. At this point I only have one other task before the patch is released, unless another bug crops up.

Here's some details for you when you do get it patched...

Any posts with this problem containing [code] bbcode that you posted after the update will most likely still contain the problem. Just edit and submit them and the problem will be fixed. All posts made while your board was version 140 will be fine. All posts containing [php] bbcode with this problem will be fixed after the edits, no need to edit the posts.
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: sanji » Fri Feb 16, 2007 5:56 am

Thanks Teelk, I always appreciate the energy you put on solving our problems...

... by the way, if you check this page : http://www.integramod.com/forum/viewtop ... &start=105
There are strange codes on the top of the page. Might be a related error...

sanji
Last edited by sanji on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img]http://www.secret-japan.com/forum/images/banners/fuji%20secret-japan%2088x31.gif[/img] [url=http]Secret Japan[/url] : discover Japan off the beaten tracks

sanji
Sr Integra Member
Sr Integra Member
 
Posts: 291
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 12, 2006 9:18 pm
Cash on hand: 0.00

Re: [BUG] UPDATED : CODE tag not working on 1.4.1

PostAuthor: Teelk » Sat Feb 17, 2007 7:46 pm

That bug is actually already fixed. It has to do with java.script in posts breaking the page. Just needed to edit the post with the java.script in it and hit submit.
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: sanji » Thu Feb 22, 2007 7:35 pm

I start to wonder? Am I the only one - with this integrmod forum - to see this [ code ] error? It should have been a serious problem for many boards, I would have though...

sanji
Last edited by sanji on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img]http://www.secret-japan.com/forum/images/banners/fuji%20secret-japan%2088x31.gif[/img] [url=http]Secret Japan[/url] : discover Japan off the beaten tracks

sanji
Sr Integra Member
Sr Integra Member
 
Posts: 291
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 12, 2006 9:18 pm
Cash on hand: 0.00

Re: [BUG] UPDATED : CODE tag not working on 1.4.1

PostAuthor: Teelk » Thu Feb 22, 2007 11:32 pm

I think that bbcodes within the code or php boxes is a rarity I think when it comes to many boards.
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: sanji » Fri Feb 23, 2007 1:40 am

OK, can someone point me in the right direction, so I can start to dig and (try to) find and fix the problem? What could be the origin of such error, which was not present in 1.4.0? Is it simply possible that you added some code to forbid the use of this tag (perhaps for some security reasons ?)?

sanji
Last edited by sanji on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img]http://www.secret-japan.com/forum/images/banners/fuji%20secret-japan%2088x31.gif[/img] [url=http]Secret Japan[/url] : discover Japan off the beaten tracks

sanji
Sr Integra Member
Sr Integra Member
 
Posts: 291
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 12, 2006 9:18 pm
Cash on hand: 0.00

Re: [BUG] UPDATED : CODE tag not working on 1.4.1

PostAuthor: sanji » Fri Feb 23, 2007 8:02 am

Possible fix - to be checked, but it seems to work on my site...

In includesbbcode.php

find
Code: Select all
$between_tags = preg_replace('#&##', '&#', $between_tags);$between_tags = preg_replace('/]+]/si', ']', $between_tags);  


after, add
Code: Select all
$code_entities_match = array('#<#', '#>#', '#"#', '#]#', '#(#', '#)#', '#{#', '#}#');$code_entities_replace = array('&lt;', '&gt;', '&quot;', ':', '[', ']', '(', ')', '{', '}');$between_tags = preg_replace($code_entities_match, $code_entities_replace, $between_tags);  



sanji
Last edited by sanji on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img]http://www.secret-japan.com/forum/images/banners/fuji%20secret-japan%2088x31.gif[/img] [url=http]Secret Japan[/url] : discover Japan off the beaten tracks

sanji
Sr Integra Member
Sr Integra Member
 
Posts: 291
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 12, 2006 9:18 pm
Cash on hand: 0.00

Re: [BUG] UPDATED : CODE tag not working on 1.4.1

PostAuthor: Teelk » Mon Feb 26, 2007 10:56 pm

I can email the changes to you, I just can't post them because the code includes bbcodes in it and breaks rendering it useless.

Is your email address still valid? If not, pm me an email address to send the changes.
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: sanji » Mon Feb 26, 2007 11:15 pm

Sure, address is valid. Thanks a lot,

sanji
Last edited by sanji on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img]http://www.secret-japan.com/forum/images/banners/fuji%20secret-japan%2088x31.gif[/img] [url=http]Secret Japan[/url] : discover Japan off the beaten tracks

sanji
Sr Integra Member
Sr Integra Member
 
Posts: 291
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 12, 2006 9:18 pm
Cash on hand: 0.00

Re: [BUG] UPDATED : CODE tag not working on 1.4.1

PostAuthor: Teelk » Wed Feb 28, 2007 11:01 pm

Or I could just attach it... sometimes the 'ol noodle don't work too good.
You do not have the required permissions to view the files attached to this post.
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: Omni-Lee » Thu Mar 01, 2007 1:25 am

I was hoping that patch would fix this issue I'm having. The following occurs when I submit using a mod of CST Supportticket

Character Name
New

Real life Age
Old

Share something about your previous game/guild experience.
Young

Share something about why you feel you belong with Mithril Crowns.
Old

If interested in leadership, say something about your past experience and why you feel you could help lead the Mithril Crowns.
Achient

De.scription and Message
what?

Any thoughts?
Last edited by Omni-Lee on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Out, out, brief candle! Life's but a walking shadow, a poor player that struts and frets his hour upon the stage and then is heard no more: it is a tale told by an idiot, full of sound and fury, signifying nothing" - Macbeth ACT V, Scene V by William Shakespeare
User avatar
Omni-Lee
Members
Members
 
Posts: 69
Likes: 0 post
Liked in: 0 post
Joined: Thu Feb 01, 2007 12:07 am
Cash on hand: 0.00

Re: [BUG] UPDATED : CODE tag not working on 1.4.1

PostAuthor: Teelk » Sat Mar 03, 2007 9:31 pm

Are these new posts or existing posts, the patch will only work on new posts, existing posts need to be edited and then resubmitted. You don't have to edit the contents of the post, you just need to click edit and then click submit.
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: sanji » Thu Mar 08, 2007 4:38 pm

Teelk, I applied your patch, but it seems not to work: the code inside a [ code ] tag are still interpreted.

After modifying the bbcode.php file, following your instructions, I tried to put a [ b ] tag inside a [ code ] one, and still that text was written in bold...

On the other hand, my fix (see above) seems to work...

Can anyone confirm?


sanji
Last edited by sanji on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img]http://www.secret-japan.com/forum/images/banners/fuji%20secret-japan%2088x31.gif[/img] [url=http]Secret Japan[/url] : discover Japan off the beaten tracks

sanji
Sr Integra Member
Sr Integra Member
 
Posts: 291
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 12, 2006 9:18 pm
Cash on hand: 0.00

PostAuthor: tekguru » Fri Mar 09, 2007 7:10 am

Sanji, not tried youir fix yet, to many other bigger issues- anyone else tried it?
Last edited by tekguru on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[size=99px]http][/size]
[url=http][img=left]http://www.4winmobile.com/news/MVP_Horizontal_FullColor.png[/img][/url]
User avatar
tekguru
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 11:29 pm
Cash on hand: 0.00


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]