CodeIgniter v3 + Smarty v3 SmartyCompilerException Error at form validation time - codeigniter

An uncaught Exception was encountered
Type: SmartyCompilerException
Message: Syntax error in template **"/home/usedvala/public_html/UsedVala/views/templates/registration/registration.tpl"
on line 96 "
[~ci_form_validation field='email'~]
" unknown tag "ci_form_validation"**
Filename: /home/usedvala/public_html/UsedVala/third_party/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php
Line Number: 96
Backtrace:
File: /home/usedvala/public_html/UsedVala/third_party/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php
Line: 687
Function: trigger_template_error
File: /home/usedvala/public_html/UsedVala/third_party/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php
Line: 457
Function: compileTag2
File: /home/usedvala/public_html/UsedVala/third_party/smarty/libs/sysplugins/smarty_internal_templateparser.php
Line: 1395
Function: compileTag
File: /home/usedvala/public_html/UsedVala/third_party/smarty/libs/sysplugins/smarty_internal_templateparser.php
Line: 2265
Function: yy_r33
File: /home/usedvala/public_html/UsedVala/third_party/smarty/libs/sysplugins/smarty_internal_templateparser.php
Line: 2360
Function: yy_reduce
File: /home/usedvala/public_html/UsedVala/third_party/smarty/libs/sysplugins/smarty_internal_smartytemplatecompiler.php
Line: 114
Function: doParse
File: /home/usedvala/public_html/UsedVala/third_party/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php
Line: 391
Function: doCompile
File: /home/usedvala/public_html/UsedVala/third_party/smarty/libs/sysplugins/smarty_template_compiled.php
Line: 226
Function: compileTemplate
File: /home/usedvala/public_html/UsedVala/third_party/smarty/libs/sysplugins/smarty_template_compiled.php
Line: 152
Function: compileTemplateSource
File: /home/usedvala/public_html/UsedVala/third_party/smarty/libs/sysplugins/smarty_template_compiled.php
Line: 199
Function: process
File: /home/usedvala/public_html/UsedVala/third_party/smarty/libs/sysplugins/smarty_internal_template.php
Line: 246
Function: render
File: /home/usedvala/public_html/UsedVala/third_party/smarty/libs/Smarty.class.php
Line: 820
Function: render
File: /home/usedvala/public_html/UsedVala/libraries/Asoft_smarty.php
Line: 63
Function: fetch
File: /home/usedvala/public_html/UsedVala/controllers/Usedvala.php
Line: 94
Function: view
File: /home/usedvala/public_html/index.php
Line: 292
Function: require_once
Please help me how to solve this problem:-)

You just have to read the error. The template is trying to call a function named ci_form_validation that doesn't exists in your installation. You probably forgot to put some files in your smarty plugin's folder

Related

Oracle EBS 12.9 adnodemgrctl stack

