vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Syntax error 1064 (index.php not working) (https://vborg.vbsupport.ru/showthread.php?t=117809)

Soljah 06-06-2006 04:31 PM

Syntax error 1064 (index.php not working)
 
I need to know if an index.php can be rebuilt?

I am getting this error:

Quote:

Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT dateline, userid FROM customavatar WHERE userid =;

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Error Number : 1064
Date : Tuesday, June 6th 2006 @ 03:26:43 PM
Script : http://forum.grownfolkscafe.com/vbpo...rums/index.php
Referrer : http://forum.grownfolkscafe.com/vbpo...s.php?name=GFC
IP Address : 24.1.228.43
Username : Sol
Classname : vb_database
I think this error has alot to do with my index.php not being recognized.

I have no idea how I lost it, but its gone and I cannot navigate from my portal page to my forum page.

Can anyone help?

Alan @ CIT 06-06-2006 08:05 PM

Looks to me like your not logged in. In the SQL query above, there isn't a userid being parsed.

Thanks,
Alan.

Edit: Go to your AdminCP and disable all products and plugins - then see if you can access it.

Soljah 06-06-2006 09:31 PM

Quote:

Originally Posted by Alan @ CIT
Looks to me like your not logged in. In the SQL query above, there isn't a userid being parsed.

Thanks,
Alan.

Edit: Go to your AdminCP and disable all products and plugins - then see if you can access it.


Now I get this

Quote:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in D:\hshome\grownfol\forum.grownfolkscafe.com\vbport al\forums\index.php(488) : eval()'d code on line 15

Dan 06-06-2006 09:34 PM

Have you done any physical code modifactions? If you have it might be best to upload a clean copy of vBulletin with no modifactions. Also remember to make a backup of old files first before doing so incase you need them.


All times are GMT. The time now is 09:29 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
  • Page Generation 0.00977 seconds
  • Memory Usage 1,718KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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