heinakenka
Member
Posted 4 years ago #
Hello,
Just isntalled your plugin but unfortunately there is a problem.
When I press the plugin "admin" button in the editor I get small box showing my site with 404 error.
My wordpress is installed to a subdirectory and there is a .htaccess redirect to that.
I have a feeling that the plugin does not handle that setup...?
H.
http://wordpress.org/extend/plugins/pb-embedflash/
The TinyMCE plugin is loaded within inc/inc.tinymce3plugin.php and tells TinyMCE to load SITEURL/wp-content/plugins/pb-embedflash/tinymce3plugin/editor_plugin.js where SITEURL is the value saved in the 'siteurl' option. If the button is display correctly and clickable, everything should be fine.
Could you please check, what URL is loaded inside the box (404 error)? right click -> information (or similar) should show you the requested file.
heinakenka
Member
Posted 4 years ago #
In IE I get something like this:
res://ieframe.dll/http_404.htm#http://www.mysite.com/wpblog/wp-content/plugins/pb-embedflash/tinymce3plugin/pb-embedFlash-tinymceplugin.php
It seems to be the same in Firefox:
http://www.mysite.com/wpblog/wp-content/plugins/pb-embedflash/tinymce3plugin/pb-embedFlash-tinymceplugin.php
Was this the one you were looking for?
H.
The path is correct. Just the file is missing. Try re-uploading the plugin (after downloading it again to be sure the archive is not corrupt).
heinakenka
Member
Posted 4 years ago #
Unfortunately it was not that easy :(
Done it now twice. deactivate-reinstall...
Same error.
The file is there. Checked with filemanager.
H.
Either the siteurl option is set to a wrong value or htaccess is disturbing. From this point, I cannot do anything to find the error.
heinakenka
Member
Posted 4 years ago #
Sorry to hear that.
Ok, I try to play arround with the htaccess.
I have a feeling that I am not the only one having WP in a subdirectory so I must have something funny in my setup if no-one else is having similar problems.
H.
heinakenka
Member
Posted 4 years ago #
Hello,
I found the problem:
The file in question had wrong permissions: it had 664 when it should be 644.
After fixing this it works just fine. :)
H.