01/23/23-10:07:16 :: adnodemgrctl.sh version 120.11.12020000.12
Calling txkChkEBSDependecies.pl to perform dependency checks for ALL MANAGED SERVERS
ERROR DESCRIPTION:
(FATAL ERROR
PROGRAM : /oracle/u02/VIS/fs2/EBSapps/appl/fnd/12.0.0/patch/115/bin/txkChkEBSDependecies.pl(/oracle/u02/VIS/fs2/EBSapps/appl/fnd/12.0.0/bin/txkrun.pl)
TIME : Mon Jan 23 10:07:17 2023
FUNCTION: TXK::Process::run [ Level 3 ]
MESSAGES:
Command error: = 2304, = unzip -o /oracle/u02/VIS/fs2/inst/apps/VIS_vision/logs/appl/rgf/TXK/txkChkEBSDependecies_Mon_Jan_23_10_07_17_2023/formsapp.ear -d /oracle/u02/VIS/fs2/inst/apps/VIS_vision/logs/appl/rgf/TXK/txkChkEBSDependecies_Mon_Jan_23_10_07_17_2023
STACK TRACE
at /oracle/u02/VIS/fs2/EBSapps/appl/au/12.0.0/perl/TXK/Error.pm line 168
TXK::Error::abort('TXK::Error', 'HASH(0xd432e8)') called at /oracle/u02/VIS/fs2/EBSapps/appl/au/12.0.0/perl/TXK/Common.pm line 299
TXK::Common::doError('TXK::Process=HASH(0x19224d0)', 'Command error: = 2304, = unzip -o /oracle/u02/...', undef) called at /oracle/u02/VIS/fs2/EBSapps/appl/au/12.0.0/perl/TXK/Common.pm line 314
TXK::Common::setError('TXK::Process=HASH(0x19224d0)', 'Command error: = 2304, = unzip -o /oracle/u02/...') called at /oracle/u02/VIS/fs2/EBSapps/appl/au/12.0.0/perl/TXK/Process.pm line 449
TXK::Process::run('TXK::Process=HASH(0x19224d0)', 'HASH(0x1a22af0)') called at /oracle/u02/VIS/fs2/EBSapps/appl/fnd/12.0.0/patch/115/bin/txkChkEBSDependecies.pl line 1163
TXK::RunScript::unzipFile('/oracle/u02/VIS/fs2/inst/apps/VIS_vision/logs/appl/rgf/TXK/tx...', '/oracle/u02/VIS/fs2/inst/apps/VIS_vision/logs/appl/rgf/TXK/tx...') called at /oracle/u02/VIS/fs2/EBSapps/appl/fnd/12.0.0/patch/115/bin/txkChkEBSDependecies.pl line 815
TXK::RunScript::extractLatestFrmSrvJar() called at /oracle/u02/VIS/fs2/EBSapps/appl/fnd/12.0.0/patch/115/bin/txkChkEBSDependecies.pl line 1248
TXK::RunScript::checkFormsApp() called at /oracle/u02/VIS/fs2/EBSapps/appl/fnd/12.0.0/patch/115/bin/txkChkEBSDependecies.pl line 276
eval {...} called at /oracle/u02/VIS/fs2/EBSapps/appl/fnd/12.0.0/patch/115/bin/txkChkEBSDependecies.pl line 182
require /oracle/u02/VIS/fs2/EBSapps/appl/fnd/12.0.0/patch/115/bin/txkChkEBSDependecies.pl called at /oracle/u02/VIS/fs2/EBSapps/appl/au/12.0.0/perl/TXK/RunScript.pm line 105
TXK::RunScript::require('TXK::RunScript', '/oracle/u02/VIS/fs2/EBSapps/appl/fnd/12.0.0/patch/115/bin/txk...') called at /oracle/u02/VIS/fs2/EBSapps/appl/au/12.0.0/perl/TXK/Script.pm line 177
eval {...} called at /oracle/u02/VIS/fs2/EBSapps/appl/au/12.0.0/perl/TXK/Script.pm line 177
TXK::Script::run('TXK::Script=HASH(0x139e460)', '/oracle/u02/VIS/fs2/inst/apps/VIS_vision/logs/appl/rgf/TXK', '/oracle/u02/VIS/fs2/EBSapps/appl/fnd/12.0.0/patch/115/bin/txk...') called at /oracle/u02/VIS/fs2/EBSapps/appl/fnd/12.0.0/bin/txkrun.pl line 174
)
W A R N I N G *
Error while executing the perl script txkChkEBSDependecies.pl
We have determined that one or more checks failed for MANAGED SERVERS.
Please check logs for more details.
Validated the passed arguments for the option ebs-get-nmstatus
Connecting to Node Manager ...
Successfully Connected to Node Manager.
The Node Manager is up.
NodeManager log is located at /oracle/u02/VIS/fs2/FMW_Home/wlserver_10.3/common/nodemanager/nmHome1
01/23/23-10:07:21 :: adnodemgrctl.sh: exiting with status 2
CAN ANY ONE HELP ME WITH THIS PROBLEM ?

