Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Template Shares (http://www.bvlist.com/forumdisplay.php?f=26)
-   -   Template Shares 5.6 eror (http://www.bvlist.com/showthread.php?t=12256)

serseri06 25th April 2020 15:18

Template Shares 5.6 eror
 
The login page stays like this and after running ... / install.php it gives ts_tabless error in the database loading section. can you help me


Quote:

load ('index'); require_once INC_PATH . '/plugins/ts_plugin_config.php'; $defaulttemplate = ts_template (); $is_mod = is_mod ($usergroups); stdhead (sprintf ($lang->index['welcome'], $SITENAME), TRUE, 'collapse', ''); $_header = ' '; $_footer = '
'; $_div = '
{3}
{1} ' . $_title_bracket . ' {2}
{4}'; $_left_header = array ('', ''); $_middle_header = array ('', ''); $_right_header = array ('', ''); $_curuser_usergroup = ((!$CURUSER['usergroup'] OR !$CURUSER) ? '[0]' : '[' . $CURUSER['usergroup'] . ']'); $_contents = $_header; require_once TSDIR . '/' . $cache . '/plugins.php'; if (0 < count ($Plugins_LEFT)) { $__width = $_left_plugin_width - 10; $__cute = 20; $_contents .= $_left_header[0]; foreach ($Plugins_LEFT as $_results) { $show_content = false; $_perm_1 = $_results['permission']; if (($_perm_1 === '[guest]' AND $_curuser_usergroup === '[0]')) { $show_content = true; } else { if (($_perm_1 === '[all]' OR strstr ($_perm_1, $_curuser_usergroup))) { $show_content = true; } } if ($show_content) { if ($_results['content'] != '') { $_contents .= str_replace (array ('{1}', '{2}', '{3}', '{4}'), array (ts_collapse (str_replace (' ', '_', $_results['name']), 1), $_results['description'], ts_collapse (str_replace (' ', '_', $_results['name']), 2), $_results['content']), $_div); continue; } else { if (file_exists (INC_PATH . '/plugins/' . $_results['name'] . '.php')) { include_once INC_PATH . '/plugins/' . $_results['name'] . '.php'; $_contents .= str_replace (array ('{1}', '{2}', '{3}', '{4}'), array (ts_collapse (str_replace (' ', '_', $_results['name']), 1), $_results['description'], ts_collapse (str_replace (' ', '_', $_results['name']), 2), ${$_results['name']}), $_div); continue; } continue; } continue; } } $_contents .= $_left_header[1]; unset ($Plugins_LEFT); unset ($_perm_1); } $show_content = false; if (0 < count ($Plugins_MIDDLE)) { $__width = $_left_plugin_width * 2 + 130; $__cute = 180; $_contents .= $_middle_header[0]; foreach ($Plugins_MIDDLE as $_results) { $show_content = false; $_perm_2 = $_results['permission']; if (($_perm_2 === '[guest]' AND $_curuser_usergroup === '[0]')) { $show_content = true; } else { if (($_perm_2 === '[all]' OR strstr ($_perm_2, $_curuser_usergroup))) { $show_content = true; } } if ($show_content) { if ($_results['content'] != '') { $_contents .= str_replace (array ('{1}', '{2}', '{3}', '{4}'), array (ts_collapse (str_replace (' ', '_', $_results['name']), 1), $_results['description'], ts_collapse (str_replace (' ', '_', $_results['name']), 2), $_results['content']), $_div); continue; } else { if (file_exists (INC_PATH . '/plugins/' . $_results['name'] . '.php')) { include_once INC_PATH . '/plugins/' . $_results['name'] . '.php'; $_contents .= str_replace (array ('{1}', '{2}', '{3}', '{4}'), array (ts_collapse (str_replace (' ', '_', $_results['name']), 1), $_results['description'], ts_collapse (str_replace (' ', '_', $_results['name']), 2), ${$_results['name']}), $_div); continue; } continue; } continue; } } $_contents .= $_middle_header[1]; unset ($Plugins_MIDDLE); unset ($_perm_2); } $show_content = false; if (0 < count ($Plugins_RIGHT)) { $__width = $_right_plugin_width - 10; $__cute = 20; $_contents .= $_right_header[0]; foreach ($Plugins_RIGHT as $_results) { $show_content = false; $_perm_3 = $_results['permission']; if (($_perm_3 === '[guest]' AND $_curuser_usergroup === '[0]')) { $show_content = true; } else { if (($_perm_3 === '[all]' OR strstr ($_perm_3, $_curuser_usergroup))) { $show_content = true; } } if ($show_content) { if ($_results['content'] != '') { $_contents .= str_replace (array ('{1}', '{2}', '{3}', '{4}'), array (ts_collapse (str_replace (' ', '_', $_results['name']), 1), $_results['description'], ts_collapse (str_replace (' ', '_', $_results['name']), 2), $_results['content']), $_div); continue; } else { if (file_exists (INC_PATH . '/plugins/' . $_results['name'] . '.php')) { include_once INC_PATH . '/plugins/' . $_results['name'] . '.php'; $_contents .= str_replace (array ('{1}', '{2}', '{3}', '{4}'), array (ts_collapse (str_replace (' ', '_', $_results['name']), 1), $_results['description'], ts_collapse (str_replace (' ', '_', $_results['name']), 2), ${$_results['name']}), $_div); continue; } continue; } continue; } } $_contents .= $_right_header[1]; unset ($Plugins_RIGHT); unset ($_perm_3); } echo $_contents . $_footer; stdfoot (); ?>

rio 25th April 2020 18:34

Copy paste the code there rather than a picture

Napon 25th April 2020 20:58

lol try edit tages



Too

in the php.init on server tags setting

serseri06 25th April 2020 22:23

thank you for the answer but the tags are correct, I also installed ioncube and gzip active

Napon 25th April 2020 22:30

What Plarform are you using on the sever ?
VERSION 5.6

install as
should be

You will need to set all this is my ts_plugin_config
In include/plugins/ts_plugin_config.php
You see tag at top
Code:

define('TS_C_VERSION', '1.2 by xam');
// Security Check.
if (!defined('IN_PLUGIN_SYSTEM'))
{
        die("Error! Direct initialization of this file is not allowed.");
}

// Plugin Configuration: START
$_left_plugin_width = '175'; // Leave this default for better results..
$_right_plugin_width = '175'; // Leave this default for better results..
$_left_plugin_padding_right = '15px'; // Leave this default for better results..
$_right_plugin_padding_left = '15px'; // Leave this default for better results..
$_div_padding_bottom = '15px'; // Leave this default for better results..
$_title_bracket = '»'; // Leave this default for better results..
define('MAX_NEWS', 1); // How many news that you want to show on index page. ie: 3
// Plugin Configuration: END
?>


Rendevous 26th April 2020 09:38

what version of php and msysql are you running?

serseri06 4th May 2020 22:07

Quote:

Originally Posted by Rendevous (Post 54769)
what version of php and msysql are you running?

Php 5.6 and marianDB 5.5

Bump:
Quote:

Originally Posted by Napon (Post 54766)
What Plarform are you using on the sever ?
VERSION 5.6

install as
should be

You will need to set all this is my ts_plugin_config
In include/plugins/ts_plugin_config.php
You see tag at top
Code:

define('TS_C_VERSION', '1.2 by xam');
// Security Check.
if (!defined('IN_PLUGIN_SYSTEM'))
{
        die("Error! Direct initialization of this file is not allowed.");
}

// Plugin Configuration: START
$_left_plugin_width = '175'; // Leave this default for better results..
$_right_plugin_width = '175'; // Leave this default for better results..
$_left_plugin_padding_right = '15px'; // Leave this default for better results..
$_right_plugin_padding_left = '15px'; // Leave this default for better results..
$_div_padding_bottom = '15px'; // Leave this default for better results..
$_title_bracket = '»'; // Leave this default for better results..
define('MAX_NEWS', 1); // How many news that you want to show on index page. ie: 3
// Plugin Configuration: END
?>


thanks for the answer. I fixed the problem I reloaded the server from scratch

Napon 4th May 2020 22:41

Good to help you out i do have a lot of mods for this ill big them out

Daz 13th May 2020 13:35

The answer is to enable php short tag in your php.ini, pretty simple.


All times are GMT +2. The time now is 16:57.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.