View Full Version : Help please php error
ProFifaLeagues
12-19-2009, 08:20 PM
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
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!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.