TinyMCE can't access images

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
douglas1438
Forum Members
Forum Members
Posts: 80
Joined: Thu Jul 21, 2011 10:29 am

TinyMCE can't access images

Post by douglas1438 »

Using TinyMCE in advanced mode, language is selected as English, not sure if they're related but I have two issues:

1. The 'create a link to a content page' button works intermittently.

2. When I click on the insert/edit image or insert file I receive a 'Forbidden You do not have permission to access this document' message.

Inspecting with Chrome Developer Tools I see the following error:

Code: Select all

tinymce.min.js:3 GET http://www.stowmaries.org.uk/modules/TinyMCE/responsive_filemanager/fileman….php?type=4&descending=false&lang=en&akey=a605a72ce3735fbe5126f35db4791144 403 (Forbidden)(anonymous function) @ tinymce.min.js:3c @ tinymce.min.js:3c @ tinymce.min.js:3f.fn.f.append @ tinymce.min.js:3v.renderTo @ tinymce.min.js:8a.open @ tinymce.min.js:9t @ plugin.min.js:1i @ tinymce.min.js:8v.fire @ tinymce.min.js:8t @ tinymce.min.js:8e @ tinymce.min.js:2m @ tinymce.min.js:2
tinymce.min.js:3 GET http://www.stowmaries.org.uk/modules/TinyMCE/responsive_filemanager/fileman….php?type=1&descending=false&lang=en&akey=a605a72ce3735fbe5126f35db4791144 403 (Forbidden)(anonymous function) @ tinymce.min.js:3c @ tinymce.min.js:3c @ tinymce.min.js:3f.fn.f.append @ tinymce.min.js:3v.renderTo @ tinymce.min.js:8a.open @ tinymce.min.js:9filemanager @ plugin.min.js:85s.(anonymous function).s.(anonymous function).o @ tinymce.min.js:12i @ tinymce.min.js:8v.fire @ tinymce.min.js:8(anonymous function) @ tinymce.min.js:12i @ tinymce.min.js:8v.fire @ tinymce.min.js:8t @ tinymce.min.js:8e @ tinymce.min.js:2m @ tinymce.min.js:2
Can anyone offer a solution please?


----------------------------------------------
Cms Version: 2.1.1
Installed Modules:
AdminSearch: 1.0
CMSContentManager: 1.1
DesignManager: 1.1.1
FileManager: 1.5.2
ModuleManager: 2.0.1
Navigator: 1.0.2
News: 2.50.3
Search: 1.50.2
TinyMCE: 3.1.2
CGExtensions: 1.51.1
CGSimpleSmarty: 2.0.5
CGCalendar: 1.15.8
JQueryTools: 1.3.8
CGBlog: 1.13.3
CMSMailer: 5.2.14
FormBuilder: 0.8.1.3
SimpleSlider: 1.3.2
Gallery: 2.1

Config Information:
php_memory_limit:
max_upload_size: 2000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: UTC
permissive_smarty: false

Php Information:
phpversion: 5.5.29
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 2048
E_DEPRECATED: 8192
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
memory_limit: 128M
max_execution_time: 30
register_globals: Off (False)
output_buffering: 4096
disable_functions: exec, passthru, shell_exec, system, proc_open, popen, apache_child_terminate, apache_setenv, define_syslog_variables, pcntl_exec, openlog, posix_getpwuid, posix_kill, posix_setpgid, posix_setsid, posix_setuid, posix_setuid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, syslog
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 2M
session_save_path: /tmp (0700)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
check_ini_set: On (True)
curl: On

Performance Information:
allow_browser_cache: Off (False)
browser_cache_expiry: 60
php_opcache: Off (False)
smarty_cache: Off (False)
smarty_compilecheck: Off (False)
smarty_cache_udt: Off (False)
auto_clear_cache_age: On (True)
Server Information:
Server Software: Apache
Server Api: cgi-fcgi
Server Os: Linux 2.6.32-604.16.2.lve1.3.54.el5h.x86_64 On x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 5.5.45
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable

Permission Information:
tmp: /var/www/vhosts/stowmaries.org.uk/httpdocs/tmp (0777)
tmp_cache: /var/www/vhosts/stowmaries.org.uk/httpdocs/tmp/cache (0777)
templates_c: /var/www/vhosts/stowmaries.org.uk/httpdocs/tmp/templates_c (0777)
modules: /var/www/vhosts/stowmaries.org.uk/httpdocs/modules (0755)
uploads: /var/www/vhosts/stowmaries.org.uk/httpdocs/uploads (0777)
File Creation Mask (umask): /var/www/vhosts/stowmaries.org.uk/httpdocs/tmp/cache (0777)
config_file: 0644
----------------------------------------------
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm

Re: TinyMCE can't access images

Post by Jeff »

Did you modify the .htaccess per the help page?
douglas1438
Forum Members
Forum Members
Posts: 80
Joined: Thu Jul 21, 2011 10:29 am

Re: TinyMCE can't access images

Post by douglas1438 »

Jeff,

Which help file are you referring to?

I followed the comments in the htaccess file, enabling the relevant commands but it has made no difference.

I'm now also unable to upload an image or file from within TinyMCE, but filemanager works.

Thank you
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm

Re: TinyMCE can't access images

Post by Jeff »

The module help page.
douglas1438
Forum Members
Forum Members
Posts: 80
Joined: Thu Jul 21, 2011 10:29 am

Re: TinyMCE can't access images

Post by douglas1438 »

Of course, thank you Jeff, problem solved.
Post Reply

Return to “Modules/Add-Ons”