I have notices that many people have upload problems trying to include images etc. There is a simple fix to this. There are minor changes to two files:
fckeditoreditorfilemanagerconnectorsphpconfig.php
Ensure the file is changed as following:
Line 31:
$Config['Enabled'] = false ;
Line 34:
$Config['UserFilesPath'] = 'http://www.yourdomain.com/oscommerce/userfiles/' ;
the oscommerce/userfiles/ of course is depending on where you installed oscommerce
Line 40:
$Config['UserFilesAbsolutePath'] = '/yourdomain.com/public_html/webshop/userfiles/' ;
Just open your include/configure.php and copy the path from: DIR_FS_CATALOG and add /userfiles/ after it.
__________________________________
Second file:
fckeditoreditorfilemanagerconnectorsphpio.php
At around line 291 find:
var test = window.top.opener.document.domain ;
change this into:
var test = window.parent.OnUploadCompleted ;
Included the full version with the fix in io.php and the examples in config.php. I have commented them out obviously.
More...





LinkBack URL
About LinkBacks









Bookmarks