Codeigniter mkdir: Permission denied error

How to resolve these errors?
A PHP Error was encountered
Severity: Warning
Message: mkdir(): Permission denied
Filename: drivers/Session_files_driver.php
Line Number: 136
Backtrace:
File: /var/www/html/application/controllers/Home.php
Line: 8
Function: __construct
File: /var/www/html/index.php
Line: 315
Function: require_once
Warning: Uncaught Exception: Session: Configured save path '/var/www/html/application/cache/session' is not a directory, doesn't exist or cannot be created. in /var/www/html/system/libraries/Session/drivers/Session_files_driver.php:138 Stack trace: #0 [internal function]: CI_Session_files_driver->open('/var/www/html/a...', 'ci_session') #1 /var/www/html/system/libraries/Session/Session.php(143): session_start() #2 /var/www/html/system/core/Loader.php(1281): CI_Session->__construct() #3 /var/www/html/system/core/Loader.php(1174): CI_Loader->_ci_init_library('Session', 'CI_', NULL, 'session') #4 /var/www/html/system/core/Loader.php(1037): CI_Loader->_ci_load_stock_library('Session', 'Session/', NULL, NULL) #5 /var/www/html/system/core/Loader.php(1082): CI_Loader->_ci_load_library('Session', NULL, NULL) #6 /var/www/html/system/core/Loader.php(218): CI_Loader->_ci_load_library('Session', NULL, NULL) #7 /var/www/html/system/core/Loader.php(202): CI_Loader->library('session', NULL) #8 /var/www/html/system/core/Loader.php(13 in /var/www/html/system/libraries/Session/drivers/Session_files_driver.php on line 138
Fatal error: session_start(): Failed to initialize storage module: user (path: /var/www/html/application/cache/session) in /var/www/html/system/libraries/Session/Session.php on line 143
A PHP Error was encountered
Severity: Error
Message: session_start(): Failed to initialize storage module: user (path: /var/www/html/application/cache/session)
Filename: Session/Session.php
Line Number: 143
Backtrace:
if you're using an apache2-Webserver, check the directory permissions for /var/www/html/application/cache/session. It has to be legible and writable for www-data user.
To set the permissions, simply run sudo chown -R www-data /var/www/html and sudo chmod -R u+rw /var/www/html. This sets the directory permissions recursively to your webroot and all subdirectories.

Laravel database not configured only after login/logout when I use the remember_token

I am having a strange issue where i cannot seem to finish logging out of Laravel. It seems to confuse a token with the database connection. What should be mysql in this case is UW6c1Jyh4bhuOw36a5DDKWrjjlaNqes4rPf4U7rst1QcOyhjC8KQaD2ZhCAA
EDIT: Just to note, my remember_token column is also never populating
EDIT 2: I had not thought to try logging in with "Remember me" selected. I am seeing the same error when I do that.
I went digging into some of these functions and cannot figure out where the confusion is coming from. There couldnt be any issues with my config/database.php file because I am logging in ok once "Remember me" is not checked.
The logout function:
public function webLogout( ) {
Auth::logout();
die('test');
return redirect('/');
}
The error..
InvalidArgumentException in DatabaseManager.php line 137: Database [UW6c1Jyh4bhuOw36a5DDKWrjjlaNqes4rPf4U7rst1QcOyhjC8KQaD2ZhCAA] not configured.
in DatabaseManager.php line 137
at DatabaseManager->configuration('UW6c1Jyh4bhuOw36a5DDKWrjjlaNqes4rPf4U7rst1QcOyhjC8KQaD2ZhCAA') in DatabaseManager.php line 100
at DatabaseManager->makeConnection('UW6c1Jyh4bhuOw36a5DDKWrjjlaNqes4rPf4U7rst1QcOyhjC8KQaD2ZhCAA') in DatabaseManager.php line 71
at DatabaseManager->connection('UW6c1Jyh4bhuOw36a5DDKWrjjlaNqes4rPf4U7rst1QcOyhjC8KQaD2ZhCAA') in Model.php line 1016
at Model::resolveConnection('UW6c1Jyh4bhuOw36a5DDKWrjjlaNqes4rPf4U7rst1QcOyhjC8KQaD2ZhCAA') in Model.php line 982
at Model->getConnection() in Model.php line 846
at Model->newBaseQueryBuilder() in Model.php line 807
at Model->newQueryWithoutScopes() in Model.php line 490
at Model->save() in EloquentUserProvider.php line 86
at EloquentUserProvider->updateRememberToken(object(User), 'UW6c1Jyh4bhuOw36a5DDKWrjjlaNqes4rPf4U7rst1QcOyhjC8KQaD2ZhCAA') in SessionGuard.php line 534
at SessionGuard->cycleRememberToken(object(User)) in SessionGuard.php line 494
at SessionGuard->logout() in AuthManager.php line 294
at AuthManager->__call('logout', array()) in Facade.php line 221
at AuthManager->logout() in Facade.php line 221
at Facade::__callStatic('logout', array()) in AuthenticateController.php line 60
at Auth::logout() in AuthenticateController.php line 60
at AuthenticateController->webLogout()
at call_user_func_array(array(object(AuthenticateController), 'webLogout'), array()) in Controller.php line 55

How to host a website with CodeIgniter on a server?

