Manchester Gay and Lesbian escort agency
Home arrow Forum
myLANsite forum
Welcome, Guest
Please Login or Register.    Lost Password?
participants not shown in front or backend (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: participants not shown in front or backend
#357
optimush (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
participants not shown in front or backend 2 Years, 4 Months ago Karma: 0  
Hi,

Just installed mls_events and mls_lang, created an Event - (published, active and enrolment are acitve )everything ok even though there are some errors

Warning: Invalid argument supplied for foreach() in /components/com_mls_events/admin.mls_events.php on line 25

Warning: Invalid argument supplied for foreach() in /components/com_mls_events/admin.mls_events.php on line 273

Warning: Invalid argument supplied for foreach() in /components/com_mls_events/admin.mls_events.php on line 289

enrolment works also but users are not shown in list (front / backend)

mysql version:5.0.22
PHP Version 5.1.2

any hint?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#359
wiebbe (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:participants not shown in front or backend 2 Years, 4 Months ago Karma: 0  
ok, since no on else bothers to message you back, i will post the solution.

the problem is this: you are running PHP version 5.0 and the code is made for 4.x.

You might have to fix all those errors by placing (array) in some places where an array is being used.


(most likely just the places the error occurs, for example:

foreach($users as $user) {


}


becomes:

foreach((array)$users as $user) {


}

this fixes alot of these errors!
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
© 2009 myLANsite - Lanparty components for Joomla
Joomla! is Free Software released under the GNU/GPL License.