Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #1  
Old 08-03-2011, 03:35 PM
CrazyG CrazyG is offline
 
Join Date: Jul 2011
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Problem on my forums, won't load

To start off, I was receiving an error when logging in, you could click home forums etc. and it would go to it. The error was: phrase 'invalid_redirect_url_x'.

I read to delete this from the function and reupload it. : if (!$foundurl)
{
eval(standard_error(fetch_error('invalid_redirect_ url_x', $vbulletin->url)));
}

Now, my site is not working at all, gives this error: Parse error: syntax error, unexpected $end in /home/****/public_html/includes/functions.php on line 7709

I've got the command line, but where does it go so I can get my site back up. That's the only line I deleted. I guess I could go section by section that are separated by ********* and try, but figure someone may know exactly where it needs to be inserted.. Need the site back up, anyone help will be appreciated.

I do not know where the original file is, as I overwrote it in the includes folder.
Edit, this is on VB4.1.4
Reply With Quote
  #2  
Old 08-03-2011, 03:46 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not quite sure what you're asking - you want to put back what you took out? Probably the bext thing would be to get the original file includes/functions.php and upload it (unless you have doen other modifications you need to keep).

BTW I looked in that file and didn't find a line 7709 (in the version 4.1.4 source it only has 7660 lines).
Reply With Quote
  #3  
Old 08-03-2011, 03:58 PM
CrazyG CrazyG is offline
 
Join Date: Jul 2011
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well now it's saying line 1355.. I can't find the original. I was hoping someone searched the line, and copied a few lines before and after so I would know where it went back. When I took it out, page will not load, so wanted to replace what I removed.. Should have backed it up, but.. too late now. If you can search that line command, and list something it's posting in between I can find it.
Reply With Quote
  #4  
Old 08-03-2011, 04:07 PM
nhawk nhawk is offline
 
Join Date: Jan 2011
Posts: 1,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

He's got 4.1.4 PL2, that's why the discrepancy in file size.

I suggest downloading or unzipping the PL2 files again and re-uploading functions.php to your server.
Reply With Quote
  #5  
Old 08-03-2011, 04:22 PM
CrazyG CrazyG is offline
 
Join Date: Jul 2011
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, figured I would, and it was also easier then finding it. I'll make sure I back up before I do any editing for now on..
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 05:42 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.03862 seconds
  • Memory Usage 2,182KB
  • Queries Executed 11 (?)
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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)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_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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete