Upgrading to 3.3.1 problem with EXT location

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
Vinylwiz
Registered User
Posts: 25
Joined: Sat Mar 21, 2020 2:51 pm

Upgrading to 3.3.1 problem with EXT location

Post by Vinylwiz »

Hello all,
Yesterday I did the upgrade to 3.3.1 and was careful at first to not over write the EXT directory, however when I had an issue I stupidly copied the New EXT directory up to my server an of course blew away my extension's. Now I get this message when I try to access the EXT tab. The files are located exactly as shown in this message. Is there is anything I can do to correct this problem?
Thanks all!

General Error
Cannot find module ./../includes/acp/\phpbb\boardannouncements\acp\board_announcements_module.php

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/includes/functions_module.php
LINE: 573
CALL: trigger_error()

FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()
User avatar
Crizzo
Translations & International Support Teams Manager
Translations & International Support Teams Manager
Posts: 1289
Joined: Thu Apr 23, 2009 1:20 pm
Location: Germany
Name: Christian
Contact:

Re: Upgrading to 3.3.1 problem with EXT location

Post by Crizzo »

Hi,

reuploaded your extension to ext/ from your backup.

if you have no backup, then download a fresh copy of the extensions and upload them instead. Deactivate and active them afterwards.
My extensions for phpBB: crizzo.de
German phpBB Support at www.phpbb.de
Vinylwiz
Registered User
Posts: 25
Joined: Sat Mar 21, 2020 2:51 pm

Re: Upgrading to 3.3.1 problem with EXT location

Post by Vinylwiz »

Thanks! I will give that a shot!!
Vinylwiz
Registered User
Posts: 25
Joined: Sat Mar 21, 2020 2:51 pm

Re: Upgrading to 3.3.1 problem with EXT location

Post by Vinylwiz »

Well that does not seem to work, additionally under my extensions manager, I get this. a few of the extensions are listed but I can no longer control their configurations. I van disable/enable them though.


EXTENSION NAME CURRENT VERSION OPTIONS ACTIONS
Enabled Extensions
Copyright in footer 1.0.2 Details Disable
mChat 2.1.3 Details Disable

Disabled Extensions
The “phpbb/boardannouncements” extension is not valid.
The requested file could not be found: ./../ext/phpbb/boardannouncements/composer.json

The “phpbb/boardrules” extension is not valid.
The requested file could not be found: ./../ext/phpbb/boardrules/composer.json


Breizh Ajax Preview 1.1.0 Details Enable | Delete data
VigLink 1.0.5 Details Enable | Delete data
User avatar
warmweer
Jr. Extension Validator
Posts: 5507
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: Upgrading to 3.3.1 problem with EXT location

Post by warmweer »

Vinylwiz wrote:
Tue Sep 29, 2020 1:27 am
Disabled Extensions
The “phpbb/boardannouncements” extension is not valid.
The requested file could not be found: ./../ext/phpbb/boardannouncements/composer.json

The “phpbb/boardrules” extension is not valid.
The requested file could not be found: ./../ext/phpbb/boardrules/composer.json
Are the extensions uploaded to the correct location?
If yes: try purging cache
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.
Vinylwiz
Registered User
Posts: 25
Joined: Sat Mar 21, 2020 2:51 pm

Re: Upgrading to 3.3.1 problem with EXT location

Post by Vinylwiz »

Yes they are in this exact location as you see its saying they are not. That's what is confusing.
I do flush the cache every time i make a change.
Is it possible to run the 3.3.1 upgrade install file a second time?
User avatar
warmweer
Jr. Extension Validator
Posts: 5507
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: Upgrading to 3.3.1 problem with EXT location

Post by warmweer »

Vinylwiz wrote:
Tue Sep 29, 2020 1:57 pm
Yes they are in this exact location as you see its saying they are not. That's what is confusing.
The error messages state that the necessary files cannot be found at the required location.
Can you disprove this with a printscreen of the location to which you uploaded the extensions, specifically the full path of the missing files mentioned.
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.
Vinylwiz
Registered User
Posts: 25
Joined: Sat Mar 21, 2020 2:51 pm

Re: Upgrading to 3.3.1 problem with EXT location

Post by Vinylwiz »

This is from my FTP client.
Note that the 2 bottom extensions are working and show in the extension management page.
Attachments
Capture1.JPG
User avatar
Crizzo
Translations & International Support Teams Manager
Translations & International Support Teams Manager
Posts: 1289
Joined: Thu Apr 23, 2009 1:20 pm
Location: Germany
Name: Christian
Contact:

