Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #11  
Old 01-12-2003, 05:40 AM
Steve Machol's Avatar
Steve Machol Steve Machol is offline
 
Join Date: Nov 2001
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The problem is in line 400 of sessions.php. What's on this line and what editor are you using?
Reply With Quote
  #12  
Old 01-12-2003, 12:08 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

steve sorry i have to say, but you are wrong here.
line 400 of sessions.php calls vbdate() which has never been defined, because the functions.php is corrupted.

@dot:
replace this line:
PHP Code:
$buffer str_replace(""", "\[i][/i]""$buffer); 
with this:
PHP Code:
$buffer addslashes($buffer); 
this should fix the error.
Reply With Quote
  #13  
Old 01-12-2003, 03:28 PM
dotagious dotagious is offline
 
Join Date: Oct 2001
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't have:

Code:
$buffer = str_replace(""", """, $buffer);

Instead, I have:

Code:
$buffer = str_replace(""", "\"", $buffer);
... and this is in functions.php right?
Reply With Quote
  #14  
Old 01-12-2003, 03:35 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

np

you're welcome
Reply With Quote
  #15  
Old 01-12-2003, 03:46 PM
dotagious dotagious is offline
 
Join Date: Oct 2001
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Xenon
np

you're welcome
Look above you last post... we posted at the same time..LOL

Anywho.. if that is the line you mean, I replaced it as requested and I get a completely different error now. If I give full access to my server, control panel, etc. is there ANYWAY you could take a look. This has been going on forever and it's making me insane.
Reply With Quote
  #16  
Old 01-12-2003, 05:34 PM
Steve Machol's Avatar
Steve Machol Steve Machol is offline
 
Join Date: Nov 2001
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Xenon
steve sorry i have to say, but you are wrong here.
Not too quibble, bu I wasn't wrong. The problem was with line 400 of session.php. The fact that vbdate is actually defined in functions.php was overlooked, but there still could have been a problem with that line and the editor he's using.

Another thought came to me. Perhaps after editing these files, he's not uploading them in ASCII.
Reply With Quote
  #17  
Old 01-12-2003, 06:08 PM
dotagious dotagious is offline
 
Join Date: Oct 2001
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have tried several different editors.. so I don't think that is the problem. I have also edited the files directly from the server with no luck. I am also making sure to upload the files in ASCII format and make sure there is no blank space at the bottom. Every other edit I have done to every other file has been done with success. I'm positive it's something specific to functions.php, but can't figure out what. This has even happend when I tried to edit the same file on a former site of mine. Same host, same server, but different account. Same thing happened.
Reply With Quote
  #18  
Old 01-12-2003, 06:47 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well functions.php works for all of us to edit, so the problem must be your editor or you upload it the wrong way, there's nothing we can do...
perhaps, the file is to long for your editor, try UltraEdit, that's what al lot of us use...

@Steve: touche
Reply With Quote
  #19  
Old 01-12-2003, 06:57 PM
dotagious dotagious is offline
 
Join Date: Oct 2001
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Steve Machol
The problem is in line 400 of sessions.php. What's on this line and what editor are you using?

This is line 400 in my sessions.php

Code:
$bbuserinfo['lastvisitdate'] = vbdate($dateformat." ".$timeformat,$bbuserinfo['lastvisit']);
Reply With Quote
  #20  
Old 01-12-2003, 06:59 PM
dotagious dotagious is offline
 
Join Date: Oct 2001
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Xenon
Well functions.php works for all of us to edit, so the problem must be your editor or you upload it the wrong way, there's nothing we can do...
perhaps, the file is to long for your editor, try UltraEdit, that's what al lot of us use...

@Steve: touche

Considering (a) no other file I?ve edited has this problem, (b) I?ve used several different editors and edited from the server directly, and (c) I?m transferring in the correct format (ASCII) and make sure there is no empty space at the bottom, it?s difficult to believe.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:24 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04230 seconds
  • Memory Usage 2,260KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (2)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete