Posted on: 01/18/07 06:04pm
By: Anonymous (hermit)
I just did two upgrades. One works, one doesn't. The one that doesn't won't allow posts unless I turn spam-x off. This version is very different from the last version. The only thing I can do is enable or disable it. The error page seems to indicate that alot of the old stuff is still in the db? This is what I get:
An error has occurred:
2 - preg_match(): Compilation failed: nothing to repeat at offset 0 @ /home/ginny/plugins/spamx/BlackList.Examine.class.php line 72
array(12) {
["this"]=>
&object(blacklist)(2) {
["result"]=>
NULL
["num"]=>
int(0)
Followed by lots more. But towards the end, I see some of the stuff from the old install. Did I miss something?
Thanks
Re: spamx
Posted on: 01/18/07 07:48pm
By: Anonymous (hermit)
Replying to my own post. I have a little more info. Turns out I have a spamx link on one site and not the other. So, I tried to go to the missing link by placing the path in the url. I now get:
Access Denied
Only Root Users have Access to this Page. Your user name and IP have been recorded.
I have tried from two accounts with the user showing 'checked' as a root user under the users panel. I even wiped out the old stuff and started over. So, I'm more than stumped at this point.
Thanks
Hermit
Re: spamx
Posted on: 01/18/07 08:48pm
By: Anonymous (Hermit)
I cleared all of my 'personal' items out of the DB and posting is now working. I just have to find out why I don't get access to configure it from the root account.
Re: spamx
Posted on: 01/18/07 10:28pm
By: Anonymous (Hermit)
From the spamx index.php page in the admin directory:
// Only let admin users access this page
if (!SEC_hasRights ('spamx.admin'
) {
If I remove the ! I can login and use the page. So, I would have to think that I am not passing the correct value. Since the DB is the only hold over, I would have to think that the problem is in there some where. I have poked around using a gui interface, but I can't find anything that sticks out when comparing the working install to the non working install. Any clues on where to look in the DB?
Thanks
Hermit
Re: spamx
Posted on: 01/19/07 02:06pm
By: Dirk
You seem to have lost the 'spamx.admin' permission. Check that your user account is still a member of the 'spamx Admin' group and that that group still contains that permission.
bye, Dirk
Re: spamx
Posted on: 01/19/07 04:15pm
By: Anonymous (hermit)
I added spamx admin to one user and logged in. Still nothing. It shows ok in the gui when assigning to the users. That is why I was wondering where in the DB the flag gets set.
Hermit
Re: spamx
Posted on: 01/19/07 04:24pm
By: Dirk
Edit the 'spamx Admin' group. Make sure it has the 'spamx.admin' entry checked (under 'Rights'
.
bye, Dirk
Re: spamx
Posted on: 01/19/07 05:43pm
By: Anonymous (hermit)
That did it. Thanks.