mybb / mybb2

The repository for the MyBB 2 forum software. Not to be used on live boards.
https://www.mybb.com
BSD 3-Clause "New" or "Revised" License
109 stars 45 forks source link

[ErrorException] Declaration of MyBB\Auth\AuthManager::callCustomCreator() should be compatible with Illuminate\Auth\AuthManager::callCustomCreator #182

Closed chope1 closed 8 years ago

chope1 commented 8 years ago

This issue is not solved yet? [ErrorException] Declaration of MyBB\Auth\AuthManager::callCustomCreator() should be compati ble with Illuminate\Auth\AuthManager::callCustomCreator($name, array $confi g)

euantorano commented 8 years ago

It will be fixed this weekend, I'm working on it. The issue is in the Auth library, not the core.

ATofighi commented 8 years ago

https://github.com/mybb/Auth/issues/5

chope1 commented 8 years ago

Thanks @euantorano and @ATofighi It was successfully published, however, there are some errors in login as the admin with Username - admin Password - passoword. After clicking login, it will load and return to homepage without being authenticated, Registration is trowing error in database. In trying to post as a guest I will be redirected to error page. Thanks.

euantorano commented 8 years ago

Yeah, I noticed these and am still working to fix them. I'm not currently sure what's wrong, but I'll get it working this week. There are a few places throwing errors due to framework changes.

On 15 Feb 2016, at 13:08, chope1 notifications@github.com wrote:

Thanks @euantorano and @ATofighi It was successfully published, however, there are some errors in login as the admin with Username - admin Password - passoword. After clicking login, it will load and return to homepage without being authenticated, Registration is trowing error in database. In trying to post as a guest I will be redirected to error page. Thanks.

— Reply to this email directly or view it on GitHub.

euantorano commented 8 years ago

I also need to get permission checks rewritten this week/weekend too.

chope1 commented 8 years ago

ok. Thanks. The forum looks exciting, can't wait for the release. Modern and quality!

euantorano commented 8 years ago

Ok, logins ar enow fixed. The problem was none of the routes were using the web middleware. That's one problem down, 100s to go :wink:

chope1 commented 8 years ago

I can't reinstall it, getting this error - [ErrorException] php_strip_whitespace(C:...): failed to open stream: Permission denied

Script php artisan optimize handling the post-install-cmd event returned with an error

[RuntimeException] Error Output:

euantorano commented 8 years ago

Looks like a permissions error on your system. You're running Windows, right? Can you run

php artisan optimize --verbose

On 26 Feb 2016, at 17:41, chope1 notifications@github.com wrote:

I can't reinstall it, getting this error - [ErrorException] php_strip_whitespace(C:...): failed to open stream: Permission denied

Script php artisan optimize handling the post-install-cmd event returned with an error

[RuntimeException] Error Output:

— Reply to this email directly or view it on GitHub.

chope1 commented 8 years ago

