Comments (4)
I have confirmed this as being an issue with the data being stored in the database. For whatever reason his root_admin
key was set to 1
but was being returned as a string and not an integer. This caused the code in this file to break because of the strict check !==
.
from panel.
Tested on my development and live development systems and didn't have it output as a string. A possible workaround for this might be to modify the model for this (and probably all the others) and add a $casts
array to it so that Laravel always returns the data as an integer.
from panel.
Tactical Fish helped me to resolve the problem and the problem was the double "="
from panel.
user information
uname -a :
Linux vps239092.ovh.net 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u1 (2015-12-14) x86_64 GNU/Linux
php -v:
PHP 5.6.17-0+deb8u1 (cli) (built: Jan 13 2016 09:10:12)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
php -m
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dba
dom
ereg
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
json
libxml
mbstring
mcrypt
mhash
mysql
mysqli
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
Zend OPcache
zip
zlib
[Zend Modules]
Zend OPcache```
from panel.
Related Issues (20)
- Alternative to the `alternative` match expression for Regular Expressions HOT 2
- Download backup url from api not working HOT 4
- Console not rendering properly, can only see unreadable rainbow colour chatacters HOT 4
- Ban on discord HOT 5
- Get data from wings agent through the panel HOT 11
- Use location.origin to set the remote parameter in config HOT 9
- Don't display the port of a server if the allocation alias is set. HOT 7
- Can't change default language HOT 1
- Error: Command failed: php senja.php /bin/sh: 1: php: not found HOT 3
- other server path to backup
- Querying endpoint including eggs sometimes throws json exception HOT 3
- Hide "Launch SFTP" button on Firefox and Firefox-based browsers. HOT 5
- PostgreSQL not present in releases HOT 1
- Bot Panel HOT 1
- More wings HOT 1
- Stuck on server installation HOT 3
- Nix setup is broken HOT 3
- Reorganize servers HOT 2
- Feature Request - Terminal Output Trigger for Scheduled Tasks
- panel returns a connecting error even though it has obtained node information HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from panel.