Author Archives: admin

OroCRM: Fatal error: Uncaught exception ‘RuntimeException’ with message ‘The php executable could not be found, add it to your PATH environment variable and try again’

It is very common error in OROCRM “The PHP executable not found” :

Fatal error: Uncaught exception ‘RuntimeException’ with message ‘The php executable could not be found, add it to your PATH environment variable and try again’

It can be fixed by changing to Production environment from development. Following line at web/app.php

$kernel = new AppKernel('prod', false);

to

$kernel = new AppKernel('prod', true);

 

Magento/PHP create new session every refresh

I had problem with php session. When I reload the page it create new session ID.  Finally I fixed the problem. If you did not set the session.save_path by default it will be like

session.save_path="/tmp/"

in php.ini. change this to

session.save_path=/tmp

without quote(“”) sign.
 

Install typo3 6.2 in linux in a directory with permission

# directory to install the typo3
DIR="typo62"
# apche user("www-data" for ubuntu and "apache" for centos)
UUSER="www-data"
# apche user group("www-data" for ubuntu and "apache" for centos)
UGROUP="www-data"
wget http://downloads.sourceforge.net/project/typo3/TYPO3%20Source%20and%20Dummy/TYPO3%206.2.14/typo3_src-6.2.14.tar.gz
tar -zxvf typo3_src-6.2.14.tar.gz
rm typo3_src-6.2.14.tar.gz
mv typo3_src-6.2.14 typo3_src
mkdir $DIR
cp -R typo3_src/* $DIR
cd $DIR
mv _.htaccess .htaccess
rm -r typo3
rm index.php
ln -s ../typo3_src typo3_src
ln -s typo3_src/index.php index.php
ln -s typo3_src/typo3 typo3
sudo chown -R $UUSER:$UGROUP ../$DIR
  • copy above code and paste in a file “installtypo3”
  • “chmod +x installtypo3“
  • change the folder you want to install(change the value of DIR)
  • “./installtypo3“