Active
Project:
OpenWYSIWYG Editor
Version:
6.x-1.0-beta3
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 May 2009 at 13:17 UTC
Updated:
18 Jan 2011 at 05:17 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedI'm experiencing the same issue with 6.x-1.0-beta3 and 6.x-1.0-beta2.
I've had a look at some of the code - in particular openwysiwyg/library/scripts/openwysiwyg.modified.js and noticed that line 952 reads:
window.open(this.config[n].base_path+'openwysiwyg/image_form'+'?wysiwyg='+n,'popup',
whereas, I believe it should be:
window.open(this.config[n].PopupsDir + 'insert_image.html'+'?wysiwyg='+n,'popup',
After making the change, the popup menu now appears, however, clicking Browse results in another error message (openwysiwyg/image_browse).
A look at the code in insert_image.html shows a reference to the imageBrowse function - however, I haven't been able to find any reference of this function at this point in time.
Of course, I could be on the wrong path completely here, so hopefully someone else can figure it out.
Comment #2
ricky.p commentedabc
Comment #3
drupalnesia commentedmcdazz: nothing wrong with the code. This
window.open(this.config[n].base_path+'openwysiwyg/image_form'+'?wysiwyg='+n,'popup',replace the original code because openWYSIWYG has its own form.Look like the problem come from installing this module on Drupal subfolder with the changing of settings.php, I will take a look this bug.
Comment #4
Anonymous (not verified) commentedMany thanks. :)
Comment #5
ascii122 commentedI am evaluating various editors in a subfolder install and get the same page not found error using openwysiwyg-6.x-1.0-beta3.tar.gz
try to figure it out myself but anybody have any luck on this front?
thanks
Comment #6
drupalnesia commentedascii122: please try to include below code at line 125 of Drupal settings.php
$base_url = 'http://www.example.com/subfolder'; // NO trailing slash!
Comment #7
ascii122 commentedthanks i ended up creating a test subdomain and just updated to the new version
seems to be working pretty good -- nice job!
Comment #8
ws_aus commentedI'm having the same problem with openwysiwyg-6.x-1.0-beta5
I followed the 'base_url' suggestion, but it didnt work for me. Just get the same error (even after restart).
Are people still having this issue ?
Comment #9
drupalnesia commentedws_aus :
I need to re-produce your error report, so I need to know:
1. What is your URL to access your Drupal site: www.domain.tld or www.domain.tld/folder_name ?
2. Show me your $base_url
3. When you got "page not found" then what is the URL in the "pag not found " window?
4. Do you enable Clean-URL and Pathauto module? (In my site both items is enable, because I always use Clean-URL and Pathauto module)
TLD: Top Level Domain, i.e.: .com, .net, .org
Comment #10
a1sauce commentedI had the same problem. I also replaced that string in line 952, which fixed that error.
The image browse call is located in the insert_image.html file, in the popups folder.
You can just ignore the "browse" button and manually paste in the web image url you want to use, then use the interface to set the alignment, vspace, hspace, etc.
The author seems to have something else in mind, based on his comment. I'm just happy it's sort of functional now. Fckeditor won't work for me (no idea why, probably some conflict with something else I installed?). But it's a nice module, otherwise.
Comment #11
HepCat_ commentedQuote:
ws_aus :
I need to re-produce your error report, so I need to know:
1. What is your URL to access your Drupal site: www.domain.tld or www.domain.tld/folder_name ?
2. Show me your $base_url
3. When you got "page not found" then what is the URL in the "pag not found " window?
4. Do you enable Clean-URL and Pathauto module? (In my site both items is enable, because I always use Clean-URL and Pathauto module)
TLD: Top Level Domain, i.e.: .com, .net, .org
=========================================================
1. http://localhost/drupal
2. http://localhost/drupal
3. http://localhost/drupal/openwysiwyg/image_form?wysiwyg=edit-body
note: this is not where my /openwysiwyg dir is located. I installed it where instructed: sites/all/modules/openwysiwyg/
4. No. Neither of those modules are enabled. These are not listed as requirements.
Comment #12
Even Dawn commentedHi,
I am getting this error "The requested URL was not found on this server." when attempting to insert images with OpenWYSIWYG using Drupal 6.4 for:
1. www.waterevolution.com.au
2. I'm not sure what you mean by $base_url >?
3. This is the URL of the page not found window: http://www.waterevolution.com.au/openwysiwyg/image_form?wysiwyg=edit-body
4. I have enabled Path Auto but don't have Clean-URL installed and can't find it in the modules list.
I have just cleared the cache, but to no avail.
Any more suggestions on how to get it working?
Thanks
Comment #13
Even Dawn commentedHello,
I am still unable to insert images through the openwysiwyg editor.
The server support staff point out that there is no folder for openwysiwyg directly under the www.waterevolution.com.au root directory.
I tried adding :
$base_url = 'http://www.example.com/subfolder'; // NO trailing slash!on line 125 but it did not make the image browser load. I don't understand whether I am I meant to replace it with the http://www.waterevolution.com.au/openwysiwyg path or not?
Is there a somewhere I can change the path to the form which points to waterevolution.com.au/modules/openwysiwyg instead?
Thanks,
Even
Comment #14
madskh commentedI had the same problem, having my Drupal installation in /new, and no Clean URLs.
There are two "Clean URLs" related problems.
The first is in openwysiwyg/library/scripts/openwysiwyg.modified.js, and since there's no PHP evaluation in there I had to just make it work without Clean URLs:
The second is in openwysiwyg/openwysiwyg.module, and this can be fixed rather pretty due to Drupal's url() function:
By the way, something ought to be done about the includeCSS() function. It isn't even used in popups/create_table.html.
Edit: Sorry, I'm using 1.0-rc1
Comment #15
kostas_dak commentedSame problem to me
Please Fix somebody
Comment #16
mkatari commentedI was having the same problem, but I got it to work.
I had to enable Clean URLs in Administer->Site Configurations
In order to enable Clean URLs I had to make sure I copied over the .htaccess file from the drupal 6.20 installation package to the server.