Closed FilterUnfiltered closed 5 years ago
using xamp php version 7.0.30 and got error Fatal error: Cannot declare class Error, because the name is already in use in C:\xampp\htdocs\PHP\private\controllers\error.php on line 21
Did y'all try url.com/path/login -> ' login '
if i try url.com/path/login and root root get this Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) in C:\xampp\htdocs\PHP\vendor\model.php:10 Stack trace: #0
there is no fucking login page only in the views folder in private, and it's fucking blank
all the files are blank when you go to them, which one do I go to!?
my error list 1). captcha dont showing 2). Fatal error: Cannot declare class Error, because the name is already in use in C:\xampp\htdocs\PHP\private\controllers\error.php on line 21 3).Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) 4). new user? create new account DONT WORKS Click = Freez
I change using my url panel in gate.h but I reciver eror try build biner. Can help me?
OMFG MAKE YOUR OWN ISSUES DONT STEAL MY POST FUCKING FAGGOTS
you will have the same problem so it's better to solve it all in the same place.
NO I HAVE A DIFFERENT PROBLEM GET THE FUCK OUT OF MY POST SO HE CAN HELP ME, MAKE YOUR OWN FUCKING POST
High possibility there is an issue with your configuration can you please paste down your config ? Here
<?php
return [
'base_url' => 'http://localhost/PHP/', // Base URL including trailing slash (e.g. http://localhost/)
'default_controller' => 'main', // Default controller to load
'encoding' => 'utf-8',
'error_controller' => 'error', // Controller used for errors (e.g. 404, 500 etc)
'error_type' => [
//default 404
'403' => 'error403',
'404' => 'error404',
],
'db' => [
'username' => 'root',
'password' => 'lolzmemez',
'host' => 'localhost',
'dbname' => 'test2'
],
//screenshot settings
'screenshots'=>[
'enabled' => 'true',
'external_address' => 'hidden', // 'domain_goes_here', localhost for local testing only
'port' => '80',
],
//capcha settings
'capcha' => [
'random_color' => 'true',
'char_pool' => '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ',
'angle' => ['-30', '30'],
'fonts' =>['Roboto-Medium.ttf', 'Roboto-Italic.ttf'],
'font_size' => ['10.0', '11.0'],
],
//key for logs encryption
'key' => 'root',
//this can be turned off,
'display_login_error' => 'true',
// Include assets config
'assets' => 'assets.php',
];
that's not the problem though, my problem is that the wiki which explains the setup has totally different panel files than the uBoat panel that's on github!! Where the fuck do I go after copying the contents of rest.php!?
Okay first it should be ' test.php ' just copy and paste the generated hash in your SQL table containing user credentials to login
I already did that, I just misspelled test.php here... NONE OF THE OTHER FILES SHOWCASED IN THE WIKI EXIST, AND THE FILES THAT DO EXIST DON'T WORK... omfg I'm starting to think you didn't make this if you don't understand a simple fucking problem
@TheBrokenWasp @eterna2000
Please kindly look at this ? -> https://streamable.com/rgx73
Are you serious? You still won't fucking listen, I don't get an error, I get a blank screen, and here's what i get when I go to PHP/login:
learn to fucking read other people's problems and not assume, omfg, MY PROBLEM is that YOU have different files for the panel THAN EVERYBODY ELSE, and therefore, THW WIKI IS FUCKING USELESS, please do me a favor and go to the panel files on github and compare them to the ones you have, THEN TRY TO FIX MY PROBLEM asswipe
ok so I just calmed down and looked at your video, you seem to have the same files, but how the fuck do you go to login, I get that it wasn't found... I'm so confused
for me now control panel works 100% when i use test.php
@TheBrokenWasp calm down for a min let's sort it out with cool brain
I got your point already so no need to get heated on that
ok sorry
I'm on CentOS and I just realised I'm on php 7.2.9... I'm trying to downgrade to php 7.0
Cool i am here for like 4-5 hours now so no need to sweat lemme know if the problem persists
Are you sure that you have setup the database correctly ?
Does visiting localhost/PHP/ also throws a 404 ?
I' not hosting localhost I'm using a VPS but no, just a blank screen
Try changing the localhost to your server ip for a min can you in the config file ? and let me know ? @Tuhinshubhra will be taking a look further on it
still the same thing
Hmm reproducing it on a VPS
make sure it's CentOS not windows
I have a Ubuntu server won't make much difference
ok...
I just went to a random PHP file, PHP/private/views/login.php and I got this error: Uncaught ReferenceError: $ is not defined at login.php:4 in the console...
Reproduced indeed this is a bug
Downgrade to php5 and lemme know if the problem exists
PHP 5? seriously? no even the wiki says php 7.0 I JUST went through a downgrade, and let me tell you, it's not easy on CentOS... fucking yum....
I will be doing that right away
-_-
did you seriously say "minor" pane issues in the TODO? xD
Stick to winblows for now until we either fix the "MINOR" bug or frame it as a feature...
@TheBrokenWasp you are welcome to contribute
you fix it yet?
when is this going to be fixed?
@Souhardya please help me contact me on discord or skype relyks#0551 skype= relyks
hey skylerbeyette
get the fuck out of my post and make your own ffs
Hey TheBrokenWasp eat a dick you shit Stain
@Souhardya and @Tuhinshubhra how's the fix coming along?
@Souhardya and @Tuhinshubhra how's the fix coming along?
calm your titties down people is CODING not copy/pasting like you btw im on debian and the error didnt got reproduced i installed with 7.0 and downgraded to 5.2 seems to work for me anyway ill need to check better
Hey there i am so sorry guys we will be catching along have my exams goin on
okay i replicated the issue it kinda only happens on linux servers im getting exactly the same issue
PHP Warning: require(/var/www/html/private/helpers/authverify.php): failed to open stream: No such file or directory in /var/www/html/vendor/controller.php on line 66
this is line 66
require(APP_DIR .'helpers/'. strtolower($name) .'.php');
and this is how my public_html directory looks
How the fuck do you set this up the wiki has different files 👎