| Author |
Message |
mari
Joined: Sep 08, 2005
Posts: 9
Status: Offline
|
Posted:
Sep 08, 2005 - 06:56 PM |
|
Hello,
I installed the Pngroups module and when i go to administration i get this message "Error! Called unknown function: pn_groups_admin_main()"
. Can someone help me?
Thanks |
|
|
|
 |
Chestnut
Site Admin
Joined: Oct 08, 2003
Posts: 1065
Location: Paris - France
|
  Posted:
Sep 08, 2005 - 08:13 PM |
|
mmm
First, you probable are making a typo somewhere because this : pn_groups_admin_main... it doesn't exists, best bet would be pngroups_admin_main...
That cleared out
1 - you must have 0.760 minimum. If you have under, consider upgrading... pnGroups won't work on 0.75
1B - It could be a file problem - reupload all the files to be sure there are all there. If the error is still there, move to #2
2 - Upload the pnGroups folder to you modules folder.
3 - In Administration - Modules
- Regenerate
- Initialize the pnGroups line
- Activate.
4 - On the "Modules" line, click on "Hooks" and check the pnGroups checkbox.
That's it... there is nothing else special to do. And following this procedure, it should work, there is no other way to install it.
 |
_________________ Chestnut !
Administrator
PNConcept.com |
|
 |
 |
mari
Joined: Sep 08, 2005
Posts: 9
Status: Offline
|
  Posted:
Sep 08, 2005 - 08:44 PM |
|
Hello, Thanks for your reply.
1. I have postnuke 7.60
2. i deleted the old pngroup folder and upload all the files again to the modules folder... all the files are complete.
3. I initializaed the module and activated it
4. I dont have a checkbox in hooks named pnGroups.
And Im still getting the same error  |
|
|
|
 |
Chestnut
Site Admin
Joined: Oct 08, 2003
Posts: 1065
Location: Paris - France
|
  Posted:
Sep 08, 2005 - 08:52 PM |
|
Are we speaking of the same mod ?
http://noc.postnuke.com/frs/?group_id=260&release_id=503
(I made a little error but with no consequence in my other message, the pnGroups hooks that must be activated are for the "Groups" module, not the "Modules" module.)
Do you have errors when initializing and activating ?
Well... other than that, I don't know what to say... There is nothing special in the process and working perfectly for most people.
We're missing an info somewhere. Something you do or do not, something like that. |
_________________ Chestnut !
Administrator
PNConcept.com |
|
 |
 |
mari
Joined: Sep 08, 2005
Posts: 9
Status: Offline
|
  Posted:
Sep 08, 2005 - 08:55 PM |
|
Yes... we are talking about the same mod. I downloaded it for the link that you posted..
I have no problem initializing it and activating it, just when i go to the administration option. Do you know if the module is not compatible with another module? |
Last edited by mari on Sep 08, 2005 - 08:57 PM; edited 1 time in total |
|
|
 |
Chestnut
Site Admin
Joined: Oct 08, 2003
Posts: 1065
Location: Paris - France
|
  Posted:
Sep 08, 2005 - 09:03 PM |
|
Rigourously no reason for that. Although it may use some of the Groups module functions, it is stand alone enough for that.
And like I said, pn_groups_admin_main doesn't exists.
Is your Groups module activated ?
If yes, have a look in your database if you have the tables :
YOURPREFIX_pngroups
and
YOURPREFIX_pngroups_applications
(YOURPREFIX = pn by default but yours could be different). |
_________________ Chestnut !
Administrator
PNConcept.com |
|
 |
 |
mari
Joined: Sep 08, 2005
Posts: 9
Status: Offline
|
  Posted:
Sep 08, 2005 - 09:11 PM |
|
Gotcha!!! I dont have the tables in the database... Well, can u say me what is the sql to create them? |
|
|
|
 |
Chestnut
Site Admin
Joined: Oct 08, 2003
Posts: 1065
Location: Paris - France
|
  Posted:
