Author |
Message |
mrix
Client
![](modules/Forums/images/avatars/blank.gif)
Joined: Dec 04, 2004
Posts: 757
|
Posted:
Wed May 04, 2005 10:19 am |
|
Hello all, if I click on any of the news posts topic icons I get The html tags you attempted to use are not allowed error, the thing is I havnt used any html tag and I still get the error?, any idea`s.
thanks for any help
mrix |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Thu May 05, 2005 8:18 am |
|
I have not even loaded 7.7 yet. But, you can try this. In mainfile.php you have this codeCode:foreach ($_GET as $sec_key => $secvalue) {
if ((eregi("<[^>]*script*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*object*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*iframe*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*applet*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*meta*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*style*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*form*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*img*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*onmouseover*\"?[^>]*>", $secvalue)) ||
(eregi("\([^>]*\"?[^)]*\)", $secvalue)) ||
(eregi("\"", $secvalue)) ||
(eregi("forum_admin", $sec_key)) ||
(eregi("inside_mod", $sec_key))) {
die ("<center><img src=images/logo.gif><br><br><b>The html tags you attempted to use are not allowed</b><br><br>[ <a href=\"javascript:history.go(-1)\"><b>Go Back</b></a> ]");
}
}
foreach ($_POST as $secvalue) {
if ((eregi("<[^>]*onmouseover*\"?[^>]*>", $secvalue)) || (eregi("<[^>]script*\"?[^>]*>", $secvalue)) || (eregi("<[^>]style*\"?[^>]*>", $secvalue))) {
die ("<center><img src=images/logo.gif><br><br><b>The html tags you attempted to use are not allowed</b><br><br>[ <a href=\"javascript:history.go(-1)\"><b>Go Back</b></a> ]");
}
}
|
It's probably either the style or the img tag that is the issue. Start by commenting out the references to style. If that doesn't work, then try img. Now that's a quick fix. There may need to be a more permanent one, but that should get you by. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
mrix
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu May 05, 2005 10:26 am |
|
Hello, I commented out both style and img references but no joy unfortunately.
thanks
mrix |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
mrix
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun May 22, 2005 12:19 pm |
|
Hello all, still have this problem, I re-installed the latest patch but still have no joy, I am wondering now if my database tables could cause this problem?, its the only problem left on my site and is becoming an headache to be honest.
Thanks for any idea`s
Cheers
mrix
phpnuke 7.7 with latest patch
latest sentinal
GT-Nextgen latest |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun May 22, 2005 1:05 pm |
|
Try this. Remove or comment out all the gt code and see if you still get that error. Let's rule out the GT before trying anything else. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
mrix
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun May 22, 2005 2:38 pm |
|
Hello Raven, I commented out the GT from the footer and header files and found that the function articles I wanted to work did work but not in short urls..... thing is the footer and header I have which are the latest from GT-Nextgen site are the latest files I know off, do you know of any newer footer and header files around? as I cant do without GT now its so very good.
thanks
mrix |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun May 22, 2005 3:25 pm |
|
I suspected the GT code . Just play around with the GT code. It's probably very close to being correct and shouldn't be that hard to find. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
mrix
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon May 23, 2005 7:07 am |
|
Hello again, I have spent a few hours now trying to sort this problem but with no joy unfortunately, Its probably something staring me in the face I expect as usual, oh well I`ll have to just hope GT-Nextgen starts getting updated soon.
Thanks for your help anyway
mrix
p.s posted right place this time "sorry again" |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
64bitguy
The Mouse Is Extension Of Arm
![](modules/Forums/images/avatars/183ecd6a404a3683445de.gif)
Joined: Mar 06, 2004
Posts: 1164
|
Posted:
Mon May 23, 2005 3:53 pm |
|
This is all part of new function of using TinyMCE as the editor in PHP-Nuke 7.7 instead of using using the "old" methodology of having text tables.
I have touched on this a little in the moderators forum as well in my post that recommends that users NOT implement 7.7, but my point is that TinyMCE is an HTML editor that is putting HTML variables and code in places where baseline Nuke rules say HTML code is forbidden.
Now a few things to note.
First, check your mainfile.php for all instances of & not having the & This will screw up the GT properties and yes, FB put that those stupid bugs back in again, and no, for some reason the "patched" updates did not address or fix this problem.
Most likely because Chatserv and others don't know about the issue yet and they would probably assume that since these problems have been fixed 20 times already, even as recent as 7.6 baseline, only a complete moron would put these bugs back in the base code again..... and yes, FB is that moron. You'll have to search all of your files for these types of old problems that WERE resolved, being re-introduced in the 7.7 code. Need I say more?
Next, if you have groups permissions from something like NSN groups, you need to go through the mainfile and add all of that code back in MANUALLY!
That should get you started anyway. But if you want my recommendation it would be to NOT use 7.7 but instead to revert to 7.6 at the very latest!
Just my two cents. |
_________________ Steph Benoit
100% Section 508 and W3C HTML5 and CSS Compliant (Truly) Code, because I love compliance. |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
mrix
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon May 23, 2005 4:15 pm |
|
Hi 64bitguy, WoW many thanks for that informative reply
I think I better get to work!
at least I got something to work on.
thanks
mrix |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|