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)

mark99 05-04-2003 12:46 PM

Much like a few others have mentioned above, it appears as if the code for outputting the time is wrong. My server off-set is -1 hour and the time for posts is correct on my forum, yet on the output for this script it's +1 hour?

I can't change this because strangely the code for time 'appears' to be called from the forum, which ironically tells the correct time.

Also, how do you separate the time and date output? The time is wrong so I just want to display the date.

mcahill 05-28-2003 11:49 AM

Okay, the hack has been running fine for 3 months and was working fine last evening. Now it is not working at all and is throwing a blank screen.

I'm checking with the host to see if they've made any changes to PHP.ini or changed versions or anything like that.

Can anyone point me at a possible reason for the blank page problem?

Problem resolved: The ISP updated PHP without telling me...had to make a change to some of the other code on the page to deal with globals turned off.

Splitfyre 06-13-2003 01:54 AM

When I bring the php include tag into my index.php file I get the following error message:

Can't Select Database

What's up with that? Help

Splitfyre 06-13-2003 02:34 AM

Quote:

03-31-01 at 10:58 PM said this in Post #27
If you're getting that far, then all your variables are indeed set correctly. Can you try something for me? I've attached a zip file to this message - open it, edit the username, password, database host ($dbhost), and database name ($dbname) in both files (testmysql1.php and testmysql2.php) and put both files on your server where the last10.php file is, then go to testmysql1.php in a web browser, e.g. http://www.yoursite.com/path/to/testmysql1.php and tell me what happens.
Then go to testmysql2.php e.g. http://www.yoursite.com/path/to/testmysql2.php and tell me what happens.

Sorry you're having problems. Hopefully this will solve it!


Tried this and got the same error indicating that it Cannot Select Database. :ermm:

bluecat 06-19-2003 12:14 PM

I know they just released vb3 beta, does anyone know if this hack will work with that version? I just laid out my home page with this hack and really don't want to have to change it if it doesn't work, for now anyway. Thanks.

Ryan McBain 06-20-2003 04:26 AM

Quote:

Today at 06:14 AM bluecat said this in Post #445
I know they just released vb3 beta, does anyone know if this hack will work with that version? I just laid out my home page with this hack and really don't want to have to change it if it doesn't work, for now anyway. Thanks.
It works fine for me. Your gonna have to edit a few things, such as the link to the admincp but i does work. Just check out how i have it on ryanmcbain.com

Splitfyre 06-21-2003 09:32 PM

Cannot seem to get it to login to the db.

Ryan McBain 06-21-2003 11:22 PM

Quote:

Today at 03:32 PM Splitfyre said this in Post #447
Cannot seem to get it to login to the db.
Im guessing that it is looking for the admincp folder, there is no admin folder anymore in vb3

peterjun 06-23-2003 07:00 PM

I setup my Last10 up a few months ago and it was working very smoothly... However, recently, it just suddenly stopped working! I have it set as a template (the $last10 in the templates) and it keeps showing me the top 5 messages from a month ago (when there have been new posts made!).

When I execute last10.php, I get this message:

MySQL reported this error while trying to retreive the info: No Database Selected

Thanks for any help!

SVTBlackLight01 07-14-2003 05:49 AM

Does anyone know what this error means?

Warning: main(): stream does not support seeking in /home/*****/public_html/last10.php on line 13

It just started showing up.


All times are GMT. The time now is 01:19 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.01535 seconds
  • Memory Usage 1,741KB
  • 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
  • (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