Status: offline

Jefficus

Forum User
Chatty
Registered: 05/26/04
Posts: 59
I noticed a couple of small issues.

1) /admin/plugins/projects/index.php is missing an include for lib-common.php

2) After fixing that, attempting to view the index page results in a SQL error. In particular it appears that 'gl_projects.last_release' is an unknown field in the table. Sure enough, a quick peek into mysql shows that there is no such field.

Should I add that field?

This has been an opinion, brought to you by the fine people at Jefficus World.

Status: offline

mthomas

Forum User
Full Member
Registered: 04/18/04
Posts: 148
1) /admin/plugins/projects/index.php is missing an include for lib-common.php

Opps ok will add that line

2) After fixing that, attempting to view the index page results in a SQL error. In particular it appears that 'gl_projects.last_release' is an unknown field in the table. Sure enough, a quick peek into mysql shows that there is no such field.


The field should be 'gl_projects.proj_lastrelease' If its missing you may have used the RC3 installer which was not adding that field by accident, there is a file gl_projects_1.0RC2_to_1.0rc3.php in the admin fodler that will add the homepage, downloads and proj_lastrelease fields to the database. Else download RC4. Its thats what you have then some diggin on my part is needed to see what missing.

Status: offline

Jefficus

Forum User
Chatty
Registered: 05/26/04
Posts: 59
I downloaded the rc4 and installed from that. I wasn't aware there was an upgrade patch installer. Let me know if you need any more info about my system to debug it.
This has been an opinion, brought to you by the fine people at Jefficus World.

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Michael,

A suggestion would be to also not use generic table names in your plugin such as $_TABLES['table1']. I can just see some odd errors occurring this way.

The normal practice is to use your plugin name in the array key as in: $_TABLES['projects_table1']

Thats my - Keep up the good work





Geeklog components by PortalParts -- www.portalparts.com

Status: offline

mthomas

Forum User
Full Member
Registered: 04/18/04
Posts: 148
Michael,

A suggestion would be to also not use generic table names in your plugin such as $_TABLES['table1']. I can just see some odd errors occurring this way.

The normal practice is to use your plugin name in the array key as in: $_TABLES['projects_table1']

Thats my - Keep up the good work


Doesn't hurt to make the change just in case :-)