3.3 update - update page not loading

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
garyh20
Registered User
Posts: 11
Joined: Thu May 07, 2020 9:13 pm

3.3 update - update page not loading

Post by garyh20 »

Hi,
I'm upgrading 3.0.12 to 3.3, after reading "Updating from phpBB 3.0.x or 3.1.x to 3.2.x is just the same as updating from stable releases of phpBB 3.2.x"
on https://www.phpbb.com/support/documents ... date_patch

So I've renamed my forum directory to use as a backup, backed up the database, and upgraded php to 7.3

I've recreated the forum directory (no files in), then copied all the files and folders from the 3.3 zip file, then copied back the /images /files /store and config.php from my backup.

I've went to /install/app.php which is fine, however there is no directory called update (/install/app.php/update) in my new files, or in the zip I downloaded.

I'm just wondering if I've missed something? Can anyone help please?
Last edited by garyh20 on Fri May 08, 2020 9:16 am, edited 1 time in total.
User avatar
Lumpy Burgertushie
Registered User
Posts: 69228
Joined: Mon May 02, 2005 3:11 am

Re: 3.3 update folder missing?

Post by Lumpy Burgertushie »

just go to yourdomain.com/yourphpbb/install

don't type in anything after the install. phpbb will do its thing and you may see install/whatever whatever but don't pay any attention to those.

as long as you get the page where you see the tabs for install/update etc. you are good.

click on the update database tab.
click on the submit button
click on update database only button and it should work.

robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
garyh20
Registered User
Posts: 11
Joined: Thu May 07, 2020 9:13 pm

Re: 3.3 update folder missing?

Post by garyh20 »

Thanks for the reply.

If I go to forum/install.php, the page loads and I can see update and convert tabs at the top.

When I click update, it takes me to a page that says:
"Server Error

404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable."

The URL is then:
/forum/install/app.php/update
User avatar
Lumpy Burgertushie
Registered User
Posts: 69228
Joined: Mon May 02, 2005 3:11 am

Re: 3.3 update folder missing?

Post by Lumpy Burgertushie »

I have seen that before here but I don't remember what the problem was.

there is no folder named update in phpbb. the update process creates that url internally for the update process but it is not a real url that you can access. you have no control over that.
someone should come along shortly that can explain how to solve your problem.

luck,
robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
garyh20
Registered User
Posts: 11
Joined: Thu May 07, 2020 9:13 pm

Re: 3.3 update - update page not loading

Post by garyh20 »

I'm still having this issue. It seems any update from 3.2 onwards and the update link doesn't work for me.
I'm able to switch from PHP 5.6, to 7.0/7.1/7.2/7.3 in my control panel. I have to change this to 7.1 for 3.2/3.3, however, the page not found still appears when I try to update.

I've googled and searched the forum lots, and other people are having this problem, but I'm just struggling to get to the bottom of it, and why my forum will not update.

For info, I have also tried to take an untouched 3.2 and 3.3 files, in a second folder, on a clean database, and the problem still exists. I'm therefore wondering if it's an issue with my webhost (vidahost) instead.
User avatar
janus_zonstraal
Registered User
Posts: 6591
Joined: Sat Aug 30, 2014 1:30 pm

Re: 3.3 update - update page not loading

Post by janus_zonstraal »

Did you look into the error logs from your host?
Are you sure you overwrite your htaccess file?
Sorry! My English is bat ;) !!!
garyh20
Registered User
Posts: 11
Joined: Thu May 07, 2020 9:13 pm

Re: 3.3 update - update page not loading

Post by garyh20 »

I don't have access to the logs.

Yes, I copied the .htaccess from the install files.
I've also edited the file and rewrote the following as my forum is in a directory called forum.
RewriteBase /forum/

I've started to put some comments on app.php, and can see the following. startup.php does appear in the directory (/forum/install/startup.php), but do I need to worry abou the /var/sites/s/ part?

Warning: require(/forum/install/startup.php): failed to open stream: No such file or directory in /var/sites/s/*****.co.uk/public_html/forum/install/app.php on line 44

Fatal error: require(): Failed opening required '/forum/install/startup.php' (include_path='.:/usr/local/php-5.6.37-flock/lib/php') in /var/sites/s/*****.co.uk/public_html/forum/install/app.php on line 44
User avatar
Lumpy Burgertushie
Registered User
Posts: 69228
Joined: Mon May 02, 2005 3:11 am

Re: 3.3 update - update page not loading

Post by Lumpy Burgertushie »

you should not edit anything in the phpBB htaccess file to be able to update.

those errors are telling you that you did not upload all of the files.

are you trying to upgrade using the autoupdate method? if so,
go back and start over using the correct method here:
https://www.phpbb.com/support/docs/en/3 ... /upgrade3/

robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
garyh20
Registered User
Posts: 11
Joined: Thu May 07, 2020 9:13 pm

Re: 3.3 update - update page not loading

Post by garyh20 »

I've copied in the original .htaccess and won't edit that.
Cleared out the cache and the problem exists.

I'm updating via uploading new files rather than the autoupdate. I've also tried to take a brand new 3.2 and 3.3 install, put in to a new folder, add in the config.php file, and in both cases, the update process does not start.

The file has been uploaded correctly and is in the correct folder. I can even access the file from the web browser (although it shows as a blank page rather than as a missing page).

I've upload using WINSCP, then later switched to FILEZILLA, to see if it was an FTP issue.
User avatar
janus_zonstraal
Registered User
Posts: 6591
Joined: Sat Aug 30, 2014 1:30 pm

Re: 3.3 update - update page not loading

Post by janus_zonstraal »

I've copied in the original .htaccess and won't edit that.
upload the 3.3.0 htaccess not your original.

A link to your board and host can also be helpful.
Sorry! My English is bat ;) !!!
garyh20
Registered User
Posts: 11
Joined: Thu May 07, 2020 9:13 pm

Re: 3.3 update - update page not loading

Post by garyh20 »

Sorry, by original .htaccess file, I meant the one that came bundled on the download.

In any case, I've just download the 3.3.0 files, copied them in to a new directory called forum30.
I've set PHP to version 7.3 in the control panel.
I've edited config.php with my database information, see below.

Code: Select all

<?php
// phpBB 3.3.x auto-generated configuration file
// Do not change anything in this file!
$dbms = 'phpbb\\db\\driver\\mysqli';
$dbhost = '***';
$dbport = '';
$dbname = '***';
$dbuser = '***;
$dbpasswd = '***';
$table_prefix = 'phpbb3_';
$phpbb_adm_relative_path = 'adm/';
$acm_type = 'phpbb\\cache\\driver\\file';

@define('PHPBB_INSTALLED', true);
@define('PHPBB_ENVIRONMENT', 'production');
// @define('DEBUG_CONTAINER', true);
Please see: http://www.somersetcarnivals.co.uk/forum30/install
Host is: http://www.tsohost.com
Clicking on install takes you to the 404 page.
Last edited by garyh20 on Sun May 10, 2020 12:45 pm, edited 1 time in total.
User avatar
Lumpy Burgertushie
Registered User
Posts: 69228
Joined: Mon May 02, 2005 3:11 am

Re: 3.3 update - update page not loading

Post by Lumpy Burgertushie »

did you delete the phpbb files/folders on the server before you uploaded the new ones? except for the ones the instructions tell you not to.


robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
garyh20
Registered User
Posts: 11
Joined: Thu May 07, 2020 9:13 pm

Re: 3.3 update - update page not loading

Post by garyh20 »

I took a backup of the files/folders and the database before attempting the upgrade.

In this scenerio, the folder forum30 was a brand new folder I created.

The forum30 directory doesn't contain any of the /files /images etc, as I've included them in previous tests, and I thought it'd speed up the process if I didn't include these until the upgrade was successful. The folders/files should all be the original (from phpbb.com) with the exception of config.php.
User avatar
Lumpy Burgertushie
Registered User
Posts: 69228
Joined: Mon May 02, 2005 3:11 am

Re: 3.3 update - update page not loading

Post by Lumpy Burgertushie »

no offense but I can't make any sense of how you are trying to upgrade.

I suggest you go back to the start and follow the instructions on the correct method to upgrade that I posted above.

restore your board using the backups you made and then start over.

luck,
robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
garyh20
Registered User
Posts: 11
Joined: Thu May 07, 2020 9:13 pm

Re: 3.3 update - update page not loading

Post by garyh20 »

I've read and followed the instructions many times, the same thing happens.

What is currently in place, is a new directory named forum30, and config.php is the only file that has been updated.

I've amended config.php to point to a brand new database, and also linked to my existing database. The same error appears at the start of the installation regardless.

Return to “[3.3.x] Support Forum”