CompanyDirectory not adding/displaying properly

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
mtel
New Member
New Member
Posts: 5
Joined: Wed Mar 14, 2012 9:28 pm

CompanyDirectory not adding/displaying properly

Post by mtel »

Hi,
I've got an intranet running CMSMS 1.10 and I recently updated CompanyDirectory from 1.10.8 to 1.14.4 but it has resulted in several issues that I can't figure out a solution for:

*Adding companies through the interface doesn't work. After hitting the submit button it renders a page down to the "Company Directory" header and the "Module Help" button and then nothing else - it doesn't make an MYSQL entry or return an error. Editing works fine, and if I manually insert the id, company_name, create_date and owner_id into the database then the company will show up in the list for editing the rest of the information into it.

*The (backend) list of companies does not display 'disabled' companies - even when the filter is set to only display disabled companies (it simply says there's none that meet the criteria)

*On the detail view it is no longer matching hier_id with hier/long_name - it simply outputs an empty value. Searching on hierarchy still works fine.

This behaviour is consistent across upgrading CompanyDirectory on an existing site build, a fresh deployment of CompanyDirectory and CMSMS with an imported site database, and the failure to add company occurs even on a completely default from-scratch site with no existing database.
Anyone have an idea what might be causing this?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: CompanyDirectory not adding/displaying properly

Post by calguy1000 »

The latest released version of CompanyDirectory is v. 1.16.1
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
mtel
New Member
New Member
Posts: 5
Joined: Wed Mar 14, 2012 9:28 pm

Re: CompanyDirectory not adding/displaying properly

Post by mtel »

1.16 requires me to update CMSMS past 1.10 which breaks the site's templates. I was hoping there might be a stop-gap measure which allowed me to roll out a more up-to-date CompanyDirectory, as it immediately resolves some internal complaints about directory searching in the current version, without requiring me to wait for when I have the time that a full site update appears to require.
freakstar

Re: CompanyDirectory not adding/displaying properly

Post by freakstar »

I'm experiencing the same issues, is there any solution for this?

CMSMS 1.11.4
CompanyDirectory 1.17
CGExtensions 1.31.3
JQueryTools 1.2.3
CGSimpleSmarty 1.5.2

Recently updated this site because CompanyDirectory wasn't working at all anymore, bad displaying buttons and unable to edit or add. Now i've updated everything is the displaying ok again but still can't add or edit an company.
mtel
New Member
New Member
Posts: 5
Joined: Wed Mar 14, 2012 9:28 pm

Re: CompanyDirectory not adding/displaying properly

Post by mtel »

I've managed to update my site to 1.11.4 / 1.17 and still have the same problems, still trying to find a solution.

I removed the entire module and let it delete its database entries, then reinstalled it and I still can't add companies without manually inserting them into the database.
User avatar
kerryshamblin
Forum Members
Forum Members
Posts: 87
Joined: Wed Apr 14, 2010 5:21 pm

Re: CompanyDirectory not adding/displaying properly

Post by kerryshamblin »

Just upgraded CompanyDirectory to 1.17 and I don't have any of the listings that show up in the back end showing up in the front end. Have cleared cache and just upgraded from CMS 1.11.3 to 1.11.4. Also have:

CGExtensions 1.31.3
CGSimpleSmarty 1.5.2

Tried re-setting the template to factory default. Any other ideas?

Thanks!
mtel
New Member
New Member
Posts: 5
Joined: Wed Mar 14, 2012 9:28 pm

Re: CompanyDirectory not adding/displaying properly

Post by mtel »

I tracked my issues with adding companies to the Latitude/Longitude variables as per this closed ticket. The fix there didn't work for me, but we don't use these fields anyway, so I edited action.addcompany.php to set their initial values as '1', then removed their entry boxes from editcompany.tpl - I can now add companies again without issue.

Still having problems getting the hierarchies to display. Hier_id is working fine, it's just failing to link that to the name/long_name in compdir_hier. The code in the detail template is {$entry->hiername} - anybody have any idea if that's correct and if it isn't what it should be?
Post Reply

Return to “Modules/Add-Ons”