Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 03:25 am EST
Geeklog Forums
Enabling php in static pages
Rob
Anonymous
Is it possible to enable php in a staticpage? If so can someone explain to me in really simple terms.
Thanks.
Thanks.
4
8
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Have you tried reading the documentation? Which is actually linked from the static pages editor ...
bye, Dirk
bye, Dirk
4
6
Quote
Rob
Anonymous
An SQL error has occurred. Please see error.log for details.
I get this when i go to groups, but everything else works fine ??
I get this when i go to groups, but everything else works fine ??
5
5
Quote
Rob
Anonymous
would you have any idea where i would find that?
5
7
Quote
Rob
Anonymous
hi dirk,
its not there ive gone to the path to geeklog and there is no logs folder.
its not there ive gone to the path to geeklog and there is no logs folder.
4
11
Quote
Rob
Anonymous
found it!
this is the logged message
Fri May 29 19:02:48 2009 - 1054: Unknown column 'grp_gl_core' in 'where clause'. SQL in question: SELECT * FROM ge_groups WHERE (grp_gl_core = 0 OR grp_id in (2,13))
this is the logged message
Fri May 29 19:02:48 2009 - 1054: Unknown column 'grp_gl_core' in 'where clause'. SQL in question: SELECT * FROM ge_groups WHERE (grp_gl_core = 0 OR grp_id in (2,13))
6
6
Quote
Rob
Anonymous
its version 1.4.1 and i installed it through my webhosts script thingy..
7
7
Quote
Rob
Anonymous
Hi Dirk,
I do have access to phpmyadmin what do i need to do?
I do have access to phpmyadmin what do i need to do?
5
6
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The UI of phpMyAdmin differs a lot between versions, so please bear with me. I'll try to describe what you should be seeing.
Find the gl_groups table and click on it. You should have a tab "Structure" where you can see the fields in that table. There should be 4 of them: grp_id, grp_name, grp_descr, and grp_gl_core.
From your description, it seems like you are missing the last one, grp_gl_core.
If so: There should be an option to add 1 field at the end of the table. Do that with the following information:
- Field name is "grp_gl_core"
- Type is "TINYINT"
- Length is "1"
- Attributes is "UNSIGNED"
- for Null select "not null"
- Default is "0"
- leave any other options (collation, extra) empty
Click on "Save", then try to get into Geeklog's Groups editor again.
Fortunately, that field is really only used for filtering out the Admin groups in the Groups editor. That won't work for you, but other than that you won't be missing any functionality.
bye, Dirk
Find the gl_groups table and click on it. You should have a tab "Structure" where you can see the fields in that table. There should be 4 of them: grp_id, grp_name, grp_descr, and grp_gl_core.
From your description, it seems like you are missing the last one, grp_gl_core.
If so: There should be an option to add 1 field at the end of the table. Do that with the following information:
- Field name is "grp_gl_core"
- Type is "TINYINT"
- Length is "1"
- Attributes is "UNSIGNED"
- for Null select "not null"
- Default is "0"
- leave any other options (collation, extra) empty
Click on "Save", then try to get into Geeklog's Groups editor again.
Fortunately, that field is really only used for filtering out the Admin groups in the Groups editor. That won't work for you, but other than that you won't be missing any functionality.
bye, Dirk
8
7
Quote
Rob
Anonymous
thanks dirk that worked!! however i am getting the same error on the plugins page too, how can i rectifify this??
6
6
Quote
Rob
Anonymous
this is the error i am getting in error.log
Sun May 31 20:38:41 2009 - 1054: Unknown column 'pi_gl_version' in 'field list'. SQL in question: SELECT pi_name, pi_version, pi_gl_version, pi_enabled, pi_homepage FROM ge_plugins WHERE 1=1
Sun May 31 20:38:41 2009 - 1054: Unknown column 'pi_gl_version' in 'field list'. SQL in question: SELECT pi_name, pi_version, pi_gl_version, pi_enabled, pi_homepage FROM ge_plugins WHERE 1=1
10
4
Quote
Rob
Anonymous
Hi Dirk,
No it is not the exact same error this time in error.log i am getting
Sun May 31 20:38:41 2009 - 1054: Unknown column 'pi_gl_version' in 'field list'. SQL in question: SELECT pi_name, pi_version, pi_gl_version, pi_enabled, pi_homepage FROM ge_plugins WHERE 1=1
No it is not the exact same error this time in error.log i am getting
Sun May 31 20:38:41 2009 - 1054: Unknown column 'pi_gl_version' in 'field list'. SQL in question: SELECT pi_name, pi_version, pi_gl_version, pi_enabled, pi_homepage FROM ge_plugins WHERE 1=1
4
4
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Something about your setup is really very odd. Is this a new install or has it been running for a while (1.4.1 isn't exactly new)? If it's not a new install - have these things worked before?
To add the missing field: Go into the "Structure" tab for the gl_plugins table, add a new field "pi_gl_version" with Type "VARCHAR", Length "20", and null set to "not null". Leave the other entries blank.
Again, nothing vital missing there. But I've never seen such an install before ...
bye, Dirk
To add the missing field: Go into the "Structure" tab for the gl_plugins table, add a new field "pi_gl_version" with Type "VARCHAR", Length "20", and null set to "not null". Leave the other entries blank.
Again, nothing vital missing there. But I've never seen such an install before ...
bye, Dirk
6
7
Quote
Rob
Anonymous
hi dirk,
all working, ive had geeklog for about a year now and i think there must be something odd about my hosts installer as these have never worked (until today!)
all working, ive had geeklog for about a year now and i think there must be something odd about my hosts installer as these have never worked (until today!)
11
5
Quote
All times are EST. The time is now 03:25 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content