Failed to open stream message

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
MarkSmith65
New Member
New Member
Posts: 8
Joined: Wed Jun 02, 2010 2:11 pm

Failed to open stream message

Post by MarkSmith65 »

Hi

I am picking up on a site installed by a colleague. In ADMIN mode when I try to edit/add/delete a page I get the following message:
Warning: main(Content.inc.php): failed to open stream: No such file or directory in /home/.sites/120/site35/web/lib/classes/contenttypes/ErrorPage.inc.php  on line 21

In editor mode this does not happen. Any ideas?
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

Re: Failed to open stream message

Post by tyman00 »

Please provide more information. CMSMS version, server information (versions, software, etc). It is difficult to diagnose.

There is a page in the admin that you can copy/paste here. Go to the "Site Admin" menu and select "System Information"

You could also try to run the "System Verification" option to ensure you don't have any corrupted files.
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
MarkSmith65
New Member
New Member
Posts: 8
Joined: Wed Jun 02, 2010 2:11 pm

Re: Failed to open stream message

Post by MarkSmith65 »

Sorry for the long delay in replying. These are the system details:

CMS Version1.6.4
Installed Modules

CMSMailer1.73.14
FileManager1.0.1
MenuManager1.6.1
ModuleManager1.3.1
News2.10.2
nuSOAP1.0.1
Printing1.0.2
Search1.6.1
ThemeManager1.1.1
TinyMCE2.5.1
FormBuilder0.5.11
Config Information

php_memory_limit:
process_whole_template: false
max_upload_size: 2000000
default_upload_permission: 664
assume_mod_rewrite: false
page_extension:
internal_pretty_urls: false
use_hierarchy: false
debug: false
output_compression: false
root_url: http://www.casterbridgedental.com
root_path: /home/.sites/120/site35/web(2775) (BIG RED CROSS HERE)
previews_path: /home/.sites/120/site35/web/tmp/cache (0777)
uploads_path: /home/.sites/120/site35/web/uploads (0777)
uploads_url: http://www.casterbridgedental.com/uploads
image_uploads_path: /home/.sites/120/site35/web/uploads/images (0777)
image_uploads_url: http://www.casterbridgedental.com/uploads/images
use_smarty_php_tags: false
locale:
default_encoding:
admin_encoding: utf-8 PHP Information:
Current PHP Version (phpversion): 4.3.11
md5 function (md5_function): On (True)
GD version (gd_version): 2
tempnam function (tempnam_function): On (True)
Magic quotes in runtime (magic_quotes_runtime): Off (False)
PHP Effective Memory Limit (memory_limit): 8388608 (BIG RED CROSS HERE)
Maximum Execution Time (max_execution_time): 30
PHP Safe Mode (safe_mode): Off (False)
Session Save Path (session_save_path): /tmp (1777)
Checking if the httpd process can create a file inside of a directory it created (create_dir_and_file):
PHP register_globals (register_globals): On (True)
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): 8M
Maximum Upload Size (upload_max_filesize): 2M
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): apache
Server Database (server_db_type): MySQL (mysql)
Server Database Version (server_db_version): 4.1.20
Server Software (server_software): Apache/1.3.33 Sun Cobalt (Unix) mod_jk mod_ssl/2.8.22 OpenSSL/0.9.6 PHP/4.3.11 mod_auth_pam_external/0.1 FrontPage/5.0.2.2510 mod_perl/1.29
Server Operating System (server_os): Linux 2.4.19C13_V On i686
Permission Information

tmp: /home/.sites/120/site35/web/tmp (0777)
templates_c: /home/.sites/120/site35/web/tmp/templates_c (0777)
modules: /home/.sites/120/site35/web/modules (0777)
File Creation Mask (umask): /home/.sites/120/site35/web/tmp/cache (0777)
config_file: 0444
Post Reply

Return to “CMSMS Core”