Willnot

Anonymous
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:

Text Formatted Code
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!

Willnot

Anonymous
Okay, fixed my log write access, the actual error is this:

Text Formatted Code
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
 

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
The error is in a table called "gl_pllinks", which is not a standard Geeklog table. Probably some plugin you've installed ...

bye, Dirk

Willnot

Anonymous
PHP Links. Any ideas? Or how do I just take that out of my menu then?

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
I don't know much about the PHPLinks integration. Try posting (and searching) over at Squatty's site.

bye, Dirk

Status: offline

jmichael

Forum User
Chatty
Registered: 04/08/04
Posts: 47
Yes, that is caused by PHP-Links. The solution is to REMOVE: AND (perm_anon >= 2).

Willnot

Anonymous
Sounds good to me!

er... Where would I find that

thanks

Willnot

Anonymous
confused
Bump. Can't find that one

Willnot

Anonymous
Er..... nudge?

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
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.

Status: offline

geKow

Forum User
Full Member
Registered: 01/12/03
Posts: 445
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

Willnot

Anonymous
Is it happening to you as well Gekow?

geKow

Anonymous
no, sorry... no problem here

geKow

Status: offline

ourangel

Forum User
Newbie
Registered: 06/19/05
Posts: 10
did you find any help , i am having the same problem