vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   line nr (https://vborg.vbsupport.ru/showthread.php?t=45312)

Esdee 11-02-2002 03:58 PM

line nr
 
I got an error in my user.php file (in the admin folder)
after installing the MSN hack. :cry:

I only just noticed and thus have no morre backup >.<

Well, the error is on line 1754.
How do I know which line is 1754 ?
I feel completely retarded for asking, but there must be some way. (You don't want to know how I fixed an error on line 625 in a different file :rolleyes: )

And if I don't get this fixed, where can I get an orriginal user.php file ??

Thanks real much

Bitsys 11-02-2002 05:01 PM

Open up notepad. Copy and paste user.php into the new text file in notepad. Make sure word wrap is off (Format -> Word Wrap). Turn the status bar on (View -> Status Bar). The line number and column number should be in the lower right-hand corner. :)

You don't have to copy and paste it if it already opens in notepad, just make sure that word wrap is off.

Esdee 11-02-2002 05:49 PM

Thanks man.
But I remembered the backup should be still in the trash bin. But What if the file it too big for notepad ?

Chris M 11-02-2002 05:50 PM

try wordpad;)

Satan

Bitsys 11-02-2002 06:13 PM

Quote:

Originally posted by Esdee
But What if the file it too big for notepad ?
It opens up for me. However, the last line in my user.php is line #1733, so yours is a little bigger. I think the maximum file size for opening files in notepad is 1 MB, but it could be OS dependent.

Esdee 11-02-2002 07:14 PM

wel, I know for sure the functions.php is too big for notepad. But I have wordpad as default editor anyway ^_^

Erwin 11-02-2002 07:28 PM

What is the error message you get for line 1754?

Post up the code up to 10 lines before and 10 lines after and see if we can help fix it.

zajako 11-02-2002 09:37 PM

i suggest getting phpedit, you can find it at downloads.com, its a free php editor that even color codes your php, to help you as well as numbers your lines :}

(also wordpad does not number lines from my experiences)

as for the code, i agree with erwin, just post it up here and we can help


All times are GMT. The time now is 03:47 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.01061 seconds
  • Memory Usage 1,720KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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