Forums › Forums › OroCRM › OroCRM – Installation/Technical Issues or Problems › installation errors
This topic contains 32 replies, has 14 voices, and was last updated by allxsava 9 years, 5 months ago.
Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.
- CreatorTopic
- May 28, 2013 at 12:05 pm #25690
When installing (./install.sh) I get the following error:
> purging database[Doctrine\DBAL\DBALException]
An exception occurred while executing ‘DELETE FROM orocrm_contact_to_contact_group’:SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘oro_crm.orocrm_contact_to_contact_group’ doesn’t exist
I don’t think it’s created the tables yet.
Also, every time I run the script, I get a permissions error and I have to fix the perms on the directory
RuntimeException]
Unable to create the cache directory (/Users/kimberely/Development/Oro/crm-application/app/cache/dev)please help!
- CreatorTopic
- AuthorReplies
- June 19, 2014 at 3:26 am #25706
Hi,
I’m getting the below error while running “php composer.phar install –prefer-dist”
Note: check permissions for app/cache,app/logs,web,app/config/parameters.yml, see http://symfony.com/doc/current/book/installation.html#configuration-and-setup for more
have tried
chmod -R 777 app/cache
chmod -R 777 app/logs
chmod -R 777 app/config/parametersall the requirements have been installed.
But still getting the error. what I’m i missing?http://173.193.228.150/crm-application-master/web/install.php
June 19, 2014 at 1:20 pm #25707hi @shiraz!
This notice appears when files inside cache or logs directory owned by apache user and you run command from your user. In this case command can’t handle ownership and you will get this notice.
I think we can remove this notice and avoid confusing developers in the future. Thanks!
June 19, 2014 at 2:13 pm #25708Hi sergey,
Thanks for the reply, but when I try to click on the next button on ( http://173.193.228.150/crm-application-master/web/install.php ) it is giving me a installer notfount error. Could you tell me what is the issue on my configuration. Thanks!
June 19, 2014 at 3:12 pm #25709Hi @shiraz!
It looks like a rewrite rules issue. Are there mod_rewrite enabled ? Could you please check also is .htaccess enabled in virtual host config.June 19, 2014 at 3:35 pm #25710Hi alex,
Should I enable mod_rewrite could you let me know what all should be enabled on the apache config file.
Thanks for the help!
June 20, 2014 at 10:08 am #25711Hi alex,
I just had a check on the httpd conf and could see that mod_rewrite is already enabled.
[root@host-10-0-0-46 ~]# cat /etc/httpd/conf/httpd.conf | grep mod_rewrite
LoadModule rewrite_module modules/mod_rewrite.soSo it should be something else I guess! It would be greate if you guys could help me out or guide me through a proper tutorial on installing it on centos, I have already tried most of them on net :(
Thanks!
June 20, 2014 at 3:15 pm #25712Hi,
I have installed it on my server
==============================================
Oro Application has been successfully installed in dev mode.
To run application in prod mode, please run cache:clear command with –env prod parameter
================================================
now my question is that when i start the clank server it doesn’t start up================================================
[root@host-10-0-0-46 crm-application-master]# php app/console clank:server –env prod
Starting Clank
Launching Ratchet WS Server on: 127.0.0.1:8080
================================================But it is not starting
And how can I access it from the front end.
ThanksJune 21, 2014 at 11:00 am #25713Hello.
And how can I access it from the front end.
Not sure that you question is clear for me, web-socket server needed to push data from server to client.
There are multipleplaces where it’s used. For example: maintanance mode notifications, reminders, content “outdated” messages etc.
June 21, 2014 at 1:10 pm #25714Hi,
The problem is that I have installed it. But is it necessary to startr the clank:server ? when i try to start it the screen just waits with “Launching Ratchet WS Server on: 127.0.0.1:8080” but it doesnt start. So should i do any configuration changes for starting the “Ratchet WS Server”. please guide me as on how can I successfully start using it.
I have installed it on http://173.193.228.150/crm-application-master/ but how can i access the home page?
Thanks!
June 21, 2014 at 3:54 pm #25715You have an issue related to web server. Please double check configuration of your web server with our documentation. Also OroCRM based on symfony2 and configuration examples are more or less applicable for it.
Clank server is some kind of system daemon, so when you run it, it will just wait connection from clients. I think that described behavior is correct. It’s necessary to launch it in order to have features that i mentioned there.
Anyway you are able to access CRM now using direct link. But we are not able to guarantee that all features will work correctly due to incorrect server configuration.
June 24, 2014 at 12:37 pm #25716Hi Alex,
Thank you for explaining this is detail. Everything seems to be working perfectly now, currently im facing just one issue when i try to click on any pages it is showing 404 error. Could you help me out on this.
Thanks!
June 24, 2014 at 1:12 pm #25717It’s weird. Is this oro 404 page or web server? Could you please do following steps:
- open terminal
remove all .log files in app/log
reproduce error
share log file or error message/stack trace with usJune 25, 2014 at 6:46 am #25718Its from the oro 404 page, here is the out put of the log files.
cat prod.log
[2014-06-25 15:43:19] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: “No route found for “GET /ocrm/web/app.php/task”” at /var/www/html/ocrm/app/cache/prod/classes.php line 2255 {“exception”:”[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException: No route found for \”GET /ocrm/web/app.php/task\” at /var/www/html/ocrm/app/cache/prod/classes.php:2255, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException: at /var/www/html/ocrm/app/cache/prod/appProdUrlMatcher.php:3787)”} []
[2014-06-25 15:43:19] security.DEBUG: Invoked controller “FOS\RestBundle\Controller\ExceptionController::showAction”. (SUB_REQUEST) [] []
[2014-06-25 15:43:21] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: “No route found for “GET /ocrm/web/app.php/task”” at /var/www/html/ocrm/app/cache/prod/classes.php line 2255 {“exception”:”[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException: No route found for \”GET /ocrm/web/app.php/task\” at /var/www/html/ocrm/app/cache/prod/classes.php:2255, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException: at /var/www/html/ocrm/app/cache/prod/appProdUrlMatcher.php:3787)”} []
[2014-06-25 15:43:21] security.DEBUG: Invoked controller “FOS\RestBundle\Controller\ExceptionController::showAction”. (SUB_REQUEST) [] []June 25, 2014 at 8:56 am #25719Do you have multiple installation under the same document root ?
June 26, 2014 at 6:12 am #25720Hello Alex,
No, but i have installed oro crm on another path. will that be an issue?
- AuthorReplies
The forum ‘OroCRM – Installation/Technical Issues or Problems’ is closed to new topics and replies.