Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

Installer needs fixing #42

Open
JeDaYoshi opened this issue May 21, 2017 · 13 comments
Open

Installer needs fixing #42

JeDaYoshi opened this issue May 21, 2017 · 13 comments
Labels

Comments

@JeDaYoshi
Copy link
Collaborator

I was gonna try out installing WWXD locally. It did land me to /preinstall.php

After I did put the MySQL, it did ask me the owner credentials - but before I could put anything I was redirected to /install.php! And if you tried again that'd be like a loop.

@JeDaYoshi JeDaYoshi added the bug label May 21, 2017
@NightScript370
Copy link
Member

Yeah, that's something on the PHP side of things. Most likely, its the tag, we should change that with something else that won't imput the form.

@JeDaYoshi
Copy link
Collaborator Author

I did this little workaround but after that the /index.php/config/database.php error then:
Fatal error: Only variables can be passed by reference in /home/jeda/www/board/lib/yaml.php on line 732

Yeah, the code needs some fixing.

@Repflez
Copy link
Contributor

Repflez commented May 21, 2017

I'm pretty sure the installer doesn't need the yaml library at all.

Rewriting the installer is an option.

@JeDaYoshi
Copy link
Collaborator Author

@Repflez actually that was the board and not the installer, but yeah, installer would be good if it'd be rewritten.

@NightScript370
Copy link
Member

Yeah, we should rewrite it. But I want it to be like the ABXD one, where there are some pages for the install...

@Repflez
Copy link
Contributor

Repflez commented May 21, 2017

@JeDa Are you running php with E_ALL ^ E_STRICT enabled? It shouldn't crash and burn with it.

@JeDaYoshi
Copy link
Collaborator Author

@Repflez it is a fatal error, the board doesn't loads because that error in yaml.php. using PHP 7.0 btw

@Repflez
Copy link
Contributor

Repflez commented May 21, 2017

@JeDa Huh, Will look into it in php 7.1.15 later this week (or next.)

@NightScript370
Copy link
Member

@JeDa Does it work now?

@JeDaYoshi
Copy link
Collaborator Author

Fatal error: Only variables can be passed by reference in /home/jeda/www/otherboard/lib/yaml.php on line 738

nope

@NightScript370
Copy link
Member

NightScript370 commented May 21, 2017

Ahh, maybe it's because I changed preg_replace to str_replace.

Let me go fix that, brb...

Spacy: Done! Please test now.

@JeDaYoshi
Copy link
Collaborator Author

Fatal error: Only variables can be passed by reference in /home/jeda/www/otherboard/lib/yaml.php on line 780

just replace everything (?

@JeDaYoshi
Copy link
Collaborator Author

Fatal error: require_once(): Failed opening required '/home/jeda/www/otherboard/lib/smarty/libs/Smarty.class.php' (include_path='.:/usr/share/php') in /home/jeda/www/otherboard/lib/common.php on line 135

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants