Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-16-2014, 03:10 PM
sandboa sandboa is offline
 
Join Date: May 2012
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Error upon upgrading to 4.2.2 from 4.2.0

Received this error after upgrading to 4.2.2 from 4.2.0

Warning: require_once(./includes/functions_navigation.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/functions.php on line 39

Fatal error: require_once() [function.require]: Failed opening required './includes/functions_navigation.php' (include_path='.:/usr/local/php53/pear') in /home/sandboak/public_html/includes/functions.php on line 39

It appears I do not have a './includes/functions_navigation.php' file

please help
Reply With Quote
  #2  
Old 12-16-2014, 03:18 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you tried uploading a new copy of functions_navigation.php?
Reply With Quote
  #3  
Old 12-16-2014, 03:38 PM
sandboa sandboa is offline
 
Join Date: May 2012
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where would I find the file? It isnt in my original 4.2.0 files and is not in any of the proceeding updates
Reply With Quote
  #4  
Old 12-16-2014, 03:50 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It should be in a full distribution. It's in the upload/includes folder.

ETA: apparently it didn't exist before 4.2.1, so that probably has something to do with how you somehow ended up without it.
Reply With Quote
  #5  
Old 12-16-2014, 03:54 PM
sandboa sandboa is offline
 
Join Date: May 2012
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok. So I found the file in the 4.2.1 publishing suite. Now getting a SQL error

Code:
Database error in vBulletin 4.2.0:

Invalid SQL:

		SELECT *
		FROM VB_navigation
		WHERE state &  = 0
		ORDER BY navtype, displayorder;

MySQL Error   : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= 0
		ORDER BY navtype, displayorder' at line 3
Error Number  : 1064
Request Date  : Tuesday, December 16th 2014 @ 11:49:02 AM
Error Date    : Tuesday, December 16th 2014 @ 11:49:03 AM
Script        : http://www.sandboakeepers.com/forum.php
Referrer      : http://www.sandboakeepers.com/index.php
IP Address    : 
Username      : 
Classname     : vB_Database
MySQL Version : 5.5.32-31.0-log
Reply With Quote
  #6  
Old 12-16-2014, 03:56 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, seems like you don't have the database table. Did you run an update script?
Reply With Quote
  #7  
Old 12-16-2014, 03:57 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You haven't run the upgrade script at all. You cannot have 4.2.2 files on your site and have a 4.2.0 database. You need to run the /install/upgrade.php script.
Reply With Quote
Благодарность от:
MarkFL
  #8  
Old 12-16-2014, 04:14 PM
sandboa sandboa is offline
 
Join Date: May 2012
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok. makes sense. this is above my head.

So I downloaded the 4.2.2 suite. Do I upload the entire install file to file manager (I deleted the 4.2.0 install file long ago)? Then I run the upgrade script from there?

A walk through would be greatly appreciated!!
Reply With Quote
  #9  
Old 12-16-2014, 04:18 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There are instructions in the manual on how to do an upgrade - https://www.vbulletin.com/docs/html/...rsion=40202602
Reply With Quote
  #10  
Old 12-16-2014, 04:39 PM
sandboa sandboa is offline
 
Join Date: May 2012
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok. Do I have to upload and overwrite all the files from the 4.2.2 suite? or will the 4.2.2 patch files be enough?
Reply With Quote
Reply


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 08:54 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.04213 seconds
  • Memory Usage 2,249KB
  • 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)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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_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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete