PlanetTheCloud / project-logged

Custom material design authentication template for MyOwnFreeHost
MIT License
31 stars 17 forks source link

PHP error #17

Closed CookieGuy123 closed 3 years ago

CookieGuy123 commented 3 years ago

So I installed and configured this on MyOwnFreeHost, and it worked correctly! 😄

BUT

I installed MOFH Material Template and now it says

Fatal error: Uncaught TypeError: Argument 1 passed to Arr::dot() must be of the type array, null given, called in /home/vol12_1/fastfreehost.ml/www/htdocs/sys-auth/app/app.php on line 18 and defined in /home/vol12_1/fastfreehost.ml/www/htdocs/sys-auth/app/arr.class.php:25 Stack trace: #0 /home/vol12_1/fastfreehost.ml/www/htdocs/sys-auth/app/app.php(18): Arr::dot(NULL) #1 /home/vol12_1/fastfreehost.ml/www/htdocs/signup.php(12): require('/home/vol12_1/f...') #2 {main} thrown in /home/vol12_1/fastfreehost.ml/www/htdocs/sys-auth/app/arr.class.php on line 25

It was working fine before, but it says this AFTER I installed the theme... but the theme didn't have 'signup.php' in the files that you need to upload.

What should I do?

nabeelshaikh7 commented 3 years ago

The "Theme" you installed is not actually a theme . It's a signup software like project logged and it is not compatible with project logged .

CookieGuy123 commented 3 years ago

Oh. ok

aa22dev commented 3 years ago

There moght be some conflicts between both, and that is just a template not a signup theme like project logged.

Open an issue there for compatibility checks @4yx and I will look into it.

There is nothing wrong with project logged.

PlanetTheCloud commented 3 years ago

Hi, It looks like there's some sort of conflict going on. But can you try reinstalling LOGGED on top of it and see if that works?

PlanetTheCloud commented 3 years ago

Hi there, I'm still waiting for your response. Kindly reopen this issue if needed. Thanks.

4yx commented 3 years ago

The "Theme" you installed is not actually a theme . It's a signup software like project logged and it is not compatible with project logged .

Huh? I'm pretty sure it's a theme/template. We don't have a default signup page though I'll probably make one. It was meant to be compatible/working alongside Project LOGGED.

It was working fine before, but it says this AFTER I installed the theme... but the theme didn't have 'signup.php' in the files that you need to upload.

I'll try installing it now myself and see if it causes any issues.

4yx commented 3 years ago

@mahofficial and I were able to determine why it breaks, and a solution is being worked on. We will include a temporary fix on our end until this can be fixed on LOGGED's side.

Issue fixed by @mahofficial in https://github.com/PlanetTheCloud/project-logged/commit/4e8aab24e90608a185f23cb8d1c8c20389102342.

PlanetTheCloud commented 3 years ago

Thank you for resolving the error.

aa22dev commented 3 years ago

@mahofficial and I were able to determine why it breaks, and a solution is being worked on. We will include a temporary fix on our end until this can be fixed on LOGGED's side.

You can download the new version on https://github.com/MOFHDevs/mofh-material-template/tree/logged-temp, make sure you remove the old files first, especially our config.php.

It's fixed now with new commit, I believe.

4yx commented 3 years ago

@mahofficial said:

@4yx said: @mahofficial and I were able to determine why it breaks, and a solution is being worked on. We will include a temporary fix on our end until this can be fixed on LOGGED's side. You can download the new version on https://github.com/MOFHDevs/mofh-material-template/tree/logged-temp, make sure you remove the old files first, especially our config.php.

It's fixed now with new commit, I believe.

Awesome, @CookieGuy123 could you verify if installing the new version of LOGGED (with the normal template files you have, not the link I posted yesterday) works?