Yes, I am running it on Windows using Xampp server, I rand the code you provided (php artisan optimize --verbose). and got this output ` [ErrorException] php_strip_whitespace(C:\xampp\htdocs\askng): failed to open stream: Permiss ion denied

Exception trace: () at C:\xampp\htdocs\askng\vendor\classpreloader\classpreloader\src\ClassPreloader.php:124 Illuminate\Foundation\Bootstrap\HandleExceptions->handleError() at n/a:n/a php_strip_whitespace() at C:\xampp\htdocs\askng\vendor\classpreloader\classpreloader\src\ClassPreloader.php:124 ClassPreloader\ClassPreloader->getCode() at C:\xampp\htdocs\askng\vendor\laravel\framework\src\Illuminate\Foundation\Console\OptimizeCommand.php:83 Illuminate\Foundation\Console\OptimizeCommand->compileClasses() at C:\xampp\htdocs\askng\vendor\laravel\framework\src\Illuminate\Foundation\Console\OptimizeCommand.php:64 Illuminate\Foundation\Console\OptimizeCommand->fire() at n/a:n/a call_user_func_array() at C:\xampp\htdocs\askng\bootstrap\cache\compiled.php:1232 Illuminate\Container\Container->call() at C:\xampp\htdocs\askng\vendor\laravel\framework\src\Illuminate\Console\Command.php:169 Illuminate\Console\Command->execute() at C:\xampp\htdocs\askng\vendor\symfony\console\Command\Command.php:259 Symfony\Component\Console\Command\Command->run() at C:\xampp\htdocs\askng\vendor\laravel\framework\src\Illuminate\Console\Command.php:155 Illuminate\Console\Command->run() at C:\xampp\htdocs\askng\vendor\symfony\console\Application.php:844 Symfony\Component\Console\Application->doRunCommand() at C:\xampp\htdocs\askng\vendor\symfony\console\Application.php:192 Symfony\Component\Console\Application->doRun() at C:\xampp\htdocs\askng\vendor\symfony\console\Application.php:123 Symfony\Component\Console\Application->run() at C:\xampp\htdocs\askng\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php:107 Illuminate\Foundation\Console\Kernel->handle() at C:\xampp\htdocs\askng\artisan:36 ` I really don't understand the issue with Permission on Windows, I installed many Laravel and many other Laravel packages in my Windows without any permission error. Maybe I should try it on my Linux to see how it works. Thanks.

euantorano commented 8 years ago

Interesting. I don't use Windows so I'd never noticed it. I'll have a look today.

On 27 Feb 2016, at 05:12, chope1 notifications@github.com wrote:

Yes, I am running it on Windows using Xampp server, I rand the code you provided (php artisan optimize --verbose). and got this output ` [ErrorException] php_strip_whitespace(C:\xampp\htdocs\askng): failed to open stream: Permiss ion denied

Exception trace: () at C:\xampp\htdocs\askng\vendor\classpreloader\classpreloader\src\ClassPreloader.php:124 Illuminate\Foundation\Bootstrap\HandleExceptions->handleError() at n/a:n/a php_strip_whitespace() at C:\xampp\htdocs\askng\vendor\classpreloader\classpreloader\src\ClassPreloader.php:124 ClassPreloader\ClassPreloader->getCode() at C:\xampp\htdocs\askng\vendor\laravel\framework\src\Illuminate\Foundation\Console\OptimizeCommand.php:83 Illuminate\Foundation\Console\OptimizeCommand->compileClasses() at C:\xampp\htdocs\askng\vendor\laravel\framework\src\Illuminate\Foundation\Console\OptimizeCommand.php:64 Illuminate\Foundation\Console\OptimizeCommand->fire() at n/a:n/a call_user_func_array() at C:\xampp\htdocs\askng\bootstrap\cache\compiled.php:1232 Illuminate\Container\Container->call() at C:\xampp\htdocs\askng\vendor\laravel\framework\src\Illuminate\Console\Command.php:169 Illuminate\Console\Command->execute() at C:\xampp\htdocs\askng\vendor\symfony\console\Command\Command.php:259 Symfony\Component\Console\Command\Command->run() at C:\xampp\htdocs\askng\vendor\laravel\framework\src\Illuminate\Console\Command.php:155 Illuminate\Console\Command->run() at C:\xampp\htdocs\askng\vendor\symfony\console\Application.php:844 Symfony\Component\Console\Application->doRunCommand() at C:\xampp\htdocs\askng\vendor\symfony\console\Application.php:192 Symfony\Component\Console\Application->doRun() at C:\xampp\htdocs\askng\vendor\symfony\console\Application.php:123 Symfony\Component\Console\Application->run() at C:\xampp\htdocs\askng\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php:107 Illuminate\Foundation\Console\Kernel->handle() at C:\xampp\htdocs\askng\artisan:36 ` I really don't understand the issue with Permission on Windows, I installed many Laravel and many other Laravel packages in my Windows without any permission error. Maybe I should try it on my Linux to see how it works. Thanks.

— Reply to this email directly or view it on GitHub.

chope1 commented 8 years ago

ok, thanks @euantorano I will also try to install it on my Ubuntu Desktop Os, let me see if it works. Thanks.