Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

missing preview.php from components/com_community/views/manualdbupgrade/tmpl

3 years 3 months ago
Licenses:
JomSocial Active

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

Attachments:
3 years 3 months ago
Licenses:

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


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
The following user(s) said Thank You: Gabriella
3 years 3 months ago
Licenses:
JomSocial Active

There is no "preview.php" in the jomsocial installation package... Check my print scren....

Attachments:
3 years 3 months ago
Licenses:

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'; ?>


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
The following user(s) said Thank You: Gabriella
3 years 3 months ago
Licenses:
JomSocial Active

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....

3 years 3 months ago
Licenses:

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.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
3 years 3 months ago
Licenses:
JomSocial Active

I am sending the information below.....

3 years 3 months ago
Licenses:

HI, Gabriella.

There is no issue with sending friend requests:
prntscr.com/i132q5
prntscr.com/i131pd


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
3 years 3 months ago
Licenses:
JomSocial Active

Hy,

I have never said this problem! This never was a problem! I have to make friendship from Database(phpMyAdmin)!!!!!!

3 years 3 months ago
Licenses:

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.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
3 years 3 months ago
Licenses:
JomSocial Active

You have implemented a php side code already which will use the altered db structure?
Or need code change as well?

3 years 3 months ago
Licenses:

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.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
The following user(s) said Thank You: Gabriella
3 years 3 months ago
Licenses:
JomSocial Active

Thanks a lot! Your solutions works!!!

3 years 3 months ago
Licenses:

HI, Gabriella.

Great to hear that.
Cheers :)


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW