Page 1 of 1

Says Modules not writable, TinyMCE doesn't work.

Posted: Fri Jan 07, 2011 9:07 pm
by Jesse
I have seen similar posts, but none of them seemed to offer a solution that worked.
Tiny MCE does not display, and the modules area says:
The modules folder (and/or the uploads folder) is not writable, if you would like to install modules by uploading an XML file you need ensure that these folders have full read/write/execute permissions (chmod 777). Safe mode may also be in effect.
I have Modules and Uploads set to 777 and my umask set to 000. Have also tried uninstalling and re uploading and reinstalling Tiny MCE several times. Safe mode is off.

Also "system information" shows red x's next to previews_path, uploads_path, and image_uploads_path
each of these is also set to 777.

This is an installation moved to a new server. cmsms version 1.8.2 moved over from an xampp installation to a server running cPanel.
The previous installation was in usr/local/apache/htdocs this installation is in /home/username/public_html

Any insight on what I should change would be greatly appreciated!
thanks in advance

Re: Says Modules not writable, TinyMCE doesn't work.

Posted: Fri Jan 07, 2011 9:59 pm
by Dr.CSS
My server requires 755 on modules and tiny folders for tiny to work...

Re: Says Modules not writable, TinyMCE doesn't work.

Posted: Sat Jan 08, 2011 1:46 am
by Jesse
thanks for your feedback. 777 Is the least restrictive, giving everyone access to read write and execute.

The fact that I have it set that way, and it's still not working, I believe means that the issue is not actually with the permission settings at all in my case.

Good to know that it could work with 755 once I find what the real issue is.

Re: Says Modules not writable, TinyMCE doesn't work.

Posted: Sat Jan 08, 2011 10:51 am
by Jesse
Ok I tried resetting tinymce premissions from 777 to 755. I don't know why, but it worked. Still having above problem with modules not being writable, though permisssion is 755 safe mode is off. Any guidance would be appreciated, thanks in advance

Re: Says Modules not writable, TinyMCE doesn't work.

Posted: Mon Jan 10, 2011 8:41 pm
by Jesse
Still having issues with not being able to install any modules. Not sure what you mean about clicking on "help" next to modules, not seeing information about settings there.
Here is my system info:

Code: Select all

CMS Version

1.8.2

Installed Modules

CMSMailer

2.0

FileManager

1.0.2

MenuManager

1.6.5

ModuleManager

1.4

News

2.10.6

nuSOAP

1.0.2

Printing

1.1.0

Search

1.6.5

ThemeManager

1.1.1

TinyMCE

2.7.2

Archiver

0.2.3

TemplateExternalizer

1.2

Config Information

php_memory_limit:

 

process_whole_template:

false

output_compression:

false

max_upload_size:

128000000

default_upload_permission:

664

url_rewriting:

mod_rewrite

page_extension:

 

query_var:

page

use_hierarchy:

true

image_manipulation_prog:

GD

auto_alias_content:

true

locale:

 

default_encoding:

utf-8

admin_encoding:

utf-8

set_names:

true

debug:

false

root_path:

/home/consumer/public_html/ (0750) Success

previews_path:

\home\consumer\public_html\tmp\cache (0) Failure ?

uploads_path:

\home\consumer\public_html\uploads (0) Failure ?

uploads_url:

/uploads

image_uploads_path:

\home\consumer\public_html\uploads\images (0) Failure ?

image_uploads_url:

/uploads/images

ssl_uploads_url:

/uploads

use_smarty_php_tags:

false
PHP Information:

Current PHP Version (phpversion):

 5.2.9 Caution

md5 function (md5_function):

 On (True) Success

GD version (gd_version):

 2 Success

tempnam function (tempnam_function):

 On (True) Success

Magic quotes in runtime (magic_quotes_runtime):

 Off (False) Success

Is E_STRICT disabled in error_reporting (E_STRICT):

Success

PHP Effective Memory Limit (memory_limit):

 32M Success

Maximum Execution Time (max_execution_time):

 30 Caution ?

PHP output_buffering (output_buffering):

 On Success

PHP Safe Mode (safe_mode):

 Off (False) Success

File uploads (file_uploads):

 On (True) Success

Maximum Post Size (post_max_size):

 8M Caution ?

Maximum Upload Size (upload_max_filesize):

 2M Caution ?

Session Save Path (session_save_path):

 /tmp (1777) Success

Sessions are allowed to use Cookies (session_use_cookies):

 On (True) Success

Basic XML (expat) support (xml_function):

 On (True) Success

Checking if the httpd process can create a file inside of a directory it created (create_dir_and_file):

Success

PHP register_globals (register_globals):

 Off (False) Success

disable_functions in PHP (disable_functions):

  Success

PHP Open Basedir (open_basedir):

  Success

Test for remote URL (test_remote_url):

Success
fsockopen: Connection ok! Success
fopen: Connection ok! Success

Test ini_set (check_ini_set):

 On (True) Success
Server Information:

Server API (server_api):

cgi

Server Database (server_db_type):

MySQL (mysql)

Server Database Version (server_db_version):

5.0.91 Success

Server Software (server_software):

Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635

Server Operating System (server_os):

Linux 2.6.18-194.26.1.el5 On x86_64

Permission Information

tmp:

/home/consumer/public_html//tmp (0755) Success

templates_c:

/home/consumer/public_html/tmp/templates_c (0775) Success

modules:

/home/consumer/public_html//modules (0755) Success

File Creation Mask (umask):

/home/consumer/public_html/tmp/cache (0777) Success

config_file:

0444 Success

Re: Says Modules not writable, TinyMCE doesn't work.

Posted: Fri Jan 14, 2011 8:04 pm
by Jesse
[SOLVED] The issue turned out to be that in my config.php file, several paths had the slashes going in the wrong direction.
uploads_path, previews_path, and image_uploads_path all had "\". When I changed them to "/" everything worked fine.
The only question is why they were wrong in the first place.
basically for this installation, on a remote server, I copied over the files from a local XAMPP installation. Could that have been why?

Re: Says Modules not writable, TinyMCE doesn't work.

Posted: Fri Jan 14, 2011 9:25 pm
by RonnyK
it could be, when I copy from another site, I let the installer run again, with the 2 ticks UNCHECKED in step 5 (for tables + content), and that will recreate the config.php. Database is not touched then....

Ronny