<div dir="ltr"><div><div><div><div>Thanks Obinna, I had already done these steps<br><br></div>1. make install-apache to replace the apache snippet with exactly like attachement<br></div>2. deleted the .htaccess in the docs folder to make sure basic authentication is not used<br></div>3. created a non-htpasswd admin with password<br><br></div><div>I still get bad cookie on upgraded install. And new install has empty access tables with error:<br><br>DBD::mysql::st execute failed: Cannot add or update a child row: a foreign key constraint fails (`freeside`.`access_usergroup`, CONSTRAINT `access_usergroup_ibfk_2` FOREIGN KEY (`groupnum`) REFERENCES `access_group` (`groupnum`)) [for Statement "INSERT INTO access_usergroup ( usernum, groupnum) VALUES ('6', '1')"] at /usr/local/share/perl5/FS/Record.pm line 1375.<br>Cannot add or update a child row: a foreign key constraint fails (`freeside`.`access_usergroup`, CONSTRAINT `access_usergroup_ibfk_2` FOREIGN KEY (`groupnum`) REFERENCES `access_group` (`groupnum`)) at /usr/local/bin/freeside-adduser line 39.<br><br></div><div>Regards,<br></div><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 13, 2016 at 12:41 PM, Obinna Chukwujekwu <span dir="ltr"><<a href="mailto:ochukwujekwu@ipnxnigeria.net" target="_blank">ochukwujekwu@ipnxnigeria.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">






<div>
<div>For the upgrade from 3.9 try using the attached to replace your freeside-base2.conf under /etc/httpd/conf.d/</div>
<div> </div>
<div>For the new install, when adding your account run the command as: <span>freeside-adduser -g 1 username password; to create the account in the access_user table instead of the htpasswd file.</span></div>
<div> </div>
<div>Freeside versions prior to 4.0 authenticate users via the htpasswd file under /usr/local/etc/freeside/ while 4.0 authenticates users via the access_user table in the freeside database.</div>
<div> </div>
<div>Let me know if this works for you.</div>
<div> </div>
<div>
<div>
<p class="MsoNormal"><span></span> </p>
<p class="MsoNormal"><span>Kind Regards …</span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal"><span><u></u><u></u><u></u></span> </p>
<p class="MsoNormal"><span><u></u> <u></u></span><span>Obinna Chukwujekwu<br></span></p></font></span></div></div><div><div class="h5">
<div> </div>
<div> </div>
<div> </div>
<div>------ Original Message ------</div>
<div>From: "Madalitso Mzandu" <<a href="mailto:amzandu@gmail.com" target="_blank">amzandu@gmail.com</a>></div>
<div>To: <a href="mailto:freeside-users@freeside.biz" target="_blank">freeside-users@freeside.biz</a></div>
<div>Sent: 13-Apr-16 11:31:56</div>
<div>Subject: [freeside-users] FS-4.0 CENTOS 6.7</div>
<div> </div>
<div>
<blockquote cite="http://CAEaYdoO1WdMw=O7wEmw9NzKsVSwmhx1FE2b8jnXYNmKQws6n+w@mail.gmail.com" type="cite">
<div dir="ltr">
<div>Testing 4.0 on CentOS 6.7. If anyone has managed to get it working please help.<br><br>New Install has empty access_group,access_rights and access_usergroup. Upgrade from 3.9 gives "bad cookie" when I login with apache log:</div><br>
<div> bad session 3t16KCwxrnFkJPnLcSR2F19Ypp/0XhtqR4M4w5tY from 10.1.8.2<br>[Wed Apr 13 07:12:45 2016] [error] [client 10.1.8.2] Can't call method "usernum" without a package or object reference at /usr/local/share/perl5/FS/<a href="http://access_user_log.pm/" target="_blank">access_user_log.pm</a> line 81.\n, referer: <a href="http://10.1.10.11/login" target="_blank">http://10.1.10.11/login</a><br><br></div>
<div>Regards,<br></div>
<div><br></div>
<div><br></div></div></blockquote></div></div></div></div><br>_______________________________________________<br>
freeside-users mailing list<br>
<a href="mailto:freeside-users@freeside.biz">freeside-users@freeside.biz</a><br>
<a href="http://freeside.biz/cgi-bin/mailman/listinfo/freeside-users" rel="noreferrer" target="_blank">http://freeside.biz/cgi-bin/mailman/listinfo/freeside-users</a><br>
<br></blockquote></div><br></div>