Dear Support,
we would like to use manual database change for jomsocial, but it seems, it cannot syncs down to the site, and my apache error log gives a file not found error on info level.
file checked, not in folder
default php has an entry: include once preview.php
please send us this file as soon as possible
please handle this problem as a very high prio,our site is close to go-live,
Thanks in Advance:
Tom Szerdahelyi
Thank you very
HI, Gabriela.
Thank you for contacting us.
If file is missing in your installation it means installation is corrupted or wasn't done properly.
File you've mentioned is available in installation package in com_community_professional/admin/backend/views/manualdbupgrade/tmlp try to copy it to
ROOT/administrator/components/com_community/views/manualdbupgrade/tmpl
HI, Gabriella.
Hmm... indeed, there is no such a file and this line should be commented.
Comment it like this:
<?php //include_once 'preview.php'; ?>
I've made this modification, but it's still not working.... Now we have a different error:
[Mon Jan 15 11:07:03.367543 2018] [fcgid:warn] [pid 5839] [client 217.112.139.23:52965] mod_fcgid: stderr: PHP Warning: call_user_func_array() expects parameter 2 to be array, object given in /var/www/clients/client1/web1/web/components/com_community/libraries/apps.php on line 304, referer:
www.mygnoo.com/index.php?option=com_comm...ileType=1&Itemid=103
I have to make friendships from database, but it's not appearing on frontend, that's the main problem....
HI, Gabriela.
You may ignore it as this is only a PHP warning.
Browse to Backend -> System -> Global configuration -> Server -> Error displaying -> Default or NONE
It will not influence your system performance in any way.
As for friendship feature - need to see it to debug it.
Please:
1. Edit your first post.
2. Click switch below main text field:
prntscr.com/fk3hdg
3. Provide your site details: backend URL, admin credentials and FTP:
prntscr.com/fk3hwz
4. Let us know that you provided credentials by posting in the same thread.
HI, Gabriella.
There is no issue with sending friend requests:
prntscr.com/i132q5
prntscr.com/i131pd
HI, Gabriella.
So you want to kind a force users to be friends, by modifying database structure.
You need to create row in two tables:
_community_connection
_connection_id autoincrement
connect_from = e.g you
connect_to = user that you want to be friend with
status = 1
group = (leave empty)
So you just need to create new row.
HI, Gabrielle.
If I understand - you want to modify db to make friends from users.
So this do not involve any php - just explained what in db needs to be done.
Making friends on your site works correctly and there is no need to adjust anything.
HI, Gabriella.
Great to hear that.
Cheers :)