vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Getting a parse error (https://vborg.vbsupport.ru/showthread.php?t=67843)

sully02 07-31-2004 10:26 PM

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?";
I've attached the .php file if anybody wants to take a look at it and tell me what I'm doing wrong. I'm relatively new to programming PHP, so forgive me if it's messy. Any help would be greatly appreciated.

bhutz 07-31-2004 10:43 PM

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?"
Hope that solves it otherwise I'm looking silly right now :)

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?

bhutz 07-31-2004 10:50 PM

Found what I was looking for :), it was in the usergroups section, clearly didn't look hard enough

sully02 07-31-2004 11:10 PM

Quote:

Originally Posted by bhutz
Found what I was looking for :), it was in the usergroups section, clearly didn't look hard enough

Excellent. Now I'm getting a parse error in this line:

Code:

if ($answer1 == '' $radioanswer1 == '' OR $ModSite1 == '' OR $ModURL1 == '' OR $longasnwer1 == '' OR $longanswer2 == '' OR longanswer3 == '' OR longanswer4 == '' OR $longanswer5 == '')
I'll see if I can find the error before you or someone else does.

MindTrix 07-31-2004 11:23 PM

chuck a && before $radioanswer1 ;)

sully02 07-31-2004 11:38 PM

Quote:

Originally Posted by MindTrix
chuck a && before $radioanswer1 ;)

Done... No luck yet :(

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).

MindTrix 07-31-2004 11:39 PM

If you do the fix that was posted earlier, and the one i mentioned, there is nothing else wrong with that file you posted.

MindTrix 07-31-2004 11:43 PM

If you still have problems, post the file you got now with them fixes in.

sully02 08-01-2004 12:27 AM

Quote:

Originally Posted by MindTrix
If you still have problems, post the file you got now with them fixes in.

OK, it pretty much works. I just have to get it to put down what I have for question 1, since right now it actually has $question1 instead of the actual phrase.

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

MindTrix 08-01-2004 12:48 AM

http://www.livemockdraft.com/forums/applyformod.php

thats the correct link ;) Plus guests cant see it


All times are GMT. The time now is 03:03 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01098 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete