-
Notifications
You must be signed in to change notification settings - Fork 13
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
can't get the web app running #25
Comments
As I see in your error log you're trying to connect to database via root user which it's not correct and secure.
You can also check the full wiki in this link: |
@aminvakil Thanks for the quick reply, I was able to fix this by creating a different user than root and setting the permission to the table, I also had to go to /app/config/parameters.yml to enter the correct values for the db. Now after entering the commands to create users for the admin section I try to navigate to the folder where I created the project /project/web/ and I'm getting a blank page.. nothing loads it's an empty doc |
Make sure apache has permissions to execute files created by sportify and make sure www-data user is owner of your file and also make sure .htaccess is enabled. |
Please make sure that your apache web server config has document root set to: <project_folder>/web |
I installed this on a server with a specific ip. So I don't think I can use localhost/app_dev.php, it has to be with the correct ip. Here's the folder structure of what's on the server (I have multiple sites under the html folder) @cmihaylov since I have multiple websites running on the same server, I guess I can't really set doc root to project_folder -> /web right? thanks for the help! |
|
If you have multiple sites running on the same server then you probably have virtual hosts set up for each website. Then you need to have one setup for sportify too. If you have all your sites for example in /var/www/ like this: Then you need to have the Sportify virtual host section's document root point to: /var/www/sportify/web |
@aminvakil thanks, I copied the info and added the correct path to the sportify folder. Still nothing, I get a blank page.. @cmihaylov I created the virtual server for sportify [/wc/web/] but I'm still getting a blank page When trying to go to .../wc/web/ it's showing a blank page and the console is not showing any errors, it's an empty DOM. I'm still able to go to /web/config.php |
Check |
Hi, for some reason I can't get this running on my server.
I have a regular apache server with php 7.2.6 (because the symfony requirements states that it needs 7.1.3)
I carefully read the installation details and here's what happens..
// Clearing the cache for the prod environment with debug false
PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/wc/vendor/symfony/monolog-bundle/DependencyInjection/Configuration.php on line 627
[Doctrine\DBAL\Exception\ConnectionException]
An exception occured in driver: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
[Doctrine\DBAL\Driver\PDOException]
SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
[PDOException]
SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
I then tried to run the following commands from your doc (Create your admin user, Give yourself Admin access..) and keep getting the same error without the php warning count.
Please help, I would like to have this running asap.
Thanks!
The text was updated successfully, but these errors were encountered: