I tested on my local machine wich has Windows XP as OS (and apache 1.3 as webserver) it works fine, but on the server wich has Linux (SUSE) and also Apache 1.3 as webserver it doesn't show the folders and files.
When I want to create a new folder it will create a folder with a \ attached to it.
So for example when I create a folder 'test' it creates a folder with the name 'test\'.
When I want to create a new folder it will create a folder with a \ attached to it.
So for example when I create a folder 'test' it creates a folder with the name 'test\'.
RE: 2.0 RC1 PHP filemanager doesn't work on L
Line 40: $GLOBALS["UserFilesDirectory"] = GetRootPath() . str_replace( '/', '\\', $GLOBALS["UserFilesPath"] ) ;
This one converts UNIX-style paths into Windows. Maybe that's why it worked on win32. I've changed this line as follows:
$GLOBALS["UserFilesDirectory"] = GetRootPath() . $GLOBALS["UserFilesPath"];
... but encountered some other bugs. Anyway, I'm using wonderful PHP connector from mcukstorm.
RE: 2.0 RC1 PHP filemanager doesn't work on Linux
RE: 2.0 RC1 PHP filemanager doesn't work on L
At any rate, read docs and check logs.
Peace out!
RE: 2.0 RC1 PHP filemanager doesn't work on L
connector.php, line 40:
$GLOBALS["UserFilesDirectory"] = GetRootPath() . $GLOBALS["UserFilesPath"] ) ;
io.php, line 38:
$sResourceTypePath = $GLOBALS["UserFilesDirectory"] . $resourceType . '/' ;
RE: 2.0 RC1 PHP filemanager doesn't work on L
Any chance we can get the preview icons for the images from mcukstorm working with this php connector?
Thanks for the great work Fred.
RE: 2.0 RC1 PHP filemanager doesn't work on L
RE: 2.0 RC1 PHP filemanager doesn't work on L
return $sResourceTypePath . RemoveFromStart( $folderPath, '/' ) ;
and in commands.php after line 157 one should insert(before break;):
chmod($sFilePath, 0644);
because images uploaded are not readable
hope this helps
RE: 2.0 RC1 PHP filemanager doesn't work on L
1.6 worked fine with images. At least with that upload you could set the base path. Where do I do that with this version?
RE: 2.0 RC1 PHP filemanager doesn't work on L
comment lignes 95 and 111
uncomment lignes 97 and 113
in the fckconfig.js
to allow use of php connector instead asp's
at the end of lignes 111 and 113 i've wrote :
...connector.php&ServerPath=/path/to/userdata/" ;
Normally it's the path from web site root, but i'm not sure on my config. Perhaps you'll need to put the real path from /
With this, it work fine for me !!
RE: 2.0 RC1 PHP filemanager doesn't work on L
"I'm running foo version X.XX, bar version X.XXX, and I keep getting BLANK in my LOG FILE" is a Better Idea(c).
it doesn't work when calling fckeditor on Linux
I have a problem need your help, I can properly invoked by ckeditor on Windows, but it doesn't work when calling fckeditor on Linux. Is there need to specify permissions?
Thans a lot!
I am running freebsd 8.1 with
I am running freebsd 8.1 with default php installation and file manager works good. Mayby there is somethiing with your php.ini config ?
_______________
Odszkodowania Bielsko