vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Help please php error (https://vborg.vbsupport.ru/showthread.php?t=230577)

ProFifaLeagues 12-19-2009 08:20 PM

Help please php error
 
Parse error: syntax error, unexpected ';' in /home/********/public_html/index.php(597) : eval()'d code on line 258

This is a error comming up on my home page or rather instead of my home page any pointers would be great!

Lynne 12-19-2009 08:27 PM

Try disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

PHP Code:

define('DISABLE_HOOKS'true); 


ProFifaLeagues 12-19-2009 08:40 PM

just tried that and its come up with this error now
Parse error: syntax error, unexpected T_ELSE in /home/progamer/public_html/index.php on line 265

Lynne 12-19-2009 08:59 PM

And what is on line 265 of your index.php page?

ProFifaLeagues 12-19-2009 09:06 PM

Thanks for the help lynne my 265 line is this

else if (cache_event_info($eventinfo, $todaydate['mon'], $todaydate['mday'], $todaydate['year']))

Lynne 12-19-2009 09:27 PM

Is it a totally default index.php file? Was it uploaded completely? What did you do right before you started getting this error?

ProFifaLeagues 12-19-2009 09:30 PM

yes i think its a default ive not altered it that i remember
i am not sure what was happening at the time as ive other admin and had just refreshed the page!

Lynne 12-19-2009 09:39 PM

All your plugins are off and you are using default code, so I can't tell what is wrong. You should ask your other admins what they have done in order to figure out what is up. Or, you can put in a support ticket.

COL NIL SATIS 12-20-2009 03:35 PM

all sorted now lynne..thanks for the help its much appreciated

Lynne 12-20-2009 04:24 PM

What was the problem/solution?

ProFifaLeagues 12-20-2009 04:44 PM

I went back and copyed out a new file and reup loaded it alls well lynne and your pointers were spot on thanks again!


All times are GMT. The time now is 07:58 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.00957 seconds
  • Memory Usage 1,724KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (11)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