vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   small directory error cannot find file? (https://vborg.vbsupport.ru/showthread.php?t=105766)

CP, 01-19-2006 11:06 PM

small directory error cannot find file?
 
hi ive passed stage 1 and have another small problem when it comes to the login page...,

it shows:

Warning: main(/var/www/html/platv3/include/FastTemplate.php3): failed to open stream: No such file or directory in /home/kayz/public_html/platv3/admin/config_settings.tpl.php on line 2

Warning: main(/var/www/html/platv3/include/FastTemplate.php3): failed to open stream: No such file or directory in /home/kayz/public_html/platv3/admin/config_settings.tpl.php on line 2

Warning: main(): Failed opening '/var/www/html/platv3/include/FastTemplate.php3' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/kayz/public_html/platv3/admin/config_settings.tpl.php on line 2

Fatal error: Cannot instantiate non-existent class: fasttemplate in /home/kayz/public_html/platv3/admin/config_settings.tpl.php on line 3


i go into the config_settings.tpl.php and on line 2 it shows: include("$include_path/FastTemplate.php3");

this is the top section of it:

1. <?
2. include("$include_path/FastTemplate.php3");
3. $tpl = new FastTemplate.("templates");
4. $tpl->no_strict();


i checked the directory of the include folder and i do see a FastTemplate.php3 file, but this file is a notepad file...., and now im stuck anbody know how or what to do?

Will greatly appreciate this, thanks!

filburt1 01-19-2006 11:57 PM

What the hell script is that? Is that even vBulletin-related? vB doesn't use PHP 3 at all, nor that syntax for importing files.

CP, 01-20-2006 12:30 AM

If you look closely this is a General Codings/Questions > PHP / MySQL / JS / (X)HTML section..., outside and above those topics are the vb related coding Q's...,

Not worry anymore ive resolved my problem,

filburt1 01-20-2006 01:20 AM

I wasn't blaming you, just curious because it made no sense to me. If it was vBulletin, I would have had a hard time to debug it.


All times are GMT. The time now is 08:44 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.00925 seconds
  • Memory Usage 1,711KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete