Cant't access or update phpBB on GoDaddy-hosted site

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
User avatar
warmweer
Jr. Extension Validator
Posts: 11195
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: Cant't access or update phpBB on GoDaddy-hosted site

Post by warmweer »

wayneh wrote: Mon May 23, 2022 8:27 pm

Code: Select all

<?php
...
$table_prefix = '';
As I suspected: empty table prefix.
Take a copy of your config.php (just for backup reason)and then edit the original >>> $table_prefix = 'bb_';

Delete /installer and/production from /cache, clear browser cache and then try to access your board.

BTW, take a copy of that database (in case anything goes wrong - you'll be able to restore that database).

If you get your board back up and running that way : take a full backup and then update using files downloaded from phpBB.com (no installatron!!)
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
wayneh
Registered User
Posts: 17
Joined: Sun May 22, 2022 3:29 pm

Re: Cant't access or update phpBB on GoDaddy-hosted site

Post by wayneh »

Well that's getting closer! The user now sees the phpBB header, but unfortunately followed by
"Sorry but this board is currently unavailable."

The error log shows:

Code: Select all

Stack trace:
#0 /home/kusg6qsegg2v/public_html/forums/cache/production/container_4335734bbdd20f586549a504dff5f80c.php(1751): phpbb\cron\manager->__construct(Object(phpbb\di\service_collection), Object(phpbb\routing\helper), './', 'php')
#1 /home/kusg6qsegg2v/public_html/forums/cache/production/container_4335734bbdd20f586549a504dff5f80c.php(1617): phpbb_cache_container->getCron_ManagerService()
#2 /home/kusg6qsegg2v/public_html/forums/vendor/symfony/dependency-injection/Container.php(306): phpbb_cache_container->getController_HelperService()
#3 /home/kusg6qsegg2v/public_html/forums/includes/functions.php(3934 in /home/kusg6qsegg2v/public_html/forums/phpbb/cron/manager.php on line 70
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26456
Joined: Fri Aug 29, 2008 9:49 am

Re: Cant't access or update phpBB on GoDaddy-hosted site

Post by Mick »

That’s because you haven’t removed or renamed the /install folder
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
warmweer
Jr. Extension Validator
Posts: 11195
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: Cant't access or update phpBB on GoDaddy-hosted site

Post by warmweer »

As Mick stated: the install folder is still present.
You can temporarily rename that in order to log in (with your administrator account) to your board and check the version, as we don't know yet whether is was successfully updated (or not).
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
wayneh
Registered User
Posts: 17
Joined: Sun May 22, 2022 3:29 pm

Re: Cant't access or update phpBB on GoDaddy-hosted site

Post by wayneh »

You're right, I failed to delete that folder. I'd better grab some coffee.

But now when I do delete it, and the newly created "Production" folder as well, the user still sees the same thing.

I also neglected to include this line from the error log:

Code: Select all

[24-May-2022 15:05:46 UTC] PHP Fatal error:  Uncaught TypeError: Argument 1 passed to phpbb\cron\manager::__construct() must implement interface Symfony\Component\DependencyInjection\ContainerInterface, instance of phpbb\di\service_collection given, called in /home/kusg6qsegg2v/public_html/forums/cache/production/container_4335734bbdd20f586549a504dff5f80c.php on line 1751 and defined in /home/kusg6qsegg2v/public_html/forums/phpbb/cron/manager.php:70
That's the last line, so from the time I think there are no recent errors written there.
wayneh
Registered User
Posts: 17
Joined: Sun May 22, 2022 3:29 pm

Re: Cant't access or update phpBB on GoDaddy-hosted site

Post by wayneh »

It's BACK!

I renamed the forums/install directory to installXXX and that did it. I presume that directory can be trashed.

Thanks everybody. We all know I couldn't have done it without you.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26456
Joined: Fri Aug 29, 2008 9:49 am

Re: Cant't access or update phpBB on GoDaddy-hosted site

Post by Mick »

wayneh wrote: Tue May 24, 2022 4:16 pmI presume that directory can be trashed
Yes.

Presumably you’re going to update it now but, whatever you intend doing, you need to address the cookie settings:

The cookie domain is showing aircompare.us and it should be .aircompare.us, note the leading dot. And as you’re using https cookie secure needs to be enabled.

Knowledge Base - Fixing incorrect cookie settings
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
warmweer
Jr. Extension Validator
Posts: 11195
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: Cant't access or update phpBB on GoDaddy-hosted site

Post by warmweer »

wayneh wrote: Mon May 23, 2022 3:40 pm ...
What version of phpBB are you using? phpBB 3.3.1
What is your board's URL? www.aircompare.us/forums
Your prosilver is currently version 3.3.3. (and so is the CHANGELOG.html)
What does the ACP show as phpBB version?

In any case: the way to update = https://www.phpbb.com/support/docs/en/3.3/ug/upgradeguide/update_full/]Full Package
Check your /store first and delete install_config.php and io_lock.lock (if present) and also any migrationsxxx

Just in case: take a database backup before starting the update (that's mentioned in the documents), and before starting the update, remove those 2 host tables USERS and VISITS - those are not phpBB tables. Should it turn out that the host does require them, you could then restore those
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
wayneh
Registered User
Posts: 17
Joined: Sun May 22, 2022 3:29 pm

Re: Cant't access or update phpBB on GoDaddy-hosted site

Post by wayneh »

My cookie domain name has been changed to .aircompare.us (adding the leading period).

A full package update was completed by me following the instructions provided. Success!

My forum is now accessible to users and the version is 3.3.7.

Now I can tackle the problem that started all this – zillions of spam bot entries. I want advice of experts here on how to prevent all that going forward. But that's a different topic and I'll start a new thread for it.

Thanks again all. I'm super pumped that we were able to get back on track.
wayneh
Registered User
Posts: 17
Joined: Sun May 22, 2022 3:29 pm

Re: Cant't access or update phpBB on GoDaddy-hosted site

Post by wayneh »

Oops, one more thing. The Installatron information hasn't updated and still shows my forum as outdated at 3.3.1. Will that correct itself eventually?
User avatar
warmweer
Jr. Extension Validator
Posts: 11195
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: Cant't access or update phpBB on GoDaddy-hosted site

Post by warmweer »

wayneh wrote: Tue May 24, 2022 6:43 pm Oops, one more thing. The Installatron information hasn't updated and still shows my forum as outdated at 3.3.1. Will that correct itself eventually?
What installatron says isn't important, the version mentioned in the ACP is important.
Don't use host install features, they almost always cause problems and (as you've noticed) host support isn't up to par.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26456
Joined: Fri Aug 29, 2008 9:49 am

Re: Cant't access or update phpBB on GoDaddy-hosted site

Post by Mick »

Cookie secure is still disabled.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26456
Joined: Fri Aug 29, 2008 9:49 am

Re: Cant't access or update phpBB on GoDaddy-hosted site

Post by Mick »

wayneh wrote: Tue May 24, 2022 6:34 pmI want advice of experts here on how to prevent all that going forward. But that's a different topic and I'll start a new thread for it
You already know what to do and you’ve done it, beef up your Q&A! That isn’t that though, you need to keep an eye on your new registrations and if it seems the spam bots have cracked the Q&A you will need to revisit it. There is no one cure fits all, it’s an ongoing maintenance thing for all bulletin boards.

FWIW - With phpBB there are no threads only topics as phpBB is a flat bulletin board system.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
wayneh
Registered User
Posts: 17
Joined: Sun May 22, 2022 3:29 pm

Re: Cant't access or update phpBB on GoDaddy-hosted site

Post by wayneh »

Mick wrote: Wed May 25, 2022 6:27 am Cookie secure is still disabled.
I added the "." but failed to click on the enable button. Should be good now.
wayneh
Registered User
Posts: 17
Joined: Sun May 22, 2022 3:29 pm

Re: Cant't access or update phpBB on GoDaddy-hosted site

Post by wayneh »

Mick wrote: Wed May 25, 2022 6:38 am You already know what to do and you’ve done it, beef up your Q&A!
Yeah, I did some reading here and elsewhere and that seemed to be the consensus solution. The last time I looked at it, I think the GD thing was popular and I used that. It's obviously been beaten now. It shouldn't be offered as an option, IMHO.
Post Reply

Return to “[3.3.x] Support Forum”