1. dave1966uk
  2. Bug Report
  3. Tuesday, May 13 2014, 07:49 AM
When plugin enabled and user logs in, a blank white page is displayed.Debug.log says:

2014-05-12 22:01:58 Debug: Notice (8): Undefined variable: jsnsocial_setting in [C:\apache\htdocs\plugins\jsn\socialnetwork\app\View\Layouts\default.ctp, line 84]
Trace:
include - APP\View\Layouts\default.ctp, line 84
View::_evaluate() - CORE\Cake\View\View.php, line 956
View::_render() - CORE\Cake\View\View.php, line 918
View::renderLayout() - CORE\Cake\View\View.php, line 546
View::render() - CORE\Cake\View\View.php, line 490
Controller::render() - CORE\Cake\Controller\Controller.php, line 963
ExceptionRenderer::_outputMessage() - CORE\Cake\Error\ExceptionRenderer.php, line 287
ExceptionRenderer::error500() - CORE\Cake\Error\ExceptionRenderer.php, line 256
ExceptionRenderer::render() - CORE\Cake\Error\ExceptionRenderer.php, line 189
ErrorHandler::handleException() - CORE\Cake\Error\ErrorHandler.php, line 134
[main] - [internal], line ??

Error.log has:

2014-05-12 22:01:58 Warning: Warning (2): Invalid argument supplied for foreach() in [C:\apache\htdocs\plugins\jsn\socialnetwork\app\View\Elements\main_menu.ctp, line 34]
Trace:
include - APP\View\Elements\main_menu.ctp, line 34
View::_evaluate() - CORE\Cake\View\View.php, line 956
View::_render() - CORE\Cake\View\View.php, line 918
View::_renderElement() - CORE\Cake\View\View.php, line 1219
View::element() - CORE\Cake\View\View.php, line 425
include - APP\View\Layouts\default.ctp, line 32
View::_evaluate() - CORE\Cake\View\View.php, line 956
View::_render() - CORE\Cake\View\View.php, line 918
View::renderLayout() - CORE\Cake\View\View.php, line 546
View::render() - CORE\Cake\View\View.php, line 490
Controller::render() - CORE\Cake\Controller\Controller.php, line 963
ExceptionRenderer::_outputMessage() - CORE\Cake\Error\ExceptionRenderer.php, line 287
ExceptionRenderer::error500() - CORE\Cake\Error\ExceptionRenderer.php, line 256
ExceptionRenderer::render() - CORE\Cake\Error\ExceptionRenderer.php, line 189
ErrorHandler::handleException() - CORE\Cake\Error\ErrorHandler.php, line 134
[main] - [internal], line ??

Saw mention of deleting /plugins/jsn/socialnetwork/app/tmp/cache directory but no effect.

At the moment this is on localhost whilst I play.
admin Accepted Answer
Admin
Hi,
in error.log you send me a warning, this not cause the blank page.

Can you send me complete error.log? please compress first.
  1. more than a month ago
  2. Bug Report
  3. # 1
dave1966uk Accepted Answer
Hi

Please find attache compressed error.log file as requested.

Many thanks
  1. more than a month ago
  2. Bug Report
  3. # 2
admin Accepted Answer
Admin
Which database server you use?
  1. more than a month ago
  2. Bug Report
  3. # 3
dave1966uk Accepted Answer
Mysql - mysqli connector. Site and easy Profile working fine. Things go weird when social networking enabled.
  1. more than a month ago
  2. Bug Report
  3. # 4
admin Accepted Answer
Admin
Ok,
try to enable this in your php.ini
extension=php_pdo_mysql.dll
  1. more than a month ago
  2. Bug Report
  3. # 5
dave1966uk Accepted Answer
I'm in! Thank you for your speedy attention.

David
  1. more than a month ago
  2. Bug Report
  3. # 6
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.