I am getting this error ( Fatal error: Call to a member function on a non-object in /home/mskp/www/dev/modules/NYC_MobileSK/pnadmin.php on line 235 ) when I try to load a module. I look at the pnadmin.php on line 235, and the block of code I see it
if (!pnModAPILoad('nyc_mobilesk', 'admin')) {
pnSessionSetVar('errormsg', _LOADFAILED);
return $output->GetOutput();
I'm not a developer ( yet) really just getting my feet wet, but I can't figure that one out.
Posted: 17.03.2005, 00:17
rank:
Legend
registered:
December 1969
Status:
offline
last visit:
20.11.08
Posts:
6516
That error usually seems to indicate a problem with how the module connects to the database. Try turning on legacy mode in the Settings and see if it works.
Posted: 17.03.2005, 00:27
rank:
Freshman
registered:
March 2005
Status:
offline
last visit:
19.04.05
Posts:
7
I figured it out....dumb error on my part. I had a mixed cae in the module directory, but not in the function calls....that screwed things up.