When I test my website in localhost it works correctly.
However, when I host it on the server it sometimes gives an error when I click on a link to another page. If I then refresh the page the error is gone.
This is the error given:
A PHP Error was encountered
Severity: Warning
Message: unlink(/tmp/ci_session56b5fa78806f1c156117b29a0740a0758f622d7d) [function.unlink]: Operation not permitted
Filename: drivers/Session_files_driver.php
Line Number: 354
Backtrace:
File: /home/wwwmyburgerlabco/public_html/mbl/application/controllers/mbl-admin/Site_admin.php
Line: 6
Function: __construct
File: /home/wwwmyburgerlabco/public_html/mbl/index.php
Line: 292
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: unlink(/tmp/ci_sessiona3989ff9d3733b42f94dcc29bde8fcdaac8bcdd6) [function.unlink]: Operation not permitted
Filename: drivers/Session_files_driver.php
Line Number: 354
Backtrace:
File: /home/wwwmyburgerlabco/public_html/mbl/application/controllers/mbl-admin/Site_admin.php
Line: 6
Function: __construct
File: /home/wwwmyburgerlabco/public_html/mbl/index.php
Line: 292
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: unlink(/tmp/ci_session02fd76ea7ba9c61f8121a51816371298b37caffc) [function.unlink]: Operation not permitted
Filename: drivers/Session_files_driver.php
Line Number: 354
Backtrace:
File: /home/wwwmyburgerlabco/public_html/mbl/application/controllers/mbl-admin/Site_admin.php
Line: 6
Function: __construct
File: /home/wwwmyburgerlabco/public_html/mbl/index.php
Line: 292
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: unlink(/tmp/ci_sessionb918fe8d8e5e68e283cb237f09489808bd770bf8) [function.unlink]: Operation not permitted
Filename: drivers/Session_files_driver.php
Line Number: 354
Backtrace:
File: /home/wwwmyburgerlabco/public_html/mbl/application/controllers/mbl-admin/Site_admin.php
Line: 6
Function: __construct
File: /home/wwwmyburgerlabco/public_html/mbl/index.php
Line: 292
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: unlink(/tmp/ci_session95ad2c5e9e679c17864def621d85a11a3c02333a) [function.unlink]: Operation not permitted
Filename: drivers/Session_files_driver.php
Line Number: 354
Backtrace:
File: /home/wwwmyburgerlabco/public_html/mbl/application/controllers/mbl-admin/Site_admin.php
Line: 6
Function: __construct
File: /home/wwwmyburgerlabco/public_html/mbl/index.php
Line: 292
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: unlink(/tmp/ci_session8bf9a821db45a792cde9a215d6bd81a1fd293142) [function.unlink]: Operation not permitted
Filename: drivers/Session_files_driver.php
Line Number: 354
Backtrace:
File: /home/wwwmyburgerlabco/public_html/mbl/application/controllers/mbl-admin/Site_admin.php
Line: 6
Function: __construct
File: /home/wwwmyburgerlabco/public_html/mbl/index.php
Line: 292
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: unlink(/tmp/ci_session6af732ebfdc9595eb18488d6cbeb593993d3ebb9) [function.unlink]: Operation not permitted
Filename: drivers/Session_files_driver.php
Line Number: 354
Backtrace:
File: /home/wwwmyburgerlabco/public_html/mbl/application/controllers/mbl-admin/Site_admin.php
Line: 6
Function: __construct
File: /home/wwwmyburgerlabco/public_html/mbl/index.php
Line: 292
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: unlink(/tmp/ci_sessione100361271a683035cfce62bbed319731a18e384) [function.unlink]: Operation not permitted
Filename: drivers/Session_files_driver.php
Line Number: 354
Backtrace:
File: /home/wwwmyburgerlabco/public_html/mbl/application/controllers/mbl-admin/Site_admin.php
Line: 6
Function: __construct
File: /home/wwwmyburgerlabco/public_html/mbl/index.php
Line: 292
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: unlink(/tmp/ci_sessione3c47aed6a4afc9f617959e9aff657ed40c81cd7) [function.unlink]: Operation not permitted
Filename: drivers/Session_files_driver.php
Line Number: 354
Backtrace:
File: /home/wwwmyburgerlabco/public_html/mbl/application/controllers/mbl-admin/Site_admin.php
Line: 6
Function: __construct
File: /home/wwwmyburgerlabco/public_html/mbl/index.php
Line: 292
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: unlink(/tmp/ci_session868cfe7d9085879b8b8d778fd3e1274eef8bd4fa) [function.unlink]: Operation not permitted
Filename: drivers/Session_files_driver.php
Line Number: 354
Backtrace:
File: /home/wwwmyburgerlabco/public_html/mbl/application/controllers/mbl-admin/Site_admin.php
Line: 6
Function: __construct
File: /home/wwwmyburgerlabco/public_html/mbl/index.php
Line: 292
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: unlink(/tmp/ci_session293c6e415fe74c1ff4880f7e97d5a5a46e763544) [function.unlink]: Operation not permitted
Filename: drivers/Session_files_driver.php
Line Number: 354
Backtrace:
File: /home/wwwmyburgerlabco/public_html/mbl/application/controllers/mbl-admin/Site_admin.php
Line: 6
Function: __construct
File: /home/wwwmyburgerlabco/public_html/mbl/index.php
Line: 292
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: unlink(/tmp/ci_session060b5943e6fb48e8315024bbf3c6e03155d4ce70) [function.unlink]: Operation not permitted
Filename: drivers/Session_files_driver.php
Line Number: 354
Backtrace:
File: /home/wwwmyburgerlabco/public_html/mbl/application/controllers/mbl-admin/Site_admin.php
Line: 6
Function: __construct
File: /home/wwwmyburgerlabco/public_html/mbl/index.php
Line: 292
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: unlink(/tmp/ci_session011ebd239e0e88b365ec2dd0b86bd1050b8377be) [function.unlink]: Operation not permitted
Filename: drivers/Session_files_driver.php
Line Number: 354
Backtrace:
File: /home/wwwmyburgerlabco/public_html/mbl/application/controllers/mbl-admin/Site_admin.php
Line: 6
Function: __construct
File: /home/wwwmyburgerlabco/public_html/mbl/index.php
Line: 292
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: unlink(/tmp/ci_sessionc9098c7bb0ba0dc436d1bbbcd5939fd4a379e738) [function.unlink]: Operation not permitted
Filename: drivers/Session_files_driver.php
Line Number: 354
Backtrace:
File: /home/wwwmyburgerlabco/public_html/mbl/application/controllers/mbl-admin/Site_admin.php
Line: 6
Function: __construct
File: /home/wwwmyburgerlabco/public_html/mbl/index.php
Line: 292
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: unlink(/tmp/ci_session7b5fd7526aea207013790bd74e26ab43633d1594) [function.unlink]: Operation not permitted
Filename: drivers/Session_files_driver.php
Line Number: 354
Backtrace:
File: /home/wwwmyburgerlabco/public_html/mbl/application/controllers/mbl-admin/Site_admin.php
Line: 6
Function: __construct
File: /home/wwwmyburgerlabco/public_html/mbl/index.php
Line: 292
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: unlink(/tmp/ci_session02fa433192e4890acf50603478c95836ec7f0893) [function.unlink]: Operation not permitted
Filename: drivers/Session_files_driver.php
Line Number: 354
Backtrace:
File: /home/wwwmyburgerlabco/public_html/mbl/application/controllers/mbl-admin/Site_admin.php
Line: 6
Function: __construct
File: /home/wwwmyburgerlabco/public_html/mbl/index.php
Line: 292
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: unlink(/tmp/ci_session5857b16bce1f4d673a503e35185dde18859ec964) [function.unlink]: Operation not permitted
Filename: drivers/Session_files_driver.php
Line Number: 354
Backtrace:
File: /home/wwwmyburgerlabco/public_html/mbl/application/controllers/mbl-admin/Site_admin.php
Line: 6
Function: __construct
File: /home/wwwmyburgerlabco/public_html/mbl/index.php
Line: 292
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: unlink(/tmp/ci_sessiona07c2aa936dc838d06be2556bb1fa0e0436c2b35) [function.unlink]: Operation not permitted
Filename: drivers/Session_files_driver.php
Line Number: 354
Backtrace:
File: /home/wwwmyburgerlabco/public_html/mbl/application/controllers/mbl-admin/Site_admin.php
Line: 6
Function: __construct
File: /home/wwwmyburgerlabco/public_html/mbl/index.php
Line: 292
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: unlink(/tmp/ci_sessionf24303a61f7a4880b1c8a825bc215beb6af3b82b) [function.unlink]: Operation not permitted
Filename: drivers/Session_files_driver.php
Line Number: 354
Backtrace:
File: /home/wwwmyburgerlabco/public_html/mbl/application/controllers/mbl-admin/Site_admin.php
Line: 6
Function: __construct
File: /home/wwwmyburgerlabco/public_html/mbl/index.php
Line: 292
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: unlink(/tmp/ci_sessionef71fce1928aa6f4df36f1993aa072f1f0d228bb) [function.unlink]: Operation not permitted
Filename: drivers/Session_files_driver.php
Line Number: 354
Backtrace:
File: /home/wwwmyburgerlabco/public_html/mbl/application/controllers/mbl-admin/Site_admin.php
Line: 6
Function: __construct
File: /home/wwwmyburgerlabco/public_html/mbl/index.php
Line: 292
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: unlink(/tmp/ci_session2bbba3d6e4471a259431226a74c36f8678fb7510) [function.unlink]: Operation not permitted
Filename: drivers/Session_files_driver.php
Line Number: 354
Backtrace:
File: /home/wwwmyburgerlabco/public_html/mbl/application/controllers/mbl-admin/Site_admin.php
Line: 6
Function: __construct
File: /home/wwwmyburgerlabco/public_html/mbl/index.php
Line: 292
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: unlink(/tmp/ci_session28c2208351dedf2d4fb609395d9745d54c5edbdb) [function.unlink]: Operation not permitted
Filename: drivers/Session_files_driver.php
Line Number: 354
Backtrace:
File: /home/wwwmyburgerlabco/public_html/mbl/application/controllers/mbl-admin/Site_admin.php
Line: 6
Function: __construct
File: /home/wwwmyburgerlabco/public_html/mbl/index.php
Line: 292
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: unlink(/tmp/ci_session699bcf86dc0a4eb6447bed8405f2be724b0bfeba) [function.unlink]: Operation not permitted
Filename: drivers/Session_files_driver.php
Line Number: 354
Backtrace:
File: /home/wwwmyburgerlabco/public_html/mbl/application/controllers/mbl-admin/Site_admin.php
Line: 6
Function: __construct
File: /home/wwwmyburgerlabco/public_html/mbl/index.php
Line: 292
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: unlink(/tmp/ci_sessiona6a071939bf256531d583c4c72179e4f9a20df4b) [function.unlink]: Operation not permitted
Filename: drivers/Session_files_driver.php
Line Number: 354
Backtrace:
File: /home/wwwmyburgerlabco/public_html/mbl/application/controllers/mbl-admin/Site_admin.php
Line: 6
Function: __construct
File: /home/wwwmyburgerlabco/public_html/mbl/index.php
Line: 292
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: unlink(/tmp/ci_session40467c8499001305ce4650a37b362855711d7898) [function.unlink]: Operation not permitted
Filename: drivers/Session_files_driver.php
Line Number: 354
Backtrace:
File: /home/wwwmyburgerlabco/public_html/mbl/application/controllers/mbl-admin/Site_admin.php
Line: 6
Function: __construct
File: /home/wwwmyburgerlabco/public_html/mbl/index.php
Line: 292
Function: require_once
Generally on a shared host the tmp folder of the php installation is not accessible, and therefore CodeIgniter is unable to record the session.
You can change the session save path to your relative site path to fix this.
Go to config.php and change
$config['sess_save_path'] = NULL;
to
$config['sess_save_path'] = BASEPATH . 'application/cache/';
Make sure the cache folder has a permission of 777.

FatalErrorException in PropelBundle.php line 29: Compile Error: Propel\PropelBundle\PropelBundle::boot(): Failed opening required

Im trying to use propel ORM with sympfony v-2.7
In my composer I've added this line
"propel/propel-bundle": "^1.4",
and installed this package successfully.
Then I load the Bundle into my karnel using this
$bundles = array(
new Propel\PropelBundle\PropelBundle(),
);
My config.yml settings
propel:
path: "%kernel.root_dir%/../vendor/propel"
phing_path: "%kernel.root_dir%/../vendor/phing"
logging: %kernel.debug%
dbal:
driver: %database_driver%
user: %database_user%
password: %database_password%
dsn: %database_driver%:host=%database_host%;dbname=%database_name%;charset=UTF8
options: {}
attributes: {}
But when I try to access- http://localhost/my-serp/web/
I got this Error
FatalErrorException in PropelBundle.php line 29:
Compile Error: Propel\PropelBundle\PropelBundle::boot(): Failed opening required 'D:\wamp\www\my-serp
\app/../vendor/propel/runtime/lib/Propel.php' (include_path='D:\wamp\www\my- serp\vendor/phing/phing/classes;D:\wamp
\www\my-serp\vendor/propel/propel1/runtime/lib;D:\wamp\www\my- serp\vendor/propel/propel1/generator/lib;.;C:\php\pear')
in PropelBundle.php line 29
at PropelBundle->boot() in bootstrap.php.cache line 2414
at Kernel->boot() in bootstrap.php.cache line 2442
at Kernel->handle() in app_dev.php line 28
at {main}() in app_dev.php line 0
I follow the documentation from github, can anybody say me what i've missed ??
Check/change your propel path to:
path: "%kernel.root_dir%/../vendor/propel/propel1"

Resources