This is more server side problem than CMSimple problem, so I just document what I did. Probably dependes on apache version/configuration (?).
Background: I uploaded CMSimple_XH 1.5.7 to home page space offered by my service provider (so this is not even proper webhotel; no possiblity to change server configuration). What I noticed is that plugins did not load; for example WYSIWYG editor didn't have the "Meta" and "Page" tabs. When I looked the page source, I noticed that there was only one plugin line (<link rel="stylesheet"...), the pluginloader, and the others (like filebrowser and meta_tags) were missing.
Solution: I found that the plugins/index.php rewinddir() function, for some reason, does not work in this server (Apache 2.2.24).
So, I simply replaced rewinddir with closedir/opendir:
Code: Select all
/**
* Bridge to page data
*/
:
} // while (FALSE !== ($plugin = readdir($handle)))*/
// rewinddir replaced by closedir/opendir as server does not handle rewind
// rewinddir($handle);
closedir($handle);
$handle = opendir($pth['folder']['plugins']);
while (FALSE !== ($plugin = readdir($handle))) {
: