Forums

Menu links to forms no longer work

dawgfather 31 Jul, 2010
I can't detect that I've been hacked, but my forms that were working perfectly now don't work. My menus that had a chronoform name in the form name field are now blank. If I enter the form name in and save the menu item I still get a 404 error. If I click on the link in the forms management panel I get a 404 error. Also I had to revalidate my license as the validation went a way. Everything looks perfect in the forms management panel for each form (except for the link not working)

What could have happened and how can I fix it?
GreyHead 31 Jul, 2010
Hi dawgfather,

The links in the Forms Manager are about as basic as they can be. It sounds as though a file may be corrupt. Try taking a backup then re-installing ChronoForms (without unistalling first) to update all of the files.

Bob
dawgfather 02 Aug, 2010
Hi Bob -

The reinstall did not fix it. I have found what is happening but I don't know how to fix it. This code
in the jos_chrono_contact table -->html field
Is not finding any records from the query below so it uses the redirect url field (which the article does not exist in the conversion, that is why I'm getting a 404 error.

The problem still exists and there are records in the app_code_company table and a different form with the same query works fine. Any suggestions on how to fix this?

<?php
if ( !$mainframe->isSite() ) { return; }
$user =& JFactory::getUser();
$db =& JFactory::getDBO();
$query = "SELECT count(*)
FROM `jos_chronoforms_app_code_company`
WHERE `cf_user_id` = $db->Quote($user->id) ";
$db->setQuery($query);
$count = $db->loadResult();

If (! $count) {
header("Location: http://www.appcodestore.com/index.php?option=com_content&view=article&id=103");
exit;
}
dawgfather 02 Aug, 2010
Bob - Problem solved I did need the article and it was confusing because some of the links were SEF with suffixes and some of the links were standard joomla

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