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)
-   -   [Release v2] Who's Online (https://vborg.vbsupport.ru/showthread.php?t=16152)

daydreamer 06-01-2001 07:44 PM

Hooper,
Thanks for the reply!
I should have given more info. I get the error when calling "online.php3".

This is my first hack on the script so my default sessions.php3 file will work. I am usually pretty good at hacking Java so I was very careful in editing the sessions file. I even started from scratch several times and still get the errors.:(

Maybe there is someone that can email me a stock sessions with only this hack.:D randy@dreamsweb.net

From what you are saying, I have messed something up in the sessions file. hmmm

Thanks for your time...

dd

Hooper 06-01-2001 07:48 PM

Quote:

Originally posted by daydreamer
Hooper,
Thanks for the reply!
I should have given more info. I get the error when calling "online.php3".

This is my first hack on the script so my default sessions.php3 file will work. I am usually pretty good at hacking Java so I was very careful in editing the sessions file. I even started from scratch several times and still get the errors.:(

Maybe there is someone that can email me a stock sessions with only this hack.:D randy@dreamsweb.net

From what you are saying, I have messed something up in the sessions file. hmmm

Thanks for your time...

dd

Welcome,
Something else you might try is renaming your .php3 extensions to just .php. Then try calling something from the browser.

It's against your vBulletin license agreement to hand out code, hacked or not. That is out of the question. Sorry.

daydreamer 06-01-2001 07:52 PM

They have to be .php3 on this server...

Hooper 06-01-2001 08:00 PM

Quote:

Originally posted by daydreamer
They have to be .php3 on this server...
This very well may be true. Some do some don't . I have .php4 installed and can use .php,.php3,.etc... I would try it anyhow. Unless of course you would have to rename all of your files. I would suppose this would be the case. If you are sure your hacking is up to par, the only suggestions are what I mentioned. You do need to make sure that you are hacking correctly or you will most definitley get errors. At this time, the WOL hack's line numbers do not match up with the code changes. The changes are 5 or 6 lines down. Make sure you are modifying by code and this bit of info and not by exact line number. If I remember correctly, the only file that gets modified is the sessions.php. You may try your original sessions.php as I mentioned and see if your forums work again, if they do, your problem is in your hacking.

Btw, I have PHP4 installed and use just the .php extension.

daydreamer 06-01-2001 09:36 PM

Yea but with my server if you use .php, it will show the code.
I get the exact same error with the default sessions uploaded. I'm thinking it's in the online.php3 file.:confused:

You can take a look at them at the following links. Maybe someone could take a look at them for me.:D

www.dreamsweb.net/php/sessions.php
www.dreamsweb.net/php/online.php


Thanks
dd

Hooper 06-01-2001 09:50 PM

This is what I recommend. First get your forums working properly. Without any hacks. Then backup the files you are going to hack. Then Hack. You should always be able to go back to the working version without the hack within a matter of seconds. The online.php3 file should not keep your forums from working as far as I know. I would suggest you back track and re hack. If this doesn't work after you attempt another hack installation from fresh working vBulliten files, then post again and maybe TubeDogg will come up with some ideas for you.

Best Wishes,

daydreamer 06-01-2001 10:19 PM

Thanks for your time Hooper.

The forum continues to work fine, just the Who's Online doesn't.

Thanks again....

dd

ThomasP 06-02-2001 03:01 PM

Hi there,

I get the following error when browsing the online.php on my server:


Warning: Variable $loggedins is not an array or string in /home/usr/(...)/forum/online.php on line 29

Parse error: parse error in /home/usr/(...)/forum/online.php on line 44

I tried to redo my steps several times - w/o repeating the mysql insert, phpMyAdmin shows me the new 'location' bit in the db, so this seems to be okay...

Templates are there, online.php is in /forum, session in /admin...

Am a little bit in the wild in the moment :rolleyes:
Any hints?
Thanks,
-Tom

ThomasP 06-03-2001 09:29 AM

Hmmm, I can't figure it out :(

Maybe it's because I'm using PHP3 on the server ?
thx,
-Tom

daydreamer 06-03-2001 10:03 AM

Tom,

I am having the exact same problem you are. And have been waiting for a reply now for days. I think there is something wrong with the online file???

Please let me know if you figure it out.

PS. I've been to Munich and I love Germany...


All times are GMT. The time now is 12:26 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.01319 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)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