Post by hm2k » Wed Mar 12, 2008 6:49 am

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.

Attachments

???
opencart-fckeditor.jpg

UK Web Hosting


User avatar
Global Moderator

Posts

Joined
Tue Mar 11, 2008 9:06 am
Location - UK

Post by hm2k » Wed Mar 12, 2008 7:06 am

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.
Last edited by hm2k on Wed Mar 12, 2008 7:24 am, edited 1 time in total.

UK Web Hosting


User avatar
Global Moderator

Posts

Joined
Tue Mar 11, 2008 9:06 am
Location - UK

Post by hm2k » Wed Mar 12, 2008 7:59 am

Note: if you're using firefox, you'll need to clear your cache to make this work after you've made the changes.

UK Web Hosting


User avatar
Global Moderator

Posts

Joined
Tue Mar 11, 2008 9:06 am
Location - UK

Post by Fresher » Sat Mar 15, 2008 7:07 am

i have the same error :/ and i cant fix it... can i add the link manualy? without choosing javascript..

New member

Posts

Joined
Thu Mar 13, 2008 5:40 pm
Who is online

Users browsing this forum: No registered users and 2 guests