Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 01-17-2009, 05:14 PM
ezak ezak is offline
 
Join Date: Nov 2004
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default problem in Daily Digest

when I enable Daily Digest from cron , its send in sorted email (much topics than should be) and not sorted well

and when do Daily Digest manually form cron
its give me this error

PHP Code:
Parse errorsyntax errorunexpected T_ENCAPSED_AND_WHITESPACEexpecting ']' in /home/user/public_html/forum/includes/functions_digest.php(249) : eval()'d code on line 7

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting '
]' in /home/user/public_html/forum/includes/functions_digest.php(249) : eval()'d code on line 7

Parse error
syntax errorunexpected T_ENCAPSED_AND_WHITESPACEexpecting ']' in /home/user/public_html/forum/includes/functions_digest.php(249) : eval()'d code on line 7

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting '
]' in /home/user/public_html/forum/includes/functions_digest.php(249) : eval()'d code on line 7

Parse error
syntax errorunexpected T_ENCAPSED_AND_WHITESPACEexpecting ']' in /home/user/public_html/forum/includes/functions_digest.php(249) : eval()'d code on line 7

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting '
]' in /home/user/public_html/forum/includes/functions_digest.php(249) : eval()'d code on line 7

Parse error
syntax errorunexpected T_ENCAPSED_AND_WHITESPACEexpecting ']' in /home/user/public_html/forum/includes/functions_digest.php(249) : eval()'d code on line 7

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting '
]' in /home/user/public_html/forum/includes/functions_digest.php(249) : eval()'d code on line 7

Parse error
syntax errorunexpected T_ENCAPSED_AND_WHITESPACEexpecting ']' in /home/user/public_html/forum/includes/functions_digest.php(249) : eval()'d code on line 7

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting '
]' in /home/user/public_html/forum/includes/functions_digest.php(249) : eval()'d code on line 7 
and I disable all hacks and the same problem
use v3.8.0 last , php 5.2.8
what can I do to fix this problem ?
and thanks for advice
Reply With Quote
  #2  
Old 01-17-2009, 05:19 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you tried reuploading the script?
Reply With Quote
  #3  
Old 01-17-2009, 05:27 PM
ezak ezak is offline
 
Join Date: Nov 2004
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Have you tried reuploading the script?
thanks for fast response
yes I uploaded I clean script
Reply With Quote
  #4  
Old 01-17-2009, 05:32 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is on line 249 of your functions_digest.php file? That's right near a plugin in mine. Did you disable your plugins via 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); 
Reply With Quote
  #5  
Old 01-17-2009, 06:04 PM
ezak ezak is offline
 
Join Date: Nov 2004
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
What is on line 249 of your functions_digest.php file? That's right near a plugin in mine. Did you disable your plugins via 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); 
yes sir I do this method and I tried it again now and nothing changed
Reply With Quote
  #6  
Old 01-17-2009, 06:16 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Again.... what is on line 249 of your functions_digest.php file?
Reply With Quote
  #7  
Old 01-17-2009, 06:22 PM
ezak ezak is offline
 
Join Date: Nov 2004
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

at line 249
PHP Code:
                        eval(fetch_email_phrases('digestthreadbit'$forum['languageid'])); 
which been in this code area
PHP Code:
                        if ($thread['prefixid'])
                        {
                                
// need prefix in correct language
                                
$thread['prefix_plain'] = fetch_phrase("prefix_$thread[prefixid]_title_plain"'global'''falsetrue$forum['languageid$
                        }
                        else
                        {
                                $thread['
prefix_plain'] = '';
                        }

                        ($hook = vBulletinHook::fetch_hook('
digest_forum_thread')) ? eval($hook) : false;

                        eval(fetch_email_phrases('
digestthreadbit', $forum['languageid']));
                        if ($thread['
dateline'] > $lastdate)
                        { // new thread
                                $newthreads++;
                                $newthreadbits .= $message;
                        }
                        else
                        {
                                $updatedthreads++;
                                $updatedthreadbits .= $message;
                        } 
Reply With Quote
  #8  
Old 01-17-2009, 07:17 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And what is in your phrase "digestthreadbit"? It sounds like that is where the problem is.
Reply With Quote
  #9  
Old 01-17-2009, 07:34 PM
ezak ezak is offline
 
Join Date: Nov 2004
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found 2 digestthreadbit in my sql

the first 1
PHP Code:
************
$thread[prefix_plain]$thread[title]
$vboptions[bburl]/showthread.php?t=$thread[threadid]]
?? ???????:
$thread[forumtitle]
???? ??????:
$thread[postusername
??? ??????:
$thread[lastreplydate]
?????? 
$thread[lastreplytime


the second one
PHP Code:
************
$thread[prefix_plain]$thread[title]
$vboptions[bburl]/showthread.php?t=$thread[threadid]
In forum$thread[forumtitle]
Started by$thread[postusername]
Last post$thread[lastreplydate$thread[lastreplytime


and I use Arabic language (that's case the unknown characters)
can't read in myphpadmin
Attached Images
File Type: png 1.png (14.9 KB, 0 views)
File Type: png 2.png (13.9 KB, 0 views)
Reply With Quote
  #10  
Old 01-17-2009, 07:38 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Languages & Phrases > Search in Phrases is where I figured you would look.

But, look at line 7 (what the error states) in your first image. You didn't close $thread[postusername]
Reply With Quote
Reply

Thread Tools
Display Modes

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 07:51 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.04333 seconds
  • Memory Usage 2,300KB
  • Queries Executed 14 (?)
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
  • (7)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete