![]() |
Getting a parse error
1 Attachment(s)
I'm working on the form mod that I found on here, and I uploaded it and am now getting a parse error on line 125. As far as I know, there's nothing there that would cause a parse error... Here's the line of code:
Code:
$radioquestion1 = "Have you been a Moderator, Super Moderator, or Administrator at any other forums?"; |
yo i'm the daddy :)
Add a ; to the end of line 119 Code:
$question1 = "What LMD forums do you have an interest in moderating?" p.s. Don't suppose u know how to increase the total size of attachments that a member can have? I have a (legend) member who has posted plenty of attachments but I think he has reached limit unless he deletes some, any idea? |
Found what I was looking for :), it was in the usergroups section, clearly didn't look hard enough
|
Quote:
Code:
if ($answer1 == '' $radioanswer1 == '' OR $ModSite1 == '' OR $ModURL1 == '' OR $longasnwer1 == '' OR $longanswer2 == '' OR longanswer3 == '' OR longanswer4 == '' OR $longanswer5 == '') |
chuck a && before $radioanswer1 ;)
|
Quote:
I'll see what one of my friends says about it. If you guys happen to find any other errors, do let me know. I'm sure I'll look stupid in the process, but I am still learning PHP (Been at it for about a week and change now). |
If you do the fix that was posted earlier, and the one i mentioned, there is nothing else wrong with that file you posted.
|
If you still have problems, post the file you got now with them fixes in.
|
Quote:
Edit - In addition, I also have to change it. I filled in every option, and it says I have to fill in every option. Click here to see how it looks thus far |
http://www.livemockdraft.com/forums/applyformod.php
thats the correct link ;) Plus guests cant see it |
Also are you aware you spelt $longasnwer1 shouldnt it be $longanswer1 ;) in this line
PHP Code:
|
Meh, I have it working now. Thanks for all your help!
Then again, guests don't really need to see it, since they wouldn't be able to become moderators anyway, now would they? Actually, maybe you can help me some more. I tried to modify my functions_online.php file to make it so that when you go to online.php, it says that the person is applying to become a moderator, but ended up having an error when I tried to view it. Any ideas/suggestions there? |
1 Attachment(s)
Did you get it fixed because of the errors pointed out in the other posts?
As for the online, i have never bothered doing that but i looked in another hack at how they did it and changed it, so im guessing it will work, knowing my luck it wont but no harm in trying, instructions in the text file attached |
Quote:
Needless to say, it works now, and I'll see what I can do about getting it to show up on the online page. MindTrix, I can't thank you enough for helping a n00b like me out. |
Everyones a noob, some just know more than others. Its 3:10am here but i'll wait online to see if the whos online thing works so hurry up and try it :)
|
Quote:
Edit - Here's the error message of joy I got: Parse error: parse error, unexpected T_IF in /home/livemoc/public_html/forums/includes/functions_online.php on line 25 |
Tried it again today and got the same error message *Shrug*
|
Everyone is a noob right, We all start somewhere.
|
All times are GMT. The time now is 12:55 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|