Sep 08, 2005 - 09:23 PM |
|
Well... gotcha, gotcha... That not a good news at all.
And it doesn't explain the fact that the main admin function is not found...
The worse would have been errors in the main page... but not an unfound function.
I doubt that giving you the sql would be the way...
And if you don't have the pnGroups hook in the Groups "hooks" page...
mmm not good...
In any case...
| Code: |
DROP TABLE IF EXISTS `pn_pngroups`;
CREATE TABLE `pn_pngroups` (
`pn_gid` int(11) default NULL,
`pn_type` varchar(25) default '',
`pn_description` varchar(200) default '',
`pn_prefix` varchar(25) default '',
`pn_state` int(1) default '0',
`pn_nbuser` int(11) default '0',
`pn_nbumax` int(11) default '0',
`pn_link` int(11) default '0',
`pn_uidmaster` int(11) default '0',
KEY `pncGIndex` (`pn_gid`)
) TYPE=MyISAM;
# --------------------------------------------------------
#
# Structure de la table `pn_pngroups_applications`
#
DROP TABLE IF EXISTS `pn_pngroups_applications`;
CREATE TABLE `pn_pngroups_applications` (
`pn_app_id` int(11) NOT NULL auto_increment,
`pn_uid` int(11) default '0',
`pn_gid` int(11) default '0',
`pn_application` longblob,
`pn_status` int(1) default '0',
PRIMARY KEY (`pn_app_id`),
KEY `pncGAppIndex` (`pn_app_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;
|
|
_________________ Chestnut !
Administrator
PNConcept.com |
|
 |
 |
mari
Joined: Sep 08, 2005
Posts: 9
Status: Offline
|
  Posted:
Sep 08, 2005 - 09:31 PM |
|
You are right... still having the problem  |
Last edited by mari on Sep 08, 2005 - 09:31 PM; edited 1 time in total |
|
|
 |
Chestnut
Site Admin
Joined: Oct 08, 2003
Posts: 1065
Location: Paris - France
|
  Posted:
Sep 08, 2005 - 09:37 PM |
|
I have the strange impression that the problem is more than only a module not behaving like it should...
Is it on a live site ? or a local installation ? linux, windows, php version, etc etc bla bla bla.......
Is it an upgrade or a fresh PostNuke installation ?
etc again... |
_________________ Chestnut !
Administrator
PNConcept.com |
|
 |
 |
mari
Joined: Sep 08, 2005
Posts: 9
Status: Offline
|
  Posted:
Sep 08, 2005 - 09:46 PM |
|
Well the instalation is in a site.
Here is the information that i got
Operating system Linux
PHP version 4.4.0
Apache version 1.3.33 (Unix)
MySQL version 4.0.25-standard
Its a fresh installation of post nuke...
May be i should to delete all the data base and make the installation again... |
Last edited by mari on Sep 08, 2005 - 09:49 PM; edited 1 time in total |
|
|
 |
Chestnut
Site Admin
Joined: Oct 08, 2003
Posts: 1065
Location: Paris - France
|
  Posted:
Sep 08, 2005 - 09:52 PM |
|
mmm... Is everything else working fine ? (All other mods ?)
This is a X-Files case apparently.
I have no clue for the moment I admit.
Don't know if a reinstallation is worth it though.
(Hate that kind ) |
_________________ Chestnut !
Administrator
PNConcept.com |
|
 |
 |
mari
Joined: Sep 08, 2005
Posts: 9
Status: Offline
|
  Posted:
Sep 08, 2005 - 10:12 PM |
|
Well... I think that i have no more to do...
I droped all the database... Installed the postnuke 7.60 again and installed pn group module as a first module and i got the same error and no pn_groups checkbox in hooks... I dont know what to do, i did almost everything... i guess that i lost this war  |
Last edited by mari on Sep 08, 2005 - 10:16 PM; edited 1 time in total |
|
|
 |
Chestnut
Site Admin
Joined: Oct 08, 2003
Posts: 1065
Location: Paris - France
|
  Posted:
Sep 08, 2005 - 10:38 PM |
|
Well... it's not a good news for me too as I am the author and you are the first one having this problem.
But let's call it a battle instead of a war.
Someone might show up having more to answer to this and I'll keep an eye open to see if someone had the same problem.
 |
_________________ Chestnut !
Administrator
PNConcept.com |
|
 |
 |
mari
Joined: Sep 08, 2005
Posts: 9
Status: Offline
|
  Posted:
Sep 08, 2005 - 11:29 PM |
|
Well,
I was looking in the pnadmin.php and i see thet this file call to a function: pnGroups_admin_main() and in my site when this scripts is loaded it call to a function: pn_groups_admin_main(). its seems that somewhere are an error that put a _ dividing the word pnGroups.. and thats why im getting the function error...
(Edited)
Fixed... I change the name of the folder module that was what had the _ and now i dont have the error... Now i have another error ...Failed to load module pnGroups (at function: "main").. and still without the pngroup checkbox in hooks. But i hope i can fix it too |
Last edited by mari on Sep 08, 2005 - 11:39 PM; edited 1 time in total |
|
|
 |
mari
Joined: Sep 08, 2005
Posts: 9
Status: Offline
|
  Posted:
Sep 08, 2005 - 11:55 PM |
|
I did it..
After change the module folder name i uninstalled the module and installed it again and now i got the pngroups checkbox and the module is runing.. Thanks for all. |
|
|
|
 |
|
|