vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Help in iReviews (https://vborg.vbsupport.ru/showthread.php?t=327392)

SilverBoy 07-20-2019 05:07 PM

Help in iReviews
 
Dears

I had bought vbover iReviews too many years ago, and as you know vbcover products are encrypted using IonCube, so after changing my domain I suspended using this product because my copy licensed to my old domain name, and sadly the owner of vbcover passed away from many years.

Now I encoded the files, but unfortunately the files contains some syntax errors, and the most important issue, it is not compatible with the modern PHP version.

So, could you please help me in fixing my files?

For now, I get this error that I don't know how I can deal with !!

The error message says "Warning: Attempt to assign property of non-object in [path]\includes\ireviews_showthread.php on line 61"
And here is the block of code that contain line 61 ..

PHP Code:

    if ($show['form']) {
        require_once( 
DIR '/includes/ireviews_functions.php' );
        
$ireviewsbits ireviewsConstructFields$foruminfo['ireviewscriteria'], '');
        
$templater vB_Template::create'ireviews_reviewform' );
        
$templater->register'ireviewsbits'$ireviewsbits );
        
$templater->register'threadid'$threadid );
        
$reviewform .= $templater->render(  );
        
$template_hook->showthread_above_posts .= $reviewform;
    } 

and the line 61 is this line
PHP Code:

$template_hook->showthread_above_posts .= $reviewform

Any help?

iA1 07-20-2019 06:06 PM

Are you using vB 4.2? If yes then change that line to:
Code:

$template_hook['showthread_above_posts'] .= $reviewform;

SilverBoy 07-20-2019 07:09 PM

Thanks for your help.

Actually because it is old product I'm testing it right now on local host using vb4.1.12, because I got a lot of errors with vb4.2.5!!


All times are GMT. The time now is 02:41 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.00964 seconds
  • Memory Usage 1,719KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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