Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottomPage: 1
TOPIC: errormessage when delete attendees i the backend
2010/03/07 13:40 #6068
errormessage when delete attendees i the backend Print this page
at the moment i can delete in the backend some attendees, but i have always this error messages:

Warning: Invalid argument supplied for foreach() in /var/www/virtual/xxx/administrator/components/com_redevent/views/attendees/tmpl/default.php on line 69

Warning: Invalid argument supplied for foreach() in /var/www/virtual/xxx/administrator/components/com_redevent/views/attendees/tmpl/default.php on line 130

not realy important, it works but is not so fine code ;-)


Michael from de-DE
Offline
The administrator has disabled public write access. Top
MichaelSeidler
 
Gold Boarder
Posts: 165
graphgraph
2010/03/07 21:59 #6079
Re:errormessage when delete attendees i the backend Print this page
Hi Michael

Both lines 69 and 130 initialize the getRedFormFrontFields method in the "RedEventModelAttendees" model. The following fields could be renamed or missing in the database:

The "id" or the "showfields" field in the jos_redevent_events table or the "id or "field" field in the jos_rwf_fields table. Make sure that these fields exists.

This error may occur because you have updated an older version of redEVENT. If you have a bit experience with MySQL development go to line 230 in this file:

/var/www/virtual/xxx/administrator/components/com_redevent/models/attendees.php

Uncomment lines of code to figure out wha'ts causing this error. Or like you said yourself. Maybe it isn't that important if the code is working as it should :o)

/Johnny
Offline
The administrator has disabled public write access. Top
Johnny Drud
 
Moderator
Posts: 127
graphgraph
2010/03/08 09:46 #6081
Re:errormessage when delete attendees i the backend Print this page
it's a bug i fixed in svn. it'll be fine in next release
Offline
The administrator has disabled public write access. Top
julienV
 
Moderator
Posts: 961
graphgraph
For all support request, please provide your current versions of joomla, and of the redcomponent extensions.
2010/03/08 10:12 #6085
Re:errormessage when delete attendees i the backend Print this page
Dear Johnny & Julien,

thanks for your information.

@johnny
Every named fields be inside the two tables ;-),

michael from de_DE
Offline
The administrator has disabled public write access. Top
MichaelSeidler
 
Gold Boarder
Posts: 165
graphgraph
2010/03/08 10:46 #6088
Re:errormessage when delete attendees i the backend Print this page
the bug happens when trying to get the 'display in frontend' fields for the form associated to the event for the attendees column display.
Offline
The administrator has disabled public write access. Top
julienV
 
Moderator
Posts: 961
graphgraph
For all support request, please provide your current versions of joomla, and of the redcomponent extensions.
Go to topPage: 1