FreiChat related discussions
Lots of issues with arg.php file

Once installed and I login to the admin area, everything I click on (other then the dashboard itself) returns an error in arg.php

Fatal error: Call to a member function fetchAll() on a non-object in /home/u72/public_html/daytraderstar/chat/arg.php on line 65

Fatal error: Call to a member function fetchAll() on a non-object in /home/u72/public_html/daytraderstar/chat/administrator/admin_files/chatrooms/chatrooms/index.php on line 218

Plus, I have added the code between the <head> and </head> tags and still see this message in the check form:

freichat code is not found ....
looks like you have copy pasted the code in the wrong location/file . please correct it

Once installed and I login to the admin area, everything I click on (other then the dashboard itself) returns an error in arg.php Fatal error: Call to a member function fetchAll() on a non-object in /home/u72/public_html/daytraderstar/chat/arg.php on line 65 Fatal error: Call to a member function fetchAll() on a non-object in /home/u72/public_html/daytraderstar/chat/administrator/admin_files/chatrooms/chatrooms/index.php on line 218 Plus, I have added the code between the &lt;head&gt; and &lt;/head&gt; tags and still see this message in the check form: freichat code is not found .... looks like you have copy pasted the code in the wrong location/file . please correct it
edited Mar 31 '18 at 8:09 pm

Hi,

Which version of php are you using ? Can you paste the contents of hardcode.php in freichat folder here ?

Hi, Which version of php are you using ? Can you paste the contents of hardcode.php in freichat folder here ?
Necessity is the mother of all inventions!

cPanel Version 68.0 (build 36)
Apache Version 2.2.32
PHP Version 5.5.38
MySQL Version 5.5.58-cll

<?php
/ Data base details /
$dsn='mysql:host=localhost;port=port=3306;;dbname=Removed for security'; //DSN
$db_user='Removed for security'; //DB username
$db_pass='Removed for security'; //DB password
$driver='Custom'; //Integration driver
$db_prefix='Removed for security'; //prefix used for tables in database
$uid='Removed for security'; //Any random unique number

$connected='YES'; //only for custom installation

$PATH = 'chat/'; // Use this only if you have placed the freichat folder somewhere else
$installed=true; //make it false if you want to reinstall freichat
$admin_pswd='Removed for security'; //backend password

$debug = false;
$custom_error_handling='YES'; // used during custom installation

$use_cookie='false';

/ email plugin /
$smtp_username = '';
$smtp_password = '';

$force_load_jquery = 'NO';

/ Custom driver /
$usertable='login'; //specifies the name of the table in which your user information is stored.
$row_username='root'; //specifies the name of the field in which the user's name/display name is stored.
$row_userid='loginid'; //specifies the name of the field in which the user's id is stored (usually id or userid)

$avatar_table_name='members'; //specifies the table where avatar information is stored
$avatar_column_name='avatar'; //specifies the column name where the avatar url is stored
$avatar_userid='id'; //specifies the userid to the user to get the user's avatar
$avatar_reference_user='id'; //specifies the reference to the user to get the user's avatar in user table
$avatar_reference_avatar='id'; //specifies the reference to the user to get the user's avatar in avatar
$avatar_field_name=$avatar_column_name; //to avoid unnecessary file changes , *do not change

cPanel Version 68.0 (build 36) Apache Version 2.2.32 PHP Version 5.5.38 MySQL Version 5.5.58-cll &lt;?php /* Data base details */ $dsn=&#039;mysql:host=localhost;port=port=3306;;dbname=*Removed for security*&#039;; //DSN $db_user=&#039;*Removed for security*&#039;; //DB username $db_pass=&#039;*Removed for security*&#039;; //DB password $driver=&#039;Custom&#039;; //Integration driver $db_prefix=&#039;*Removed for security*&#039;; //prefix used for tables in database $uid=&#039;*Removed for security*&#039;; //Any random unique number $connected=&#039;YES&#039;; //only for custom installation $PATH = &#039;chat/&#039;; // Use this only if you have placed the freichat folder somewhere else $installed=true; //make it false if you want to reinstall freichat $admin_pswd=&#039;*Removed for security*&#039;; //backend password $debug = false; $custom_error_handling=&#039;YES&#039;; // used during custom installation $use_cookie=&#039;false&#039;; /* email plugin */ $smtp_username = &#039;&#039;; $smtp_password = &#039;&#039;; $force_load_jquery = &#039;NO&#039;; /* Custom driver */ $usertable=&#039;login&#039;; //specifies the name of the table in which your user information is stored. $row_username=&#039;root&#039;; //specifies the name of the field in which the user&#039;s name/display name is stored. $row_userid=&#039;loginid&#039;; //specifies the name of the field in which the user&#039;s id is stored (usually id or userid) $avatar_table_name=&#039;members&#039;; //specifies the table where avatar information is stored $avatar_column_name=&#039;avatar&#039;; //specifies the column name where the avatar url is stored $avatar_userid=&#039;id&#039;; //specifies the userid to the user to get the user&#039;s avatar $avatar_reference_user=&#039;id&#039;; //specifies the reference to the user to get the user&#039;s avatar in user table $avatar_reference_avatar=&#039;id&#039;; //specifies the reference to the user to get the user&#039;s avatar in avatar $avatar_field_name=$avatar_column_name; //to avoid unnecessary file changes , *do not change
edited Apr 2 '18 at 11:53 am

Hi

You have not integrated your users.

Did you complete the installation or skip the user integration part?

Hi You have not integrated your users. Did you complete the installation or skip the user integration part?
Necessity is the mother of all inventions!
155
3
3
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft