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

Reply
 
Thread Tools Display Modes
  #1  
Old 01-21-2016, 03:23 PM
Lloyd32552 Lloyd32552 is offline
 
Join Date: Feb 2009
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Installation problem vb 4.2.3

I'm moving to a new website hosted at Hostgator. I'm doing a fresh installation of vb4.2.3. I'm pretty sure I've got config.php correct as I've been doing this for many years. When I run the installer, it immediately fails with the following messages:

Warning: require_once(./upgrade.php): failed to open stream: No such file or directory in /home3/lloyd32552/public_html/forum/install/install.php on line 25

Fatal error: require_once(): Failed opening required './upgrade.php' (include_path='.:/opt/php54/lib/php') in /home3/lloyd32552/public_html/forum/install/install.php on line 25

Your help in trouble shooting this is greatly appreciated.

Lloyd
Reply With Quote
  #2  
Old 01-21-2016, 03:25 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The file upgrade.php is missing in the install folder. Make sure that you uploaded all the required files correctly.
Reply With Quote
Благодарность от:
MarkFL
  #3  
Old 01-21-2016, 08:18 PM
Lloyd32552 Lloyd32552 is offline
 
Join Date: Feb 2009
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dave,

That was the first thing I thought of, too. Upgrade.php is in the installs folder. I simply unzipped the archive and uploaded everything.

A couple more things I've tried -
I deleted the entire system and uploaded 4.2.2 and then ran install and got the exact same message.
I then deleted that entire system and downloaded a fresh archive of 4.2.3 and uploaded it. I was surprised to see that the install folder did not contain a copy of install.php, though. On a lark, I uploaded install.php from 4.2.2 and got the same messages as before.

A couple things - the server is running php 5.4.

Any ideas? Is there an installation log that will tell me more than the message I've seen?
Lloyd
Reply With Quote
  #4  
Old 01-21-2016, 09:04 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you uploaded everything that's your problem, you should only have uploaded the content of the upload folder, nothing else.
Reply With Quote
  #5  
Old 01-21-2016, 11:26 PM
Lloyd32552 Lloyd32552 is offline
 
Join Date: Feb 2009
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I only uploaded everything in the Upload folder. I'm just guessing here, but I believe that's why they call it an Upload folder. :->

As I said in an earlier post, I've been doing this for years. I've just got a message I've never seen before and am wondering if anyone else has seen it and knows what is wrong.

This is a virgin install with the latest 4.2.3 installation files at the #1 linux hosting company and there's no reason it shouldn't work just as it has done the other 20 times I've done it.
Reply With Quote
  #6  
Old 01-21-2016, 11:32 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm so the file upgrade.php is present at /home3/lloyd32552/public_html/forum/install/upgrade.php?
Seems really weird that it's still throwing the error, the only other thing I can think of is a file permission problem, but it should generate a different error in that case.

What if you open up the install.php file and add
PHP Code:
chdir('/home3/lloyd32552/public_html/forum/install'); 
right before
PHP Code:
require_once('./upgrade.php'); 
Reply With Quote
  #7  
Old 01-21-2016, 11:54 PM
Lloyd32552 Lloyd32552 is offline
 
Join Date: Feb 2009
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dave,
That certainly got things started, but I pretty quickly got another error:
<?xml version="1.0" encoding="windows-1252"?>
<br />
<b>Fatal error</b>: Call to a member function shutdown() on a non-object in <b>/home3/lloyd32552/public_html/forum/includes/class_xml.php</b> on line <b>929</b><br />

I suspect that since the installation files don't include an install.php file, the one I'm using from 4.2.2 might not have some customizations. My only experience with 4.2.3 was upgrading 4.2.2.

I will private message you.
Thanks for your help.
Lloyd
Reply With Quote
  #8  
Old 01-21-2016, 11:56 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yea there's definitely something going wrong, bit hard to figure out for us.
Reply With Quote
  #9  
Old 01-22-2016, 12:30 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are using an install.php file from 4.2.2 for a 4.2.3 install?

Go and redownload your files from Vbulletin.com and start over. Reupload, etc.
Reply With Quote
  #10  
Old 01-22-2016, 01:30 AM
Dragonsys's Avatar
Dragonsys Dragonsys is offline
 
Join Date: Jan 2008
Location: DFW, Texas
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What version of PHP is installed?
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 07:59 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.05857 seconds
  • Memory Usage 2,253KB
  • 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
  • (2)bbcode_php
  • (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