vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   WebTemplates v.0.1 (Old Version) (https://vborg.vbsupport.ru/showthread.php?t=36419)

XrayHead 11-13-2003 09:18 PM

Quote:

Originally Posted by Logician
table of this hack (beta) is "webtemplates" and "webquerytemplate". After migrating to the new one, you can remove these.

Thanks for that, droped the tables and install the new ok....

XraYheaD

cecov74 11-27-2003 08:13 AM

I want punt a scritp to see a banner but I received a error :(
the script is
------------------------------------------------------------------
<?
if (@include(getenv('DOCUMENT_ROOT').'/adserver/phpadsnew.inc.php')) {
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_raw = view_raw ('', 4, '', '', '0', $phpAds_context);
echo $phpAds_raw['html'];
}
?>
-------------------------------------------------------------------
and the error is

-------------------------------------------------------------------
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/edonkeyi/public_html/forum/global.php(318) : eval()'d code on line 47
-------------------------------------------------------------------

I see the banner but not the header :(

Logician 11-27-2003 09:35 AM

Quote:

Originally Posted by cecov74
I want punt a scritp to see a banner but I received a error :(
the script is
------------------------------------------------------------------
<?
if (@include(getenv('DOCUMENT_ROOT').'/adserver/phpadsnew.inc.php')) {
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_raw = view_raw ('', 4, '', '', '0', $phpAds_context);
echo $phpAds_raw['html'];
}
?>
-------------------------------------------------------------------
and the error is

-------------------------------------------------------------------
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/edonkeyi/public_html/forum/global.php(318) : eval()'d code on line 47
-------------------------------------------------------------------

I see the banner but not the header :(

I don't know if this question is related to webtemplates but if it is, you use the wrong (old) version. Try the the new one which supports PHP parsing. But please note even the new PHP parsing is not for "partial" parsing so you can make a webtemplate PHP or not, you can not just add PHP code in a non-PHP webtemplate

COBRAws 06-26-2006 05:07 AM

Since I upgraded to MySQL 5, i have I problem while in the ADMINCP WebTemplates section:


Quote:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /admincp/wt_wt.php on line 1337
Any help please. Otherwise ill have to un-install.


All times are GMT. The time now is 05:40 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.01306 seconds
  • Memory Usage 1,727KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete