vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   function.php (https://vborg.vbsupport.ru/showthread.php?t=58109)

Jakor Sevel 10-22-2003 10:42 PM

function.php
 
I was trying to fix the Warning System and i got this error msg.

Parse error: parse error in /home/donnay89/public_html/forums/admin/functions.php on line 2341

Fatal error: Call to undefined function: getuserinfo() in /home/donnay89/public_html/forums/admin/sessions.php on line 112

there isnt line 2341 or 112.
How do i solve this?

insanctus 10-22-2003 10:49 PM

Parse error: parse error in /home/donnay89/public_html/forums/admin/functions.php on line 2341

your functions.php prolly has 2340 lines this means that when you did the fix you did not close a bracket {} more often then not you forgot a }

Best I can tell you with out looking but your functiions.php is cuasing your sessions.php error.

Jakor Sevel 10-22-2003 10:58 PM

er.. no there are only 185 lines.

insanctus 10-22-2003 11:05 PM

Hmm, now that is interesting. I have never had an error past one more then my last line.

Best I can tell you is go back over your fix and see if you missed a { or a } or maybe a ( or ) .

Due to not being able to post all the code of it in here it is hard for someone to fix this.

NTLDR 10-22-2003 11:52 PM

Quote:

Originally Posted by Jakor Sevel
er.. no there are only 185 lines.

If your functions.php only has 185 lines then you have problems, it should be a few thousand. Double check the edits, and make sure you haven't got any odd characters that you've accidently added by mistake :)

filburt1 10-23-2003 12:12 AM

Please do not attach vBulletin files as per the rules.

Jakor Sevel 10-25-2003 05:42 PM

er.. i fixed that problem..
but now, everything i modify function.php, i would get an error on differnt lines.

Parse error: parse error in /home/donnay89/public_html/forums/admin/functions.phpon line


All times are GMT. The time now is 12:28 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.02049 seconds
  • Memory Usage 1,716KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete