CompanyDirectory FE Edit goes to admin/login.php on submit
Posted: Sun Dec 16, 2012 9:06 am
I am in a serious bind, I really need help.
I have CompanyDirectory installed with about 110 companies. Each company is tied to a FrontEndUser so they can edit their company listing. I tested it to make sure users could easily change their own company listing and update their account information. Everything looked good, and the site was made live. Now the submit action is suddenly behaving very strangely:
I have a Protected Content page that with content:
{CompanyDirectory action="frontendlist"}
This displays the list of companies attached to the user and the edit link.
Clicking Edit will take the user to index.php?mact=CompanyDirectory,cntnt01,fe_edit2,0&cntnt01companyid=57&cntnt01returnid=63
It populates the form data and you can edit the fields. Press submit and all the sudden you end up at /admin/login.php
Click browser Back - changes to text areas are saved, the fax field data is copied into the telephone field (if fax is NULL then the phone number is also blanked), checkbox custom field values will not save but dropdown types will.
I tried switching back to a default fe_edit template but I'm getting the same behavior. I don't have any errors in the error log, no errors are displayed.
I have also tried {CompanyDirectory action="frontendlist"} on a default Simplex template page using a default fe_edit template. Editing the listing then hitting submit returns you to the page with the companies list and shows that the company has been edited BUT any changes to checkbox fields are not saved and telephone is being written with whatever is in Fax.
It's a mess
I don't know what to do. I also tried replacing all the files of CompanyDirectory with a fresh download, no joy.
----------------------------------------------
Cms Version: 1.11.3
Installed Modules:
CMSMailer: 5.2.1
CMSPrinting: 1.0.3
FileManager: 1.4.2
MenuManager: 1.8.4
MicroTiny: 1.2.4
ModuleManager: 1.5.5
News: 2.12.10
Search: 1.7.7
ThemeManager: 1.1.7
TemplateExternalizer: 2.0.8
TinyMCE: 2.9.12
CGSimpleSmarty: 1.5.2
CGExtensions: 1.31.2
JQueryTools: 1.1.1
CompanyDirectory: 1.16.2
FrontEndUsers: 1.21
NeoModule: 0.5.0
NeoContentOps: 0.1.0
MysqlDump: 1.2.4
CGSmartImage: 1.9.5
CGCalendar: 1.10.0.1
FEUMailer: 0.9.4
Config Information:
php_memory_limit:
process_whole_template:
output_compression:
max_upload_size: 24000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true
Php Information:
phpversion: 5.2.17
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
memory_limit: 64M
max_execution_time: 600
output_buffering: On
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 24M
upload_max_filesize: 24M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
Server Information:
Server Api: cgi
Server Db Type: MySQL (mysqli)
Server Db Version: 5.0.96
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
----------------------------------------------
I have CompanyDirectory installed with about 110 companies. Each company is tied to a FrontEndUser so they can edit their company listing. I tested it to make sure users could easily change their own company listing and update their account information. Everything looked good, and the site was made live. Now the submit action is suddenly behaving very strangely:
I have a Protected Content page that with content:
{CompanyDirectory action="frontendlist"}
This displays the list of companies attached to the user and the edit link.
Clicking Edit will take the user to index.php?mact=CompanyDirectory,cntnt01,fe_edit2,0&cntnt01companyid=57&cntnt01returnid=63
It populates the form data and you can edit the fields. Press submit and all the sudden you end up at /admin/login.php
Click browser Back - changes to text areas are saved, the fax field data is copied into the telephone field (if fax is NULL then the phone number is also blanked), checkbox custom field values will not save but dropdown types will.
I tried switching back to a default fe_edit template but I'm getting the same behavior. I don't have any errors in the error log, no errors are displayed.
I have also tried {CompanyDirectory action="frontendlist"} on a default Simplex template page using a default fe_edit template. Editing the listing then hitting submit returns you to the page with the companies list and shows that the company has been edited BUT any changes to checkbox fields are not saved and telephone is being written with whatever is in Fax.
It's a mess

I don't know what to do. I also tried replacing all the files of CompanyDirectory with a fresh download, no joy.
----------------------------------------------
Cms Version: 1.11.3
Installed Modules:
CMSMailer: 5.2.1
CMSPrinting: 1.0.3
FileManager: 1.4.2
MenuManager: 1.8.4
MicroTiny: 1.2.4
ModuleManager: 1.5.5
News: 2.12.10
Search: 1.7.7
ThemeManager: 1.1.7
TemplateExternalizer: 2.0.8
TinyMCE: 2.9.12
CGSimpleSmarty: 1.5.2
CGExtensions: 1.31.2
JQueryTools: 1.1.1
CompanyDirectory: 1.16.2
FrontEndUsers: 1.21
NeoModule: 0.5.0
NeoContentOps: 0.1.0
MysqlDump: 1.2.4
CGSmartImage: 1.9.5
CGCalendar: 1.10.0.1
FEUMailer: 0.9.4
Config Information:
php_memory_limit:
process_whole_template:
output_compression:
max_upload_size: 24000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true
Php Information:
phpversion: 5.2.17
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
memory_limit: 64M
max_execution_time: 600
output_buffering: On
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 24M
upload_max_filesize: 24M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
Server Information:
Server Api: cgi
Server Db Type: MySQL (mysqli)
Server Db Version: 5.0.96
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
----------------------------------------------