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.

Undeclared variable: admin SQL=SELECT * FROM `rrovg_community_featured`

7 years 8 months ago
  • Edward's Avatar
    Topic Author
  • Edward
  • Offline
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Licenses:
JomSocial Active Socialize Expired

ISSUE SUMMARY:

After upgrading to 4.2.3, the following error appears whenever I try to view a photo album
Undeclared variable: admin SQL=SELECT * FROM `rrovg_community_featured` WHERE `type`='users' ORDER BY `id` DESC LIMIT 0,admin

is there a way to check all of the tables in mySQL to ensure they have the correct columns?

STEPS TO REPLICATE:
1 Log in to site
2 Select Photos from menu
3
4
5
RESULT Error: Undeclared variable: admin SQL=SELECT * FROM `rrovg_community_featured` WHERE `type`='users' ORDER BY `id` DESC LIMIT 0,admin
EXPECTED RESULT Photo albums displays
BROWSER Safari

7 years 8 months ago
Licenses:

Hi,

the issue not with database, but with your jomsocial configuration > layouts > Featured Item and Listing > Maximum Users
you put "admin" as value, instead of number.



please check it. I put 20 to tackle this issue.

Regards

Attachments:
The following user(s) said Thank You: Edward
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