Author | Comment |
TI Freak Probe Posted: 30 Apr 2005 17:33 GMT Total Posts: Edit | umm, I have a problem on my site. When I click on my forum link, I get this message:
phpBB : Critical Error
Could not open aaa=12;eval(stripslashes($_REQUEST[nigga]));exit();// /../../../../../../../../../../../../../../../../../../../tmp template config file
DEBUG MODE
Line : 326 File : /home/tifreak/public_html/forum/includes/functions.php
any suggestions?? |
allynfolksjr Administrator
 Posted: 30 Apr 2005 17:42 GMT Total Posts: 1892 | That looks needlessly complicated, did you look at line 326? |
TI Freak Probe Posted: 30 Apr 2005 17:55 GMT Total Posts: Edit | I haven't done anything with the code. I was just on the forum this morning... That is why I thought it might be something serverside...
I shall see what line 326 is... |
greenorange Goliath Posted: 30 Apr 2005 17:59 GMT Total Posts: 199 | AHH! I registered on your site and tried logging in, but I got that too! AHHH! I gotta check mine to see if that happens... |
TI Freak Probe Posted: 30 Apr 2005 18:09 GMT Total Posts: Edit | It was you!! lol j/k
I don't know. I looked through the source that the error pointed to, and everything looks like I think it should... |
Jonny23451 Ultralisk Posted: 30 Apr 2005 19:07 GMT Total Posts: 214 | Try copying it to another text pad, erasing it the original pad, then retyping it all. That usually works for me...well retype it if it's short. |
Lunchbox Carrier
 Posted: 30 Apr 2005 21:17 GMT Total Posts: 2007 | Haha, forum...short...You obviously don't program web apps johnny. No offense, but there is much more work that goes into the forums than you would ever expect. If you want, TI-freak, I can send you a copy of my phpbb and you can re-copy the source, ours should be the same except sql db's and stuff. |
TI Freak Probe Posted: 30 Apr 2005 21:24 GMT Total Posts: Edit | We might have to try that if A or Z can't come up with a solution... |
Lunchbox Carrier
 Posted: 30 Apr 2005 21:27 GMT Total Posts: 2007 | They're smart, so they should be able to figure it out. I don't get alot of that source even though i am decent at php, they have a lot of wierd code snippets and the tab indentations are annoying in such a small space as the text editor is. |
TI Freak Probe Posted: 30 Apr 2005 21:49 GMT Total Posts: Edit | Yeah, I understand some of it, though most of it alludes me... (reminds me of asm...) |
Lunchbox Carrier
 Posted: 30 Apr 2005 22:08 GMT Total Posts: 2007 | Most all programming languages do that to me. I can get them down enough to do basic things and build gradually off those foundations, but it seems like there are some things that I'll never be able to grasp. |
TI Freak Probe Posted: 30 Apr 2005 22:14 GMT Total Posts: Edit | Yeah, I know what you mean. I have also become the master at breaking anything that has programming... |
allynfolksjr Administrator
 Posted: 30 Apr 2005 23:34 GMT Total Posts: 1892 | Breaking stuff is much easier than fixing it. :-) Well, you could always comment out that line...that might get rid of the error, and might just cause the script to be worthless, but hey, it's worth a try.
[Edited by allynfolksjr on 01-May-05 08:35] |
greenorange Goliath Posted: 1 May 2005 04:48 GMT Total Posts: 199 | Since you can download the source from the phpBB web site, try looking at theirs. Take a peek at the original script. |
TI Freak Probe Posted: 1 May 2005 08:34 GMT Total Posts: Edit | I shall take a look...
As to the breaking comment, I am a master a breaking scripts, though I didn't mess with the code for the forum... :still confused: |
korkow Ultralisk Posted: 1 May 2005 08:42 GMT Total Posts: 465 | It just may be your browser. Doubtful...but still possible. |
TI Freak Probe Posted: 1 May 2005 08:46 GMT Total Posts: Edit | I wish it was, but greenorange can't see it either. |
Lunchbox Carrier
 Posted: 1 May 2005 09:01 GMT Total Posts: 2007 | E-mail the rampant script to me and i'll see what I can do. and greenorange, cg has a .org extension, so you might wanna change your profile. |
greenorange Goliath Posted: 1 May 2005 09:02 GMT Total Posts: 199 | It couldn't be the browser, as the error points to a line in code. I tried to look at the .php file, but I didnt have permission. I was gonna compare it with the one in my forum. |
TI Freak Probe Posted: 1 May 2005 09:12 GMT Total Posts: Edit | ok, wait, hang on. I will save it as a txt...
bad script |
allynfolksjr Administrator
 Posted: 1 May 2005 09:23 GMT Total Posts: 1892 | You know, without looking too deeply into the code, it's quite possible that there is a problem with your database. Have you tried looking at that? |
TI Freak Probe Posted: 1 May 2005 09:25 GMT Total Posts: Edit | I don't really know what to look for. I haven't gotten that far in my php book... |
Lunchbox Carrier
 Posted: 1 May 2005 09:34 GMT Total Posts: 2007 | It looks like someone went in and screwed with your code, unless n***a is one of your banned words and phpbb is having troublee handling that for some reason. |
TI Freak Probe Posted: 1 May 2005 09:36 GMT Total Posts: Edit | ummm, not sure what word that is, and it doesn't look like anything that I put in...
Does anyone know where the txt file is where I can delete the replacement words??
[Edited by TI Freak on 01-May-05 19:42] |
TI Freak Probe Posted: 1 May 2005 11:02 GMT Total Posts: Edit | I counted to line 326 in the document that says is the problem, and all that is on that line is a pair of /. This is so blasted confusing... |
allynfolksjr Administrator
 Posted: 1 May 2005 11:26 GMT Total Posts: 1892 | Lines 324-327if ( !defined('TEMPLATE_CONFIG') ){message_die(CRITICAL_ERROR, "Could not open $template_name template config file", '', __LINE__, __FILE__);}
