Fatal error: load_plugins

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
Skiny

Fatal error: load_plugins

Post 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..
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Fatal error: load_plugins

Post by Ted »

Are you running it over a mapped drive? Can PHP do that?
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Fatal error: load_plugins

Post 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.
Skinny

Yes, using it over a mapped drive

Post by Skinny »

Yes, I am using the application over a mapped drive. Is there no way of getting this to work?

Thanks,

Skinny
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Fatal error: load_plugins

Post 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.
Skinny

other php apps mapped to NAS work fine

Post 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.
Locked

Return to “[locked] Installation, Setup and Upgrade”