Posted on: 04/08/04 03:28pm
By: Anonymous (Willnot)
Hi,
I am susing 1.3.9, with the Gameserver layout.
On the top menu, there is a button for Site Statistics (not a plug in)
As Admin, I click on it and it works fine. Anyone else get this error:
Warning: fopen(/home/clizon/public_html/web2/logs/error.log): failed to open stream: Permission denied in /home/xxxxxx/public_html/web2/lib-common.php on line 1509
An SQL error has occured. Please see error.log for details.
Can't figure this one out. I can't find any permission settings that would cause this either. Worst case, I want the option taken off my menu - can' figure that one out either.
Thanks in advance!
Site Statistics
Posted on: 04/08/04 03:32pm
By: Anonymous (Willnot)
Okay, fixed my log write access, the actual error is this:
Thu Apr 8 14:30:53 2004 - 1054: Unknown column 'perm_anon' in 'where clause'. SQL in question: SELECT id,siteurl,sitename,hitsout from gl_pllinks WHERE (hitsout > 0) AND (perm_anon >= 2) ORDER BY hitsout desc LIMIT 10
Site Statistics
Posted on: 04/08/04 03:39pm
By: Dirk
The error is in a table called "gl_pllinks", which is not a standard Geeklog table. Probably some plugin you've installed ...
bye, Dirk
Site Statistics
Posted on: 04/08/04 04:34pm
By: Anonymous (Willnot)
PHP Links. Any ideas? Or how do I just take that out of my menu then?
Site Statistics
Posted on: 04/08/04 04:59pm
By: Dirk
I don't know much about the PHPLinks integration. Try posting (and searching) over at
Squatty's site[*1] .
bye, Dirk
Site Statistics
Posted on: 04/08/04 05:03pm
By: jmichael
Yes, that is caused by PHP-Links. The solution is to REMOVE: AND (perm_anon >= 2).
Site Statistics
Posted on: 04/08/04 06:42pm
By: Anonymous (Willnot)
Sounds good to me!
er... Where would I find that
thanks
Site Statistics
Posted on: 04/10/04 12:49pm
By: Anonymous (Willnot)
Bump. Can't find that one
Site Statistics
Posted on: 04/12/04 05:56pm
By: Anonymous (Willnot)
Er..... nudge?
Site Statistics
Posted on: 04/13/04 09:58am
By: Turias
I guess jmichael doesn't check the site often. You could try using grep to recursivesly search through your files for that code. Either that or e-mail him through the link in his profile.
Site Statistics
Posted on: 04/13/04 10:26am
By: geKow
I tried that (just to help out) and I found 38 files containing "perm_anon" but none related to phplinks (wich I use, too)
geKow
Site Statistics
Posted on: 04/21/04 06:17pm
By: Anonymous (Willnot)
Is it happening to you as well Gekow?
Site Statistics
Posted on: 04/21/04 07:29pm
By: Anonymous (geKow)
no, sorry... no problem here
geKow
Site Statistics
Posted on: 06/19/05 01:45am
By: ourangel
did you find any help , i am having the same problem