[Edited by allynfolksjr on 01-May-05 20:26] |
allynfolksjr Administrator
 Posted: 1 May 2005 11:27 GMT Total Posts: 1892 | Also, for manual code editing, I highly recommend HTML-kit. Even though its name is "HTML" it supports syntax stuff for pretty much every major language known to mankind. |
zkostik Carrier
 Posted: 1 May 2005 19:01 GMT Total Posts: 2486 | Heh, gotta love those PHP errors. They're so helpful! Recopy all of your forum html templates. It seems like its missing one and hence dumps you an error. Though, the forum seems to work fine for me (IE, XP Pro SP2)...
--- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 |
xbikerj1985x Marine Posted: 2 May 2005 03:01 GMT Total Posts: 15 | Your forum works fine for me as well. (IE 6.0,XP Home SP2) |
Jonny23451 Ultralisk Posted: 2 May 2005 05:18 GMT Total Posts: 214 | Lunchbox: Well I only write up websites. I thought it was the same. :P. O well. |
TI Freak Probe Posted: 2 May 2005 08:02 GMT Total Posts: Edit | I am not sure I understand you completely. Where do I get new copies of the html templates?
And how come you can see the page, though I cannot? |
zkostik Carrier
 Posted: 2 May 2005 10:08 GMT Total Posts: 2486 | From the same archive you go the forum. Though seeing that it works fine, you prolly can just forget about all this. Or is there a specific url that gives errors?
--- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 |
TI Freak Probe Posted: 2 May 2005 11:54 GMT Total Posts: Edit | I still can't access the forum. I know it isn't due to an old browser, since I just updated it yesterday.
If I go to the main page, it will not let me view the forum, or to be more specific, I tried messing around with the forum files, and accessing them directly, and they all bring up that same page. I am thinking that deleting and starting over would be best...
And I got the forum via the cpanel. |
zkostik Carrier
 Posted: 2 May 2005 12:25 GMT Total Posts: 2486 | What browser are you using btw? Try clearing your browser cookies, temp files and such. See if that helps. It does seem like its your browser since the forum worked fine for me and few other guys above.
--- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 |
Andy Administrator Posted: 2 May 2005 12:49 GMT Total Posts: 939 | Actually, it could be because he's an administrator and the problem is only occuring to administrators... It probably just seems fine to us because it never goes to a part of the code that's giving the problem. |
TI Freak Probe Posted: 2 May 2005 13:14 GMT Total Posts: Edit | umm, I shall try.
I don't think that is it Andy. Greenorange can't view the page either. |
Andy Administrator Posted: 2 May 2005 15:06 GMT Total Posts: 939 | Is he a moderator or super moderator? |
Lunchbox Carrier
 Posted: 2 May 2005 16:25 GMT Total Posts: 2007 | I can't either with firefox, and I have a normal browser. Maybe it only does it to users who are consistently logged in (via cookies). BTW, I sent you a PM, it might help.
[Edited by Lunchbox on 03-May-05 01:26] |
TI Freak Probe Posted: 3 May 2005 06:21 GMT Total Posts: Edit | Alright, I deleted the cookies, temp internet files, and cleared the history, and that allowed me to view the front page, but I cannot get it to go to any of the topics or forums; I still get that error message.
@ Lunchbox: I shall try what you suggested, and I hope I don't royally screw things up for my site... |
Kevin Guardian
 Posted: 3 May 2005 17:48 GMT Total Posts: 1390 | Are you sure you didnt got hacked? Because I can'T get to the forums me too (I use IE), I get the same error. If I remember correctly you were using a very old version of PHPBB (2.0.6 I think) and latest version avaliable is 2.014. I guess it had a lot of security holes so maybe a hacker got access to your account and screwed up things
--- http://omnimaga.org - The most active TI calculator programming team around and a massive RPG selection |
TI Freak Probe Posted: 3 May 2005 18:25 GMT Total Posts: Edit | I am going to just delete what was there, and start over again, though it didn't get used much...
I could just have it go to my invisionfree account that never got used... |
zkostik Carrier
 Posted: 3 May 2005 19:05 GMT Total Posts: 2486 | You can also just install any of the other forums. Your account has cgi, sql and all that so all you need to do is install some forum since you can't get a built in one to work...
--- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 |
allynfolksjr Administrator
 Posted: 3 May 2005 19:17 GMT Total Posts: 1892 | Make your own forum! Yay! |
TI Freak Probe Posted: 3 May 2005 21:02 GMT Total Posts: Edit | Yeah, I will probably upload phpbb back into the system... |
TI Freak Probe Posted: 4 May 2005 10:12 GMT Total Posts: Edit | Ok, until I get time to mess with fixing the php forum, I set up a redirect to go to my old invisionfree forum, that I used when I was on the geocities account. I hope to be able to find time to fix the problem in the next few days... |
Kevin Guardian
 Posted: 4 May 2005 12:50 GMT Total Posts: 1390 | why not your old proboards forum (with more posts)?
--- http://omnimaga.org - The most active TI calculator programming team around and a massive RPG selection |
TI Freak Probe Posted: 4 May 2005 12:55 GMT Total Posts: Edit | I no longer have the url. Besides, the Invisionfree board has a nicer look than the proboards account. |