• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.1 upgrading

FreshFroot

Well-known member
#3
nope going to the admin area just asks me to go to the install directory...

I might re-upload files again just in case something went wrong.. but this is odd...
 

Jake Bunce

XenForo moderator
Staff member
#4
Sounds like it might be a file problem. The install/index.php file should contain this:

Code:
<?php

$startTime = microtime(true);
$fileDir = dirname(__FILE__);
$rootPath = realpath($fileDir . '/..');
chdir($rootPath);

require($rootPath . '/library/XenForo/Autoloader.php');
XenForo_Autoloader::getInstance()->setupAutoloader($rootPath . '/library');

XenForo_Application::initialize($rootPath . '/library', $rootPath, false);
XenForo_Application::set('page_start_time', $startTime);

XenForo_Phrase::setPhrases(require($fileDir . '/language_en.php'));
XenForo_Template_Install::setFilePath($fileDir . '/templates');

$fc = new XenForo_FrontController(new XenForo_Dependencies_Install());
$fc->run();
If it's different then the file didn't upload correctly.
 

FreshFroot

Well-known member
#5
seems like the same file and I just reuploaded everything again too.. still the same problem.

<?php

$startTime = microtime(true);
$fileDir = dirname(__FILE__);
$rootPath = realpath($fileDir . '/..');
chdir($rootPath);

require($rootPath . '/library/XenForo/Autoloader.php');
XenForo_Autoloader::getInstance()->setupAutoloader($rootPath . '/library');

XenForo_Application::initialize($rootPath . '/library', $rootPath, false);
XenForo_Application::set('page_start_time', $startTime);

XenForo_Phrase::setPhrases(require($fileDir . '/language_en.php'));
XenForo_Template_Install::setFilePath($fileDir . '/templates');

$fc = new XenForo_FrontController(new XenForo_Dependencies_Install());
$fc->run();
 

FreshFroot

Well-known member
#7
Maybe .htaccess? Try temporarily removing or renaming any .htaccess files in your web directories.
no luck with the htaccess it just doesnt load the install area.

Let me double check here.

I normally never have had troubles with ugporades for vB before lol.

I basically had XF 1.0.0 installed and was upgrading to 1.1.2 (latest).

What I did was download the FULL package not the upgrade one and re-uploaded all the files.

I was already logged into the admin panel, while I was re-uploading the files. I went to the install directory and it shows me the message, but no info on admin login details require.
 

FreshFroot

Well-known member
#9
I can take a look if you are comfortable giving me FTP and admin access.

Thanks, luckily I got it working now.

Very odd, but when I uploaded a folder at a time it must have properly overwritten files. And, now it seems to be working and upgrading like it should.

Thanks for your guys help.

Appreciate it!