ACP links and admin premissions missing

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Exabot
Translator
Posts: 153
Joined: Sun Jan 18, 2015 8:21 pm
Location: Estonia

ACP links and admin premissions missing

Post by Exabot » Thu Jan 10, 2019 7:39 am

phpBB version: 3.2.5
PHP version: 7.2.10
Styles: Prosilver, Prosilver_se, Platinum, Lucid Lime, Pycode

Installed extension Pages https://www.phpbb.com/customise/db/extension/pages/
I added a new page xxxx and back to the home page (ACP to boeard index.php) got lost header ACP link and footer administrator panel link.
When you go directly through the ACP link www.mydomen.eu/forum/adm/index.php Says I have no administration rights for this forum.

Server logs

Code: Select all

[09-Jan-2019 17:11:34 Europe] PHP Fatal error: Uncaught Twig_Error_Loader: There are no registered paths for namespace "phpbb_pages" in "overall_header.html" at line 68. in /data01/virt55555/domeenid/www.mydomen.eu/forum/vendor/twig/twig/lib/Twig/Loader/Filesystem.php:195

Stack trace:
#0 /data01/virt55555/domeenid/www.mydomen.eu/forum/phpbb/template/twig/loader.php(135): Twig_Loader_Filesystem->findTemplate('@phpbb_pages/ev...')
#1 /data01/virt55555/domeenid/www.mydomen.eu/forum/vendor/twig/twig/lib/Twig/Loader/Filesystem.php(150): phpbb\template\twig\loader->findTemplate('@phpbb_pages/ev...')
#2 /data01/virt55555/domeenid/www.mydomen.eu/forum/vendor/twig/twig/lib/Twig/Environment.php(330): Twig_Loader_Filesystem->getCacheKey('@phpbb_pages/ev...')
#3 /data01/virt55555/domeenid/www.mydomen.eu/forum/vendor/twig/twig/lib/Twig/Environment.php(424): Twig_Environment->getTemplateClass('@phpbb_pages/ev...')
#4 /data01/virt55555/domeenid/www.mydomen.eu/forum/phpbb/template/twig/environment.php(292): Twig_Environment->loadTemplate('@phpbb_pages/ev...', NULL) in /data01/virt55555/domeenid/www.mydomen.eu/foorum/vendor/twig/twig/lib/Twig/Loader/Filesystem.php on line 195
[09-Jan-2019 17:11:34 Europe] PHP Fatal error: Uncaught Twig_Error_Loader: There are no registered paths for namespace "phpbb_pages" in "overall_header.html" at line 74. in /data01/virt55555/domeenid/www.mydomen.eu/forum/vendor/twig/twig/lib/Twig/Loader/Filesystem.php:209
I generated a new user the database Admin1, but there are no ACP links for this user and ACP white page.
In phpMyAdmin, run the following, which will create an admin user named Admin1 with a password of admin. From that point you should be able to get into the ACP.

Code: Select all

INSERT INTO phpbb_users (user_type, group_id, username, username_clean, user_regdate, user_password, user_email, user_lang, user_style, user_rank, user_colour, user_posts, user_permissions, user_ip, user_birthday, user_lastpage, user_last_confirm_key, user_post_sortby_type, user_post_sortby_dir, user_topic_sortby_type, user_topic_sortby_dir, user_avatar, user_sig, user_sig_bbcode_uid, user_jabber, user_actkey, user_newpasswd) VALUES (3, 5, 'Admin1', 'admin1', 0, '21232f297a57a5a743894a0e4a801fc3', 'admin@example.com', 'en', 1, 1, 'AA0000', 1, '', '', '', '', '', 't', 'a', 't', 'd', '', '', '', '', '', '');
Change your table prefix if it is not phpbb_

See Executing SQL Queries in phpMyAdmin if you are unfamiliar with running database queries.

As soon as you have done this, use the temporary admin account to change the details on the original admin account, then delete the temporary account.
This is because:
  1. anyone could use that account to log in to your board if you didn’t change the password.
  2. this temporary user has not been fully set up (e.g. it is not a member of the “Registered users” group, so it won’t have normal access to your forums).
To remove the account you will first need to remove “founder” status from it: ACP > USERS AND GROUPS tab > Manage Users > Admin1 > Overview > Founder = No
What could cause this problem? Could this tutorial help me?
https://www.phpbb.de/community/viewtopi ... 7&start=10

User avatar
GanstaZ
Registered User
Posts: 804
Joined: Wed Oct 11, 2017 10:29 pm
Location: Zverse

Re: ACP links and admin premissions missing

Post by GanstaZ » Thu Jan 10, 2019 8:18 am

What is your default style and is it supported by that extension?
"When answer lies in the question,.. question becomes redundant!"

Exabot
Translator
Posts: 153
Joined: Sun Jan 18, 2015 8:21 pm
Location: Estonia

Re: ACP links and admin premissions missing

Post by Exabot » Thu Jan 10, 2019 9:08 am

GanstaZ wrote:
Thu Jan 10, 2019 8:18 am
What is your default style and is it supported by that extension?
Default style is Platinum.
Previously two pages were made with this extension, then everything worked.

User avatar
Mick
Support Team Member
Support Team Member
Posts: 21148
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket - definitely

Re: ACP links and admin premissions missing

Post by Mick » Thu Jan 10, 2019 9:40 am

What happens if you reverse whatever it is you've done? Have you tried with that extension disabled with prosilver as the style? Also, you should ask in the support area for the extension here

You can't get in to the ACP 'directly', you have to use the link provided.
"The more connected we get the more alone we become" - Kyle Broflovski

Exabot
Translator
Posts: 153
Joined: Sun Jan 18, 2015 8:21 pm
Location: Estonia

Re: ACP links and admin premissions missing

Post by Exabot » Thu Jan 10, 2019 1:23 pm

Mick wrote:
Thu Jan 10, 2019 9:40 am
What happens if you reverse whatever it is you've done? Have you tried with that extension disabled with prosilver as the style? Also, you should ask in the support area for the extension here

You can't get in to the ACP 'directly', you have to use the link provided.
Previously worked with all styles over a year. I disabled from the database Page extension and deleted it, but ACP links did not return.
What to think about this error/logs?

User avatar
Mick
Support Team Member
Support Team Member
Posts: 21148
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket - definitely

Re: ACP links and admin premissions missing

Post by Mick » Thu Jan 10, 2019 1:29 pm

I had a search and the only one I can find close to your issue is viewtopic.php?t=2430386
"The more connected we get the more alone we become" - Kyle Broflovski

Exabot
Translator
Posts: 153
Joined: Sun Jan 18, 2015 8:21 pm
Location: Estonia

Re: ACP links and admin premissions missing

Post by Exabot » Thu Jan 10, 2019 8:29 pm

I'm trying to change the default style to prosilver

Code: Select all

UPDATE phpbb_config SET config_value = 1 WHERE config_name = 'default_style';
Database config_value = 1 and config_name = default_style but the forum style is still platinum. Cache clear. :roll:

User avatar
warmweer
Registered User
Posts: 2160
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: ACP links and admin premissions missing

Post by warmweer » Thu Jan 10, 2019 8:40 pm

Exabot wrote:
Thu Jan 10, 2019 8:29 pm
I'm trying to change the default style to prosilver

Code: Select all

UPDATE phpbb_config SET config_value = 1 WHERE config_name = 'default_style';
Database config_value = 1 and config_name = default_style but the forum style is still platinum. Cache clear. :roll:
Does prosilver have style_id = 1?
I've seen boards where prosilver has style_id = 2, usually boards existing since phphBB 2 or 3.0. I've also seen boards where prosilver had been removed. if it is re-added later (updating can do that automatically), the style_id for prosilver will be the autoincrement value.
My board's not broken, it just went peculiar

Exabot
Translator
Posts: 153
Joined: Sun Jan 18, 2015 8:21 pm
Location: Estonia

Re: ACP links and admin premissions missing

Post by Exabot » Thu Jan 10, 2019 8:53 pm

Yes default style is 2. But ACP links still missing. :cry:

Edit: Log off and default style is platinum.

User avatar
warmweer
Registered User
Posts: 2160
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: ACP links and admin premissions missing

Post by warmweer » Thu Jan 10, 2019 9:03 pm

Exabot wrote:
Thu Jan 10, 2019 8:53 pm
Yes default style is 2. But ACP links still missing. :cry:

Edit: Log off and default style is platinum.
What is prosilver's style id then? Is Style_active = 1 for prosilver?
My board's not broken, it just went peculiar

Exabot
Translator
Posts: 153
Joined: Sun Jan 18, 2015 8:21 pm
Location: Estonia

Re: ACP links and admin premissions missing

Post by Exabot » Thu Jan 10, 2019 9:10 pm

Now...

Code: Select all

[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 481: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: a_
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4564: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3314)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4564: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3314)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4564: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3314)

Exabot
Translator
Posts: 153
Joined: Sun Jan 18, 2015 8:21 pm
Location: Estonia

Re: ACP links and admin premissions missing

Post by Exabot » Thu Jan 10, 2019 9:31 pm

warmweer wrote:
Thu Jan 10, 2019 9:03 pm
Exabot wrote:
Thu Jan 10, 2019 8:53 pm
Yes default style is 2. But ACP links still missing. :cry:

Edit: Log off and default style is platinum.
What is prosilver's style id then? Is Style_active = 1 for prosilver?
Default style now prosilver.

Exabot
Translator
Posts: 153
Joined: Sun Jan 18, 2015 8:21 pm
Location: Estonia

Re: ACP links and admin premissions missing

Post by Exabot » Fri Jan 11, 2019 6:28 am

I tried this way https://www.phpbb.com/support/docs/en/3 ... /upgrade3/ forum files are now new.
The default style of the forum is still to read platinum (no files to server)... and user control panel displays all old styles.. Cache clear.
The problem seems to be in the database, but where...

Exabot
Translator
Posts: 153
Joined: Sun Jan 18, 2015 8:21 pm
Location: Estonia

Re: ACP links and admin premissions missing

Post by Exabot » Fri Jan 11, 2019 7:00 am

Where are the style tables in mysql databases?

Edit: phpbb_styles

Exabot
Translator
Posts: 153
Joined: Sun Jan 18, 2015 8:21 pm
Location: Estonia

Re: ACP links and admin premissions missing

Post by Exabot » Fri Jan 11, 2019 7:47 am

I removed old styles from the database, but ACP still does not display...

Post Reply

Return to “[3.2.x] Support Forum”