thanks to everyone in advance. I am having trouble setting up a symfony site on my local. It is not allowing me to ./load-db. I went and ./symfony project:permissions on the root directory and I am getting this error.
Permissions on the following file(s) could not be fixed:
- SF_ROOT_DIR/cache
- SF_ROOT_DIR/log
When I do tail -f /opt/dev/logs/azandmeapp/error_log I get this error
PHP Fatal error: Uncaught exception 'sfDatabaseException' with message 'PDOException was
thrown when trying to manipulate session data. Message: SQLSTATE[42S02]: Base table or
view not found: 1146 Table 'azandmeapp_site.http_session' doesn't exist' in
/opt/dev/kazaamprojects/azandmeapp/lib/vendor/symfony/lib/storage
/sfPDOSessionStorage.class.php:169\nStack trace:\n#0 [internal function]:
sfPDOSessionStorage->sessionWrite('tdga8vm70sh5b0e...', '')\n#1 {main}\n thrown in
/opt/dev/kazaamprojects/azandmeapp/lib/vendor/symfony/lib/storage/
sfPDOSessionStorage.class.php on line 169
i cant rm -rf the cache or the log.
Does anyone have an idea to help me. I surely do appreciate it.
I am silly, I the website had nothing in the db. I need to create a blank database and load with template data.
Therefore I needed to do
./symfony doctrine:build --db --and-load
Thank you everyone for your time and help.