View Single Post
  #1072  
Old 08-31-2014, 02:26 AM
Sarab Sarab is offline
 
Join Date: Oct 2007
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
What version did you upgrade from and to? And are their errors in your error_logs (if you don't know where they are, ask your host)? And, what is the *exact* code you put into the plugins for the WOL online plugin? And, what is the link to the custom page?
Wow it seems it's just a problem I have xD
*a year thinking it's a change in vbulletin ="D*
I think the problem raised when I upgraded from 4.1.x to 4.2.1 (my current version )
the error log contain this:
Code:
[30-Aug-2014 00:25:38 UTC] PHP Parse error:  syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ']' in /????/????/public_html/forum/includes/functions_digest.php(260) : eval()'d code on line 5
[30-Aug-2014 00:25:38 UTC] PHP Parse error:  syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ']' in /????/????/public_html/forum/includes/functions_digest.php(260) : eval()'d code on line 5
[30-Aug-2014 00:25:38 UTC] PHP Parse error:  syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ']' in /????/????/public_html/forum/includes/functions_digest.php(260) : eval()'d code on line 5
[30-Aug-2014 00:25:38 UTC] PHP Parse error:  syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ']' in /????/????/public_html/forum/includes/functions_digest.php(260) : eval()'d code on line 5
[30-Aug-2014 00:46:14 UTC] die 4 false
[30-Aug-2014 00:56:18 UTC] die 4 false
[30-Aug-2014 00:58:53 UTC] PHP Fatal error:  Allowed memory size of 1073741824 bytes exhausted (tried to allocate 122880 bytes) in /????/????/public_html/forum/includes/functions.php(1939) : eval()'d code on line 60
[30-Aug-2014 01:37:55 UTC] die 4 false
[30-Aug-2014 01:54:07 UTC] die 4 false
[30-Aug-2014 02:55:33 UTC] die 4 false
[30-Aug-2014 04:20:47 UTC] die 4 false
[30-Aug-2014 06:57:53 UTC] die 4 true
[30-Aug-2014 07:24:25 UTC] die 4 false
[30-Aug-2014 07:24:26 UTC] die 4 false
[30-Aug-2014 08:16:48 UTC] PHP Fatal error:  Call to undefined method vB_Friendly_Url_Error::get_uri() in /????/????/public_html/forum/includes/init.php on line 358
[30-Aug-2014 09:35:16 UTC] die 4 false
[30-Aug-2014 10:06:08 UTC] die 4 true
[30-Aug-2014 10:06:09 UTC] die 4 true
[30-Aug-2014 10:06:09 UTC] die 4 true
[30-Aug-2014 10:06:09 UTC] die 4 true
[30-Aug-2014 10:06:10 UTC] die 4 true
[30-Aug-2014 10:06:10 UTC] die 4 true
[30-Aug-2014 10:06:10 UTC] die 4 true
[30-Aug-2014 10:34:00 UTC] die 4 false
[30-Aug-2014 10:35:39 UTC] die 4 false
[30-Aug-2014 10:37:12 UTC] die 4 true
[30-Aug-2014 12:11:03 UTC] die 4 false
[30-Aug-2014 12:39:17 UTC] die 4 false
[30-Aug-2014 12:39:17 UTC] die 4 false
[30-Aug-2014 14:30:35 UTC] die 4 false
[30-Aug-2014 14:30:35 UTC] die 4 false
[30-Aug-2014 16:11:53 UTC] die 4 false
[30-Aug-2014 16:11:53 UTC] die 4 false
[30-Aug-2014 16:11:53 UTC] die 4 false
[30-Aug-2014 17:08:35 UTC] die 4 false
[30-Aug-2014 17:26:19 UTC] die 4 false
[30-Aug-2014 17:26:19 UTC] die 4 false
[30-Aug-2014 17:26:21 UTC] die 4 false
[30-Aug-2014 17:26:21 UTC] die 4 false
[30-Aug-2014 18:20:12 UTC] die 4 true
[30-Aug-2014 18:35:50 UTC] die 4 false
[30-Aug-2014 18:35:51 UTC] die 4 false
[30-Aug-2014 18:38:58 UTC] die 4 false
[30-Aug-2014 18:39:01 UTC] die 4 false
[30-Aug-2014 18:39:30 UTC] die 4 false
[30-Aug-2014 18:39:30 UTC] die 4 false
[30-Aug-2014 18:39:38 UTC] die 4 false
[30-Aug-2014 18:39:38 UTC] die 4 false
[30-Aug-2014 18:39:47 UTC] die 4 false
[30-Aug-2014 18:39:47 UTC] die 4 false
[30-Aug-2014 18:39:57 UTC] die 4 true
[30-Aug-2014 18:40:42 UTC] die 4 false
[30-Aug-2014 18:40:42 UTC] die 4 false
[30-Aug-2014 18:41:07 UTC] die 4 false
[30-Aug-2014 18:41:07 UTC] die 4 false
[30-Aug-2014 18:41:21 UTC] die 4 true
[30-Aug-2014 18:42:17 UTC] die 4 false
[30-Aug-2014 18:42:17 UTC] die 4 false
[30-Aug-2014 18:42:34 UTC] die 4 false
[30-Aug-2014 18:42:34 UTC] die 4 false
[30-Aug-2014 18:42:45 UTC] die 4 false
[30-Aug-2014 18:42:46 UTC] die 4 false
[30-Aug-2014 18:44:31 UTC] die 4 false
[30-Aug-2014 18:44:31 UTC] die 4 false
[30-Aug-2014 18:44:40 UTC] die 4 false
[30-Aug-2014 18:44:40 UTC] die 4 false
[30-Aug-2014 18:44:55 UTC] die 4 false
[30-Aug-2014 18:44:56 UTC] die 4 false
[30-Aug-2014 18:45:11 UTC] die 4 false
[30-Aug-2014 18:45:12 UTC] die 4 false
[30-Aug-2014 18:45:15 UTC] die 4 false
[30-Aug-2014 18:46:34 UTC] die 4 false
[30-Aug-2014 18:46:36 UTC] die 4 false
[30-Aug-2014 18:46:45 UTC] die 4 false
[30-Aug-2014 18:46:46 UTC] die 4 false
[30-Aug-2014 18:47:02 UTC] die 4 false
[30-Aug-2014 18:47:02 UTC] die 4 false
[30-Aug-2014 18:47:10 UTC] die 4 false
[30-Aug-2014 18:47:10 UTC] die 4 false
[30-Aug-2014 18:47:23 UTC] die 4 false
[30-Aug-2014 18:47:23 UTC] die 4 false
[30-Aug-2014 19:55:07 UTC] PHP Fatal error:  Cannot redeclare construct_depth_mark() (previously declared in /????/????/public_html/forum/awards.php:98) in /????/????/public_html/forum/includes/adminfunctions.php on line 1922
the code for wol I put is:
Code:
switch ($filename)
{
    case 'PhantomGroup.php':
        $userinfo['activity'] = 'آل فانتوم';
        break;
// add more cases here if you have more than one custom page. no need for multiple plugins. one plugin can handle all.
}
Code:
switch ($userinfo['activity'])
{
    case 'فريق فانتوم':
        $userinfo['where'] = '<a href="PhantomGroup.php?'.$vbulletin->session->vars[sessionurl].'">فريق فانتوم</a>';
        $userinfo['action'] = "يشاهد صفحة آل فانتوم";
        $handled = true;
        break;
// add more cases here if you have more than one custom page. no need for multiple plugins. one plugin can handle all.
}
the url to the page:
http://www.alphantom.com/forum/PhantomGroup.php

it seems the problem is picky, where some pages show fine and some not, like here:


Quote:
Originally Posted by tbworld View Post
I would have to know what version you were running and what version you upgraded to. What version of PHP are you now using?
from 4.1.x to 4.2.1, and the php version is: 5.3.27 =D
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01203 seconds
  • Memory Usage 1,800KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete