500 - JDatabaseMySQL::query: 1054 - Unknown column 'onlinestatus' in 'field list' SQL=SELECT onlinestatus FROM jos_comprofiler WHERE id=250
Notice: Undefined property: moscomprofilerUser::$onlinestatus in /home/site/public_html/components/com_comprofiler/plugin/user/plug_cbprofilenotifier/cb.profile_notifier.php on line 116
Please Log in to join the conversation.
Please Log in to join the conversation.
Call stack
# Function Location
1 JSite->dispatch() /home/site/public_html/index.php:68
2 JComponentHelper->renderComponent() /home/site/public_html/includes/application.php:124
3 require_once() /home/site/public_html/libraries/joomla/application/component/helper.php:162
4 userSave() /home/site/public_html/components/com_comprofiler/comprofiler.php:98
5 moscomprofilerUser->saveSafely() /home/site/public_html/components/com_comprofiler/comprofiler.php:477
6 cbPluginHandler->trigger() /home/site/public_html/administrator/components/com_comprofiler/library/cb/cb.tables.php:1598
7 cbPluginHandler->call() /home/site/public_html/administrator/components/com_comprofiler/plugin.class.php:541
8 call_user_func_array() /home/site/public_html/administrator/components/com_comprofiler/plugin.class.php:583
9 getProfileNotifyTab->beforeUserUpdate()
10 getProfileNotifyTab->sendNotification() /home/site/public_html/components/com_comprofiler/plugin/user/plug_cbprofilenotifier/cb.profile_notifier.php:262
11 JDatabaseMySQL->loadResult() /home/site/public_html/components/com_comprofiler/plugin/user/plug_cbprofilenotifier/cb.profile_notifier.php:122
12 JDatabaseMySQL->query() /home/site/public_html/libraries/joomla/database/database/mysql.php:355
13 JError->raiseError() /home/site/public_html/libraries/joomla/database/database/mysql.php:231
14 JError->raise() /home/site/public_html/libraries/joomla/error/error.php:171
15 JException->__construct() /home/site/public_html/libraries/joomla/error/error.php:136
Please Log in to join the conversation.
Please Log in to join the conversation.
<?php
include ("inc/common.php");
$user = "$_GET[user_id]"; //getting the user_id from URL
$query = "
SELECT
a.id
,a.$plat
,a.$plong
FROM
`$cbtable` a
WHERE
$searchfield = 'Yes' and a.id = $user
";
$rs = mysql_query ( $query );
...
Please Log in to join the conversation.
Please Log in to join the conversation.