vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Parse error: syntax error, unexpected ':' content.php(82) : eval()'d code on line 31 (https://vborg.vbsupport.ru/showthread.php?t=231055)

bahattab 12-24-2009 11:31 AM

Parse error: syntax error, unexpected ':' content.php(82) : eval()'d code on line 31
 
1 Attachment(s)
hi

i got this problem :

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/----/public_html/vb/packages/vbcms/controller/content.php(82) : eval()'d code on line 31

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/----/public_html/vb/packages/vbcms/controller/content.php(82) : eval()'d code on line 31

Parse error: syntax error, unexpected ':' in /home/----/public_html/vb/packages/vbcms/controller/content.php(82) : eval()'d code on line 31

can anyone fix it for me ?

thanks

Lynne 12-24-2009 01:44 PM

Those errors are from modifications. Turn them all off, then turn them on one-by-one until you get the error again.

bahattab 12-24-2009 06:33 PM

Quote:

Originally Posted by Lynne (Post 1937269)
Those errors are from modifications. Turn them all off, then turn them on one-by-one until you get the error again.


hi thanks for your reply i did that but i still have the same problem

Lynne 12-24-2009 06:53 PM

Try disabling them from the config.php file:
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

PHP Code:

define('DISABLE_HOOKS'true); 


Paul M 12-24-2009 08:35 PM

Quote:

Originally Posted by bahattab (Post 1937473)
hi thanks for your reply i did that but i still have the same problem

You did what exactly ?

bahattab 12-25-2009 03:23 AM

Quote:

Originally Posted by Paul M (Post 1937569)
You did what exactly ?


i disabled all the plugins and the products but i still having the problem

when i add the global plugins disable by :

PHP Code:


define
('DISABLE_HOOKS'true); 

the forum work fine , but i cant use the plugins because it is disabled.

:confused: :confused: :confused:

Link14716 12-25-2009 03:59 AM

Line 82 on the file in question in a call to the global_start hook. Disable any plugins that are using this hook. It's very obviously one of them causing the error.


All times are GMT. The time now is 04:06 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.00965 seconds
  • Memory Usage 1,725KB
  • 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
  • (2)bbcode_php_printable
  • (3)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