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)
-   -   Last XX Posts on non-vB page (https://vborg.vbsupport.ru/showthread.php?t=12324)

OutlawCowboy 12-04-2001 10:14 PM

In your PHP.INI file in the Winnt dir. You should change the showwarnings to OFF That way you will not get all those warning messages for undeclared variables. I lot of scripts use undeclared variables. Its the lazy way to initiate variables instead of declaring them outright :)

Gutspiller 12-15-2001 03:48 PM

After putting the code on a non vb page and loading it where I put the code I get this error:

Fatal error: Failed opening required 'forumz/admin/config.php' (include_path='') in /home/theforum/public_html/forumz/last10.php on line 13

Any ideas on how to fix that or why I am getting that error?

Prince 12-19-2001 08:59 PM

No matter what I do I get this error:

Quote:

Fatal error: Failed opening required '/admin/config.php' (include_path='.:/usr/local/lib/php') in /home/ironmag/public_html/forum/admin/last10.php on line 13
anyone???

FWC 12-19-2001 09:20 PM

Quote:

Originally posted by Prince
No matter what I do I get this error:

in /home/ironmag/public_html/forum/admin/last10.php on line 13

anyone???

You might want to move last10.php from the admin directory to the forum directory.

Michael2 12-22-2001 02:06 PM

Sorry if this has been asked but 18 pages is a lot to read through. ;)

I have required registration but I still want to pull the 10 newest posts out to the main page. I would assume when people click the link they get the page stating they must log in or register. Is that correct?

inetd 12-23-2001 10:50 AM

Someone can answer as struggle with this error?!

Fatal error: Failed opening required 'http://domai.com/admin/config.php' (include_path='.:') in /boltalka/last10.php on line 13

PLZ!!!!

Jonathan 12-23-2001 08:37 PM

I'm sorry if I should have posted this in the Support forum, but it's relating to this hack. You can move it if it's a problem here.

Here's my question:

I'm running my vB and site on seperate servers, and I'm having touble with the paths, can someone help?

I have last10config.php at:
http://www.yeswebmasterforums.com/last10config.php

I have last10.php at:
http://www.yeswebmaster.com/last10.php

I get errors when I go to http://www.yeswebmaster.com/last10.php

Can someone please tell me what the following need to be?

On last10.php (? indicates where I'm toally lost:

require("?")
require("$path/config.php");

On last10config.php:

$path = "/admin"; // path to your config.php file (usually in the /admin directory) - NO TRAILING SLASH! Do not include "config.php"
$url = "http://www.yeswebmasterforums.com"; // URL to your board - NO TRAILING SLASH!

The above are lines that I'm not sure what I need to put in.

If someone knows, please help. I really appreciate it.

Thanks,

Jonathan P.
Owner/Webmaster
http://www.yeswebmaster.com
http://www.yeswebmasterforums.com

Jonathan 12-24-2001 01:24 AM

Can someone please help me?

TheCaver 12-25-2001 11:59 PM

Has anyone figured out the GMT offset thing yet?

Driving me (and the users) crazy :)

JC

voogru 12-26-2001 10:38 PM

i keep getting cant select db errors. the paths are coreect too :confused:


All times are GMT. The time now is 08:07 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.01499 seconds
  • Memory Usage 1,733KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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