New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation error #121
Comments
This is because of the PHP 5.4+ array syntax; please see #115. We're still trying to decide whether to revert to the old syntax, or update to a minimum version requirement of 5.4. |
I've replaced that line, and the installation went well. After it finished i was presented with a no-css login page. After the login I am getting this error Not Found The requested URL /api/account was not found on this server. I even updated my php to 5.4 and restarted the hole process. With no luck, I get the same error. |
The login page should redirect you to /account/dashboard.php there is no
|
Hmm, it sounds like the no-css and the weird redirect might both be due to a problem with your site root setting. What did you set for "Site Root URL"? If you don't remember, it is stored in the |
I've checked the db. It is correctly set to the install directory (mysite.com/00/) |
@lilfade can you see if you can replicate this error? I haven't tried running a fresh install in version 0.2.1 yet. |
Also @r4zv4n please check your |
Yea ill run a few tests tonight been a bit busy lately ... ill try a few things and see what i can come up with |
Hehe cool :-D Yeah both of these errors make me think that the |
I reproduced the exact same error using a completely different box. You should try and install using the package available for installation at this moment. The problems are exactly the same as above. I am sure, also, that this is a wrong path problem... but no one changed the auto completed field for the root path (which was accurate every time). After getting manualyy to the root directory from the 404 error right after setup (/api/account), I am redirected to /account/dashboard_admin.php with the following console errors: Uncaught ReferenceError: jQuery is not defined morris-0.4.3.js:11 Also, no CSS is present after completing the setup process. Thanks... and, |
We're certainly not trying to mock you! We want people to use UF, so it is our pleasure to help you get it working. But, the more information you can provide, the better. In the console, before the actual errors, you should see a number of lines where the JS/CSS files are loaded. Can you tell me what URLs they are trying to request? In Firebug it looks something like this: |
"base site path is: " |
Is this shared hosting or are you running on a vps / dedicated box? If vps what is your server environment your running UF on? Eg. Linux / windows apache version php version this may help narrow the issue down. Sorry if I made it seem like we were ganging up on you and calling you a liar. We want this to work for everyone and try to help as much as we can short of sshing into your server which we can certainly try if you'd like. |
I want to insist on the fact that this error can be replicated. In fact I am convinced that anyone trying to do a fresh install from the current package will get the same error. Please guys, give it a try. A fresh, clean install will certainly get you to the point I am at right now. Thanks ! PS: They were dedicated boxes. |
I just opened my laptop will be running a install on my vps, will be running @ http://www.fadedgaming.co/r4/ . I will run a default install with nothing changed in the installer, lets see if i can reproduce it on my end. |
Thanks man ! |
I just tried a fresh install, but no luck reproducing the error. What do the Also, are there any error messages in your |
yea same here you can check @ http://www.fadedgaming.co/r4/ user: fgdevr4 pass: fgdevr41 |
I saw it lil... |
Ok... give me 3 minutes to try something.. |
I'm gonna grab some dinner, I'll be back in an hour or so. Do you guys want to set up an IRC channel or something where we can discuss this? |
Would not hurt... |
Sure ill setup one and post info in a sec |
server: irc.freenode.net |
Okay @alexweissman we figured out v0.2.0 works perfect but v0.2.1 fails to load after the installer eg domain.tld/index.php fails to load css or anything as well as /account/dashboard.php but in v0.2.0 it loads perfect as it should so we may need to check out that template system code and the nav system as well to make sure. |
Hmm. Well I haven't actually tried installing it on a live server yet, just dev. Do you think it has something to do with that? |
i run it on fadedgaming.co and its "live" both my localhost and fadedgaming.co run just the same although im not sure what the issue is, none the less ill email you some details and you can check it out and see what the dealio is maybe on his server. |
I am getting the same problems. After installation I get a non-css Site with the error: Warning: file_get_contents(http://mysite.com/models/page-templates/head.html) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 401 Authorization Required in /somefolders/models/template_functions.php on line 112 I am on a shared hosting and I just grapped version 0.2.2 |
@demoncleaner in your database what is your uf_configuration.website_url value ? Also what host are your using and if you know how is the server setup eg. version information? |
From some searching i found its most likely in the php.ini file. You will need to edit your php.ini file to change allow_url_fopen = off to allow_url_fopen = on this is blocking the files from grabbing / including the needed files. If you can't fix this by editing the php.ini file in your site root or by creating a php.ini file and adding the on setting you may have to contact your host to enable it for you. |
Thanks for your super fast reply. I talked to my provider who told me that it is already set to ON. Christian Rapp | RAPPiD Am Donnerstag, 13. November 2014 um 09:03 schrieb Bryson:
|
no problem, what is the website_url path set to in your database, in the uf_configuration table |
It was set to: mydomain.com// I tried removing the double // and put / instead with same results. If it is easier you could contact me directly and I give you access to my setup. Christian Rapp | RAPPiD Am Donnerstag, 13. November 2014 um 10:49 schrieb Bryson:
|
Sure you can email me @ lilfade@fadedgaming.co |
The issue was from a .htaccess file limiting access with a .htpasswd file, this is limiting the file_get_contents from working as theres no authencation being done and the server sees the requests as non-local |
Issues with |
Parse error: syntax error, unexpected '[' in /models/funcs.php on line 63
The text was updated successfully, but these errors were encountered: