Sub Menu
Links Menu
Online Users

In total there are 843 users online :: 2 registered, 0 hidden and 841 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

Registered users: Bing [Bot], Majestic-12 [Bot] based on users active over the past 60 minutes

[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 5: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 12: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 8:18 pm
Cash on hand: 0.00

PostAuthor: Michaelo » Tue Feb 13, 2007 8: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 4:00 pm, edited 1 time in total.
Kiss Portal Engine phpbbireland (status: Released)
User avatar
Michaelo
Administrator
Administrator
 
Posts: 1646
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 5:14 pm
Cash on hand: 0.00
Location: Dublin, Ireland

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

PostAuthor: sanji » Tue Feb 13, 2007 2: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 4: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 8:18 pm
Cash on hand: 0.00

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

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

PostAuthor: sanji » Tue Feb 13, 2007 6: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 4: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 8:18 pm
Cash on hand: 0.00

PostAuthor: Michaelo » Tue Feb 13, 2007 8: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 4:00 pm, edited 1 time in total.
Kiss Portal Engine phpbbireland (status: Released)
User avatar
Michaelo
Administrator
Administrator
 
Posts: 1646
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 5:14 pm
Cash on hand: 0.00
Location: Dublin, Ireland

PostAuthor: sanji » Tue Feb 13, 2007 8: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 3: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 8:18 pm
Cash on hand: 0.00

PostAuthor: sanji » Wed Feb 14, 2007 12: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 4: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 8:18 pm
Cash on hand: 0.00

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

PostAuthor: Teelk » Fri Feb 16, 2007 1: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 4: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 5:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: sanji » Fri Feb 16, 2007 4: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 4: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 8:18 pm
Cash on hand: 0.00

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

PostAuthor: Teelk » Sat Feb 17, 2007 6: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 4: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 5:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: sanji » Thu Feb 22, 2007 6: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 4: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 8:18 pm
Cash on hand: 0.00

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

PostAuthor: Teelk » Thu Feb 22, 2007 10: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 4: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 5:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: sanji » Fri Feb 23, 2007 12: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 4: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 8:18 pm
Cash on hand: 0.00

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

PostAuthor: sanji » Fri Feb 23, 2007 7: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 4: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 8:18 pm
Cash on hand: 0.00

Next

Return to IntegraMOD 141

Who is online

Registered users: Bing [Bot], Majestic-12 [Bot]

cron