Page 1 of 1

Add new Page fails - returns to login page

Posted: Wed Mar 24, 2010 11:56 am
by davout
Having installed CMS-MS on my remote Java host I'm now trying to create my first content pages.

When I select 'Content' from the main menu the new display pageshows the following errors...

Code: Select all

Warning: fopen(/home/davout/public_html/cmsms/tmp/cache/contentcache.php) [function.fopen]: failed to open stream: Permission denied in /home/davout/public_html/cmsms/lib/classes/class.contentoperations.inc.php on line 568

Warning: fwrite(): supplied argument is not a valid stream resource in /home/davout/public_html/cmsms/lib/classes/class.contentoperations.inc.php on line 569

Warning: fclose(): supplied argument is not a valid stream resource in /home/davout/public_html/cmsms/lib/classes/class.contentoperations.inc.php on line 570
When I select 'Add New content', complete he new page details and then select the 'submit' button the process fails and I'm returned to the login menu.

Any idea what's going wrong?

Re: Add new Page fails - returns to login page

Posted: Wed Mar 24, 2010 8:33 pm
by Dr.CSS
Looks like your permissions aren't set right...

Re: Add new Page fails - returns to login page

Posted: Wed Mar 24, 2010 9:09 pm
by davout
What permissions?


Dr.CSS wrote: Looks like your permissions aren't set right...

Re: Add new Page fails - returns to login page

Posted: Thu Mar 25, 2010 3:00 am
by Dr.CSS
Never mind about the permissions, go to site admin > system information and look for any yellow ! or red X...

Re: Add new Page fails - returns to login page

Posted: Thu Mar 25, 2010 8:25 am
by davout
The only red cross is for ...

            config.php writable. It is more safe if you change permission to read-only

Below I've pasted the text extract option offered by the System Information page...

Code: Select all

----------------------------------------------

Cms Version: [b]1.6.6[/b]

Installed Modules:

CMSMailer: [b]1.73.14[/b]
FileManager: [b]1.0.1[/b]
MenuManager: [b]1.6.2[/b]
ModuleManager: [b]1.3.1[/b]
News: [b]2.10.3[/b]
nuSOAP: [b]1.0.1[/b]
Printing: [b]1.0.4[/b]
Search: [b]1.6.1[/b]
ThemeManager: [b]1.1.1[/b]
TinyMCE: [b]2.5.5[/b]
FrontEndUsers: [b]1.6.11[/b]
Forum: [b]0.9.2[/b]
CGExtensions: [b]1.17.6[/b]
NMS: [b]2.2.3[/b]


Config Information:

php_memory_limit: [b][/b] 
process_whole_template: [b]false[/b] 
max_upload_size: [b]32000000[/b] 
default_upload_permission: [b]664[/b] 
assume_mod_rewrite: [b]false[/b] 
page_extension: [b][/b] 
internal_pretty_urls: [b]false[/b] 
use_hierarchy: [b]true[/b] 


Php Information:

phpversion: [b]5.2.13[/b] 
md5_function: [b]On[/b] (True) 
gd_version: [b]2[/b] 
tempnam_function: [b]On[/b] (True) 
magic_quotes_runtime: [b]Off[/b] (False) 
memory_limit: [b]64M[/b] 
max_execution_time: [b]60[/b] 
safe_mode: [b]Off[/b] (False) 
session_save_path: [b]/tmp[/b] (1777) 
session.use_cookies: [b]On[/b] (True) 


Server Information:

Server Api: [b]cgi-fcgi[/b] 
Server Db Type: [b]MySQL (mysql)[/b] 
Server Db Version: [b]5.0.89[/b] 


----------------------------------------------


Re: Add new Page fails - returns to login page

Posted: Fri Mar 26, 2010 8:07 am
by davout
Well??

Re: Add new Page fails - returns to login page

Posted: Wed Mar 31, 2010 2:12 am
by Dr.CSS
I was looking for the info from the system information page, this looks like the limited stuff from the page after it, and it is hard to read with all the stuff so just plain paste it not in

Code: Select all

...

Re: Add new Page fails - returns to login page

Posted: Wed Mar 31, 2010 7:07 am
by davout
CMS Install Information: CMS Version

1.6.6

Installed ModulesCMSMailer

1.73.14
FileManager

1.0.1
MenuManager

1.6.2
ModuleManager

1.3.1
News

2.10.3
nuSOAP

1.0.1
Printing

1.0.4
Search

1.6.1
ThemeManager

1.1.1
TinyMCE

2.5.5
FrontEndUsers

1.6.11
Forum

0.9.2
CGExtensions

1.17.6
NMS

2.2.3

Config Informationphp_memory_limit:

 
process_whole_template:

false
max_upload_size:

32000000
default_upload_permission:

664
assume_mod_rewrite:

false
page_extension:

 
internal_pretty_urls:

false
use_hierarchy:

true
debug:

false
output_compression:

false
root_url:

http://www.essays-in-software.com/cmsms
root_path:

/home/davout/public_html/cmsms (0755) 
previews_path:

/home/davout/public_html/cmsms/tmp/cache (0777) 
uploads_path:

/home/davout/public_html/cmsms/uploads (0777) 
uploads_url:

http://www.essays-in-software.com/cmsms/uploads
image_uploads_path:

/home/davout/public_html/cmsms/uploads/images (0777) 
image_uploads_url:

http://www.essays-in-software.com/cmsms/uploads/images
use_smarty_php_tags:

false
locale:

 
default_encoding:

utf-8
admin_encoding:

utf-8
PHP Information: Current PHP Version (phpversion):

5.2.13 
md5 function (md5_function):

On (True) 
GD version (gd_version):


tempnam function (tempnam_function):

On (True) 
Magic quotes in runtime (magic_quotes_runtime):

Off (False) 
PHP Effective Memory Limit (memory_limit):

64M 
Maximum Execution Time (max_execution_time):

60 
PHP Safe Mode (safe_mode):

Off (False) 
Session Save Path (session_save_path):

/tmp (1777) 
Session Use Cookies (session.use_cookies):

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


PHP register_globals (register_globals):

Off (False) 
PHP output_buffering (output_buffering):

On 
disable_functions in PHP (disable_functions):

 
PHP Open Basedir (open_basedir):

 
Test for remote URL (test_remote_url):


fsockopen: Connection ok! 
fopen: Connection ok! 
File uploads (file_uploads):

On (True) 
Maximum Post Size (post_max_size):

10M 
Maximum Upload Size (upload_max_filesize):

32M 
Basic XML (expat) support (xml_function):

On (True) 
Test file_get_contents (file_get_contents):

On (True) 
Test ini_set (check_ini_set):

On (True) 
Server Information: Server API (server_api):

cgi-fcgi 
Server Database (server_db_type):

MySQL (mysql) 
Server Database Version (server_db_version):

5.0.89 
Server Software (server_software):

Apache 
Server Operating System (server_os):

Linux 2.6.27.18-24 On i686 

Permission Informationtmp:

/home/davout/public_html/cmsms/tmp (0777) 
templates_c:

/home/davout/public_html/cmsms/tmp/templates_c (0777) 
modules:

/home/davout/public_html/cmsms/modules (0755) 
File Creation Mask (umask):

/home/davout/public_html/cmsms/tmp/cache (0777) 
config_file:

0777 
config.php writable. It is more safe if you change permission to read-only


« Back to Menu

CMS Made Simple 1.6.6 "Bonde"