Problems with front end login

chriso0258 02 Jun, 2012
I am trying to set things up so that a particular user can log in the front end and edit a record from the front end. I'm having two problems:

1. When I use the regular Joomla login form I get the following error:
Fatal error: Class 'CFChronoConnection' not found in /home/jesusmyl/public_html/tnchess/components/com_chronoconnectivity/router.php on line 41

If I use the K2 user module to login, I don't get any error.

2. In the "Front Permissions" tab in ChronoConnectivity, I have Public and Super User highlighted for "List Permission" and Super User highlighted for all other permissions. In the "Frontend List Settings" tab "General" subtab, I have first_name and last_name added to the "Edit Field(s)" box. I also have the "Front Permissions Check" selected to yes.

However, when I go to the front end of the website, without logging in, I can edit any record. I closed out my browser and cleared any cache and when I go to the site, I can edit any record without having to log in.

What have I failed to configure correctly?
Max_admin 03 Jun, 2012
Hello Chris,

Problem#1: please add this line of code:
require_once(JPATH_SITE.DS."components".DS."com_chronoconnectivity".DS.'libraries'.DS.'chronoconnection.php');


After this line:
if(!empty($connection_name)){


in this file:
components/com_chronoconnectivity/router.php



Problem#2: I suggest that you double check that you have been logged out and that only super user is highlighted for other permissions ?

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
chriso0258 04 Jun, 2012
Hi Max. Thanks for your reply.

Problem#2: I suggest that you double check that you have been logged out and that only super user is highlighted for other permissions ?


I made sure I was logged out. I even closed out my browser and reopened it. I have the following configuration:
List Permissions: Public
All other permissions: Super User

I did a little more troubleshooting and found that if I left the "Read Permissions" blank, then I would get an "Access Denied" message. However, when I enabled Super User permissions, I was able to view/edit the record, even if I was logged out of the backend and opened a new browser.

Out of curiosity, I removed the super user permission from the Read Permissions box and set the Read Permissions to "Registered". Logged out. Closed out my browser. Went to the site, and I could still edit any record.

Just for further information, I do not have a front end login set up at this time. So the only permissions the list could have been drawing from would be if I had been logged in the back end with my super user account. But, since I logged out the back end and closed the browser, there should now be no connection to that, yet I am still able to edit individual records as long as I have any permission set in the Read Permissions Front End section.

I also noticed that I have to have a field in the "List View Fields" box and the same field in the "Edit Field(s)" box. If either of those is empty, there is no editable link, even if I log in.
Max_admin 05 Jun, 2012

I also noticed that I have to have a field in the "List View Fields" box and the same field in the "Edit Field(s)" box. If either of those is empty, there is no editable link, even if I log in.



Yes, this is expected.

The read permissions will authorize the records data loading, for example, inside the edit form, but it will not allow you to update the data itself, does this solve the problem ?

I suggest you test using different browsers as well and let me know if the issue persists.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
chriso0258 05 Jun, 2012
It just gets more interesting. I decided to create a test user and give the user editor permissions for all the Front Permissions and changed the global setting so the Editor group could edit their own.

I could bring up the edit form (which I couldn't do before I logged in). When I saved an edited record I got the following:

Fatal error: Call to undefined method CFChronoForm::injectAction() in /home/jesusmyl/public_html/tnchess/components/com_chronoconnectivity/libraries/chronoconnection.php on line 375


I tried doing this in both Firefox 12 and IE 9 and got the same results.
Max_admin 07 Jun, 2012
Do you have the latest Chronoforms installed ? please make sure you have V4 RC3.4.1
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
chriso0258 14 Jun, 2012
Sorry for the late reply; I've been out of town. I did an update for both CC and CF and things appear to be working fine.

Many thanks.
This topic is locked and no more replies can be posted.