On an information page, click on the "Insert/Edit Image" button.
Click on "browse server", you will receive an error saying something similar to:
"Server didn't send back a proper XML response browsing server..."
And a huge error message... (see attached)
It appears it's looking for an asp file.
open admin/javascript/fckeditor/fckconfig.js
change
var _FileBrowserLanguage = 'asp' ; // asp | aspx | cfm | lasso | perl | php | py
var _QuickUploadLanguage = 'asp' ; // asp | aspx | cfm | lasso | php
to
var _FileBrowserLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py
var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | php
Obviously it shouldn't be "asp" it should be "php" because that's the language we're using.
Also...
You need to edit /admin/javascript/fckeditor/editor/filemanager/browser/default/connectors/php/config.php
Change
$Config['Enabled'] = false ;
to
$Config['Enabled'] = true ;
Also...
change
$Config['UserFilesPath'] = '/userfiles/' ;
to
$Config['UserFilesPath'] = '/' ;
or
$Config['UserFilesPath'] = '/shop/' ;
depending where your base opencart dir is from your public_html.
You need to edit /admin/javascript/fckeditor/editor/filemanager/browser/default/connectors/php/config.php
Change
$Config['Enabled'] = false ;
to
$Config['Enabled'] = true ;
Also...
change
$Config['UserFilesPath'] = '/userfiles/' ;
to
$Config['UserFilesPath'] = '/' ;
or
$Config['UserFilesPath'] = '/shop/' ;
depending where your base opencart dir is from your public_html.
Last edited by hm2k on Wed Mar 12, 2008 7:24 am, edited 1 time in total.
Note: if you're using firefox, you'll need to clear your cache to make this work after you've made the changes.
Who is online
Users browsing this forum: No registered users and 2 guests