Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

update error - phpmyadmin Ubuntu16

Questions related to customising nuBuilder Forte with JavaScript or PHP.
Post Reply
kknm
Posts: 366
Joined: Sat Apr 11, 2020 12:03 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

update error - phpmyadmin Ubuntu16

Unread post by kknm »

NuBuilder has worked, but phpmyadmin does not want to start - it gives an error
Warning: require(/var/www/report/nudb/vendor/composer/../symfony/polyfill-ctype/bootstrap.php): failed to open stream: Permission denied in /var/www/report/nudb/vendor/composer/autoload_real.php on line 66

Fatal error: require(): Failed opening required '/var/www/report/nudb/vendor/composer/../symfony/polyfill-ctype/bootstrap.php' (include_path='.:/usr/share/php') in /var/www/report/nudb/vendor/composer/autoload_real.php on line 66
kev1n
nuBuilder Team
Posts: 4297
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 445 times
Contact:

Re: update error - phpmyadmin Ubuntu16

Unread post by kev1n »

What's your PHP version?
kknm
Posts: 366
Joined: Sat Apr 11, 2020 12:03 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: update error - phpmyadmin Ubuntu16

Unread post by kknm »

kev1n wrote:What's your PHP version?
7.4.6
kev1n
nuBuilder Team
Posts: 4297
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 445 times
Contact:

Re: update error - phpmyadmin Ubuntu16

Unread post by kev1n »

Permission denied means that your autoload_real.php file does not has the read/write permissions.

From stackoverflow:
Solved it. This was actually an issue with site-wide permissions. They were set to 770 instead of 775. I suspect that I can and should restrict them more. For now, I'm just happy to have it loading again.

Moral of the story is to check your permissions site-wide, not necessarily just on the file which gives you the fatal error. You may continue to get the same fatal error, despite permissions being wide-open on the mentioned file. If so, look for permissions issues elsewhere
kknm
Posts: 366
Joined: Sat Apr 11, 2020 12:03 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: update error - phpmyadmin Ubuntu16

Unread post by kknm »

kev1n wrote:Permission denied means that your autoload_real.php file does not has the read/write permissions.

From stackoverflow:
Solved it. This was actually an issue with site-wide permissions. They were set to 770 instead of 775. I suspect that I can and should restrict them more. For now, I'm just happy to have it loading again.

Moral of the story is to check your permissions site-wide, not necessarily just on the file which gives you the fatal error. You may continue to get the same fatal error, despite permissions being wide-open on the mentioned file. If so, look for permissions issues elsewhere
Old phpmyAdmin worked well! And localhost / phmyadmin (v.4.6) also works. The rights for the site are 775, they have not changed.
kev1n
nuBuilder Team
Posts: 4297
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 445 times
Contact:

Re: update error - phpmyadmin Ubuntu16

Unread post by kev1n »

Then just use the old phpMyAdmin by restoring the nudb subfolder.
kknm
Posts: 366
Joined: Sat Apr 11, 2020 12:03 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: update error - phpmyadmin Ubuntu16

Unread post by kknm »

kev1n wrote:Then just use the old phpMyAdmin by restoring the nudb subfolder.
Everything is OK!
After the update, it was necessary to reassign the rights to the site.
Post Reply