Just installed a fresh 5.4.4 on ubuntu 18.04 with php 7.2 , Apache/2.4.29 everything seems fine, but when i go set permission on channel permission manager and save get this error. Any idea ?
An unexpected error was returned: 'Undefined class constant 'TYPE_FLOAT''
Collapse
X
-
What is the full error including file and line numbers?Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 API -
It happens in admincp. The strange is the url link, looks like a bad login (to me), so i refreshed the page, logout, login again but error is still there. Tried with firefox from where i never opened the link and it's the same. As it is not the first time i do an installation/upgrade, and 99.9% always ok ....wonder if it is php 7.2 causing the problem (mcrypt it's not installed). Apache log seems okAttached FilesLast edited by mat8861; Tue 2 Oct '18, 1:52pm.Comment
-
Please enable debug mode so we can hopefully see the complete error. Otherwise, you'll need to pull it from the error log on your server.
Debug mode is useful for development purposes- it is required if you will be creating VB5 Modifications you intend to distribute for others to download. However it is also useful for trouble-shooting issues with your site as debug mode often provides more specific error messages when something goes wrong- as such if you areTranslations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
-
ok forget about the url, was the chrome cache showing error of old admin. Here is debug mode of the error :
Exception trace:
## /var/www/html/forum/core/admincp/forumpermission.php(575) Exception Thrown
#0 /var/www/html/forum/includes/api/interface/collapsed.php(142): require_once()
#1 /var/www/html/forum/includes/vb5/frontend/controller/relay.php(33): Api_Interface_Collapsed->relay('admincp/forumpe...')
#2 /var/www/html/forum/index.php(74): vB5_Frontend_Controller_Relay->admincp('forumpermission...')
#3 {main}Comment
-
Another strange thing, tested channel permission instead from quick-permission, from the regular page and setting deny channel to a usergroup works fine.
I noted VB5 asked to set channel permission to "custom", while in quick permission there is not such option or message, could that be the cause ?Comment
-
Looking at the code, I can see potential issues but cannot recreate the issue.
What version of PHP are you using?
What are the exact steps that you are performing to create the error?Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
-
php 7.2.10-0 ubuntu 18.04.1 I go in channel management>channel permission>quick channel permission setup>select the subforum>mark unregistred user> can view channels > no > save > An unexpected error was returned: 'Undefined class constant 'TYPE_FLOAT''
Comment
-
Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
Related Topics
Collapse
-
by Gene THFHi,
Sometimes on our installation at TinyHouseForum.com when I try to log in it'll give me a systems error.
This would be a big issue for us as we've just...-
Channel: Support Issues & Questions
-
-
by voygerhi kepping getiing this error any idea
Code:Uncaught ReferenceError: $ is not defined at admin-sbpanel-style.js?v=553:11 config-site.js?v=553:11 Uncaught ReferenceError:
-
Channel: Support Issues & Questions
-
-
by BatemanHi,
I'm trying to install a new site with a fresh version 5 license. Installation went okay without any errors.
After logging in with my admin account and clicking the admincp...-
Channel: vBulletin 5 Installs & Upgrades
-
-
by naponlineAfter having failed with an upgrade to a mySQL-platform 5.7 I restarted the upgrade process of 4.2.4 to 5.5.5 - all scripts went right, but I cannot enter the admincp for restructuring the page further....
-
Channel: vBulletin 5 Installs & Upgrades
-
-
by jmgreenThe register link on my login page (I use default template) gives a 500 error. I have no idea what to do to track down what's happening. I did recently do a minor update to 5.4.1, but everything else...
-
Channel: Support Issues & Questions
-
Comment