Re: Upgrading to 3.3.1 problem with EXT location

Post by Crizzo »

Hi,

okay, there is the problem.

Only phpBB-official extension belong in ext/phpbb.

Looks like that than: ext/phpbb/boardannouncements/

Others ext/<author>/<extname>/

E.g. ext/alex75/.../
My extensions for phpBB: crizzo.de
German phpBB Support at www.phpbb.de
User avatar
warmweer
Jr. Extension Validator
Posts: 5507
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: Upgrading to 3.3.1 problem with EXT location

Post by warmweer »

Vinylwiz wrote:
Tue Sep 29, 2020 6:24 pm
This is from my FTP client.
Note that the 2 bottom extensions are working and show in the extension management page.
I don't know what FTP you're using but the layout is unknown to me and not entirely clear
it looks as though the 5 directories listed are all inside phpBB3/ext/phpbb/

extensions should be uploaded to the ext/ in the root (which is probably /phpBB3)
viglink should be in ext/phpbb/,
as should boardrules/

but /dmxz and /alex75 and /ajaxpreview should be directly in /ext and not in ext/phpbb
Check the ext/ directory to see what is missing.
I suspect dmxz and viglink are correct (and the doubles should be removed) but the others are misplaced

added: Crizzo was faster (because he types less ;-))

BTW There's no view of /boardannouncements > so I suspect you put that directly in ext/ instead of in ext/phpbb/
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.
User avatar
Crizzo
Translations & International Support Teams Manager
Translations & International Support Teams Manager
Posts: 1289
Joined: Thu Apr 23, 2009 1:20 pm
Location: Germany
Name: Christian
Contact:

Re: Upgrading to 3.3.1 problem with EXT location

Post by Crizzo »

warmweer wrote:
Tue Sep 29, 2020 7:08 pm
BTW There's no view of /boardannouncements > so I suspect you put that directly in ext/ instead of in ext/phpbb/
Big no!

See the repository: https://github.com/phpbb-extensions/boardannouncements and in there is the composer.json: https://github.com/phpbb-extensions/boa ... er.json#L2

In the line "name":

Code: Select all

"name": "phpbb/boardannouncements",
And there you see always how the structure needs to be within ext/

So that you get: ext/phpbb/boardannouncements/composer.json. This is for all extensions the same structure, if you are in doubt check the composer.json and you'll know.

Edit: I think you meant the same, misred it. :oops:
My extensions for phpBB: crizzo.de
German phpBB Support at www.phpbb.de
User avatar
warmweer
Jr. Extension Validator
Posts: 5507
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: Upgrading to 3.3.1 problem with EXT location

Post by warmweer »

Crizzo wrote:
Tue Sep 29, 2020 7:40 pm
Edit: I think you meant the same, misred it. :oops:
haha, can happen but I made you type a long message :p
Anyway: your extra info should now make it clear that composer.json will contain the correct structure.
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.
Vinylwiz
Registered User
Posts: 25
Joined: Sat Mar 21, 2020 2:51 pm

Re: Upgrading to 3.3.1 problem with EXT location

Post by Vinylwiz »

I really do appreciate all the suggestions here and I have followed each exactly with still no change.
I think what may have happened is I overwrote the EXT directory and my backup directory when I did the install, it was early morning hours and I was dumb enough to try the upgrade. This Covid19 lockdown was driving me nuts, so that being said, here is the real question:
Can I do the upgrade again and run the install a second time. This may correct any problems I am thinking.
What do you guys think?

Thanks!
User avatar
janus_zonstraal
Registered User
Posts: 4851
Joined: Sat Aug 30, 2014 1:30 pm

Re: Upgrading to 3.3.1 problem with EXT location

Post by janus_zonstraal »

Can I do the upgrade again and run the install a second time. This may correct any problems I am thinking.
What do you guys think?
Your problem is with the ext not with the update.
Upload the extensions back from your backup you made (I hope)
Sorry! My English is bat ;) !!!
Vinylwiz
Registered User
Posts: 25
Joined: Sat Mar 21, 2020 2:51 pm

Re: Upgrading to 3.3.1 problem with EXT location

Post by Vinylwiz »

The backup was lost unfortunately. Any new Extensions will not show up for enabling, prior to the upgrade all of the extensions did show up. Now there are the 2 extension messages that I can not get rid of because the board wont recognize any new extensions. That's the problem and I think something besides me got corrupted! LOL.
Post Reply

Return to “[3.3.x] Support Forum”