Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-14-2008, 12:46 AM
Classico Classico is offline
 
Join Date: Dec 2007
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Help: Parse error: syntax error when try to befriend

Hi,

When someonte tries to befriend to anotheruser i got this error:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ']' in /*****/forum/profile.php(722) : eval()'d code on line 3

I have disable all the plug and still the same problem.

I?m running 3.7.3 and my 722 line is:

Code:
  eval(fetch_email_phrases('friendship_request_email', $touserinfo['languageid']));
  require_once(DIR . '/includes/class_bbcode_alt.php');
  $plaintext_parser =& new vB_BbCodeParser_PlainText($vbulletin, fetch_tag_list());
  $plaintext_parser->set_parsing_language($touserinfo['languageid']);
  $message = $plaintext_parser->parse($message, 'privatemessage');
  vbmail($touserinfo['email'], $subject, $message);
I think it is custom code from some plugin in but i can?t identify it...

Can anyone please help me?

Thanks!!!!!!!!!!!!
Reply With Quote
  #2  
Old 09-14-2008, 07:16 AM
Max Kwiatkowski's Avatar
Max Kwiatkowski Max Kwiatkowski is offline
 
Join Date: Sep 2008
Location: Baltic Coast, PL
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This error is from a plugin you've installed. You should to disable each of your plugins then turn them on one-by-one until you do get the problem.
Reply With Quote
  #3  
Old 09-14-2008, 09:42 AM
Classico Classico is offline
 
Join Date: Dec 2007
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

Thanks for your help.

I have disable all the plugin and still have the problem...

I don?t know from what plug in is...
Reply With Quote
  #4  
Old 09-14-2008, 02:15 PM
Opserty Opserty is offline
 
Join Date: Apr 2007
Posts: 4,103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try reuploading all PHP vBulletin files.

Are you using a custom language?
Reply With Quote
  #5  
Old 09-14-2008, 02:26 PM
Classico Classico is offline
 
Join Date: Dec 2007
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I just do it yesterday when i upgrade to 3.7.3.

I?m using a custom language but when i use the standart english i still have the same error....

Perhaps some translation...
Reply With Quote
  #6  
Old 09-14-2008, 02:29 PM
Opserty Opserty is offline
 
Join Date: Apr 2007
Posts: 4,103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What language does the person you are trying to send it to, use? (Test it by trying to befriend someone who is using English language)
Reply With Quote
  #7  
Old 09-14-2008, 02:44 PM
Classico Classico is offline
 
Join Date: Dec 2007
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just try it... an still having the problem...

If i just could understand from what plug in it comes i woul uninstall it...
Reply With Quote
  #8  
Old 09-14-2008, 02:59 PM
Opserty Opserty is offline
 
Join Date: Apr 2007
Posts: 4,103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't think its a plugin, "Phrases" means it is from a language probably.
Reply With Quote
  #9  
Old 09-14-2008, 06:30 PM
Classico Classico is offline
 
Join Date: Dec 2007
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe...

I only get this error when the request friendship is sent to the other user. Otherwise it works fine.

The sistem works fine and the befriend works, but it gives the erros for 2/3 seconds.

--------------- Added [DATE]1221421900[/DATE] at [TIME]1221421900[/TIME] ---------------

Quote:
Originally Posted by Opserty View Post
I don't think its a plugin, "Phrases" means it is from a language probably.
You are right!!!! :up:

I just uninstall the custom language and it works fine with no errors.

The error is in sending the friendship email!

--------------- Added [DATE]1221426914[/DATE] at [TIME]1221426914[/TIME] ---------------

Solved.

The translation of the language in the befriend email misses an " ] " in the text of the email:

Quote:
Dear $userinfo[username],
That was giving the parse error. Now works fine!!

Thanks for all the help!! :up::up:
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:05 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.03909 seconds
  • Memory Usage 2,233KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete