PDA

View Full Version : Installation problem vb 4.2.3


Lloyd32552
01-21-2016, 03:23 PM
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

Dave
01-21-2016, 03:25 PM
The file upgrade.php is missing in the install folder. Make sure that you uploaded all the required files correctly.

Lloyd32552
01-21-2016, 08:18 PM
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

squidsk
01-21-2016, 09:04 PM
If you uploaded everything that's your problem, you should only have uploaded the content of the upload folder, nothing else.

Lloyd32552
01-21-2016, 11:26 PM
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.

Dave
01-21-2016, 11:32 PM
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
chdir('/home3/lloyd32552/public_html/forum/install');

right before
require_once('./upgrade.php');

Lloyd32552
01-21-2016, 11:54 PM
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

Dave
01-21-2016, 11:56 PM
Yea there's definitely something going wrong, bit hard to figure out for us.

RichieBoy67
01-22-2016, 12:30 AM
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.

Dragonsys
01-22-2016, 01:30 AM
What version of PHP is installed?

RichieBoy67
01-22-2016, 01:46 AM
5.4 he mentioned.

Dragonsys
01-22-2016, 03:00 AM
5.4 he mentioned.

DOH! I completely missed that.
Did you check the directory permissions? Make sure they are 755

Lloyd32552
01-22-2016, 01:39 PM
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.

That's exactly what I did and 4.2.3 does not have an install.php file. It only has an upgrade.php file. Perhaps it is only intended for an upgrade although the instructions don't mention that.

Thanks for your suggestion, though. I'll figure it out. Eventually.

Dragonsys
01-22-2016, 01:46 PM
make sure you got the entire package, not just the patch. Mine has a install.php in it.