Page 1 of 1

Fatal error: load_plugins

Posted: Mon Nov 22, 2004 11:20 pm
by Skiny
Hi there,

After installation of CMS I'm now trying to run it but get the following error message:

Fatal error: load_plugins(): Failed opening required '\Ppnas01\NAS\DataMMA\files\Website\cmsmadesimple/plugins/\function.adsense.php' (include_path='.;c:\php4\pear') in \\Ppnas01\NAS\DataMMA\files\Website\cmsmadesimple\lib\content.functions.php on line 314

Can not really figure out what is happening here. I can see that the relative path in the first line does not pick up the two \\ but only display on \. Not sure whether this relates to the issue.

Anybody please..

Fatal error: load_plugins

Posted: Mon Nov 22, 2004 11:42 pm
by Ted
Are you running it over a mapped drive? Can PHP do that?

Fatal error: load_plugins

Posted: Mon Nov 22, 2004 11:48 pm
by Ted
Basically, here is the issue. To load most things in CMS, I use the dirname() function to find the current directory. Do it twice, and you get the parent directory. But, it's up to PHP (or maybe apache/iis?) to return the proper directory. Something tells me that this function doesn't do shares properly. Though, I don't know for sure.

Yes, using it over a mapped drive

Posted: Tue Nov 23, 2004 4:28 pm
by Skinny
Yes, I am using the application over a mapped drive. Is there no way of getting this to work?

Thanks,

Skinny

Fatal error: load_plugins

Posted: Tue Nov 23, 2004 4:36 pm
by Ted
Can you map the drive as a drive letter? That MIGHT fix it.

I dug around the php site a bit, but didn't see anyone that had this specific problem.

other php apps mapped to NAS work fine

Posted: Tue Nov 23, 2004 8:38 pm
by Skinny
I have other php application running that also map to my NAS without any issues so it is probably not a PHP issue. What I find a bit strange is that the reference seems to be a bit dodgy with / and \ and sometimes
even / \. Does anybody know where the app pick this reference up. It doens't seem to come from the the config.php because there it's fine.

Thanks for your comments so far, much apreciated.