Errors since updating to 1.6.6
Errors since updating to 1.6.6
This morning I
1. Updated a site to 1.6.6 using the 1.6.5 to 1.6.6 base diff files
2. Then I created a new module using the CTLmodulemaker (not sure if the error occured before or after this step)
Now I have the following errors showing on the top of the 'pages' area in the admin section and the same error showing on the top of all pages on the frontend.
Warning: fopen(/home/mysite/public_html/tmp/cache/contentcache.php) [function.fopen]: failed to open stream: Permission denied in /home/mysite/public_html/lib/classes/class.contentoperations.inc.php on line 568
Warning: fwrite(): supplied argument is not a valid stream resource in /home/mysite/public_html/lib/classes/class.contentoperations.inc.php on line 569
Warning: fclose(): supplied argument is not a valid stream resource in /home/mysite/public_html/lib/classes/class.contentoperations.inc.php on line 570
[solved]
On looking more closely at the front end of the site I found that one of the drop down menus wasn't working. Checking the 'pages' area in admin I found that the ordering of pages had changed from
4
4.1
4.2
4.3
4.4
to
4
4.3
4.4
4.5
4.6
Using the move arrows I pushed all the children up so that the numbering was correct. This fixed the error message issue.
1. Updated a site to 1.6.6 using the 1.6.5 to 1.6.6 base diff files
2. Then I created a new module using the CTLmodulemaker (not sure if the error occured before or after this step)
Now I have the following errors showing on the top of the 'pages' area in the admin section and the same error showing on the top of all pages on the frontend.
Warning: fopen(/home/mysite/public_html/tmp/cache/contentcache.php) [function.fopen]: failed to open stream: Permission denied in /home/mysite/public_html/lib/classes/class.contentoperations.inc.php on line 568
Warning: fwrite(): supplied argument is not a valid stream resource in /home/mysite/public_html/lib/classes/class.contentoperations.inc.php on line 569
Warning: fclose(): supplied argument is not a valid stream resource in /home/mysite/public_html/lib/classes/class.contentoperations.inc.php on line 570
[solved]
On looking more closely at the front end of the site I found that one of the drop down menus wasn't working. Checking the 'pages' area in admin I found that the ordering of pages had changed from
4
4.1
4.2
4.3
4.4
to
4
4.3
4.4
4.5
4.6
Using the move arrows I pushed all the children up so that the numbering was correct. This fixed the error message issue.
Last edited by lemonaid on Wed Nov 04, 2009 8:58 pm, edited 1 time in total.
Re: [solved] Errors since updating to 1.6.6
To anyone else who gets this error, the solution is to clear the site cache.
In the menu it is:
Site_Admin -> Global Settings
Click the "Advanced Setup" tab.
Click the "Cllear Cache" button.
In the menu it is:
Site_Admin -> Global Settings
Click the "Advanced Setup" tab.
Click the "Cllear Cache" button.
Re: [solved] Errors since updating to 1.6.6
Hi, had the same problem here, changed site numbers (not the order) to:
10.
10.1
10.2
10.3
10.4
10.13
10.14
set the wrong sites on "not active" then back on "active" and the problem was done!
problem with wrong numbers still remains, but front-end appears to be okay …
question now is: can I somehow "rename" the sites so that the numbers are right again?
thx
[EDIT]
happens again on certain pages!
cleared cache, etc. but still …
any suggestions?
10.
10.1
10.2
10.3
10.4
10.13
10.14
set the wrong sites on "not active" then back on "active" and the problem was done!
problem with wrong numbers still remains, but front-end appears to be okay …
question now is: can I somehow "rename" the sites so that the numbers are right again?
thx
[EDIT]
happens again on certain pages!
cleared cache, etc. but still …
any suggestions?
Last edited by clapczyn on Wed Nov 04, 2009 6:43 pm, edited 1 time in total.
Re: [solved] Errors since updating to 1.6.6
ok, just to bring that topic up again …
now I get
that message on every site and can't access any admin page in the backend
the admin sites just stay empty so I can't clear the cache

I'm really frustrated, any ideas?
now I get
Code: Select all
Warning: fread(): Length parameter must be greater than 0 in /websrv/kunden/fischundwasser/webspace/htdocs/lib/classes/class.contentoperations.inc.php on line 527
the admin sites just stay empty so I can't clear the cache

I'm really frustrated, any ideas?
Re: [solved] Errors since updating to 1.6.6
Hi clapczyn
For interest sake, could you check Site Admin>>System Information
and see if you get a fopen: Connection failed! warning.
Every site I update gets that, but I've been told IT IS A HOSTING ISSUE
See: http://forum.cmsmadesimple.org/index.ph ... #msg180750
I haven't had a chance to check it with a different host yet.
For interest sake, could you check Site Admin>>System Information
and see if you get a fopen: Connection failed! warning.
Every site I update gets that, but I've been told IT IS A HOSTING ISSUE
See: http://forum.cmsmadesimple.org/index.ph ... #msg180750
I haven't had a chance to check it with a different host yet.
Last edited by lemonaid on Wed Nov 04, 2009 9:08 pm, edited 1 time in total.
Re: Errors since updating to 1.6.6
The question is how did you install the upgrade? If you used SSH and wget and then untarred it, you may have changed all the file ownership to the wrong user, and now you don't have write permission to use fopen.
Re: Errors since updating to 1.6.6
hi, thx for the quick reply …
at the admin section i get no error - there's just nothing to click on visible
-> but not always!!! at the moment it works, so I cleared the cache but problem on frontend still remains…
my host says hasn't changed anything but I can't even upload any files via ftp (Error 550 unable to upload - nothing else shown)
haven't installed any updates -> I've just added another page …
I just found out that there is a problem when I go to "test umask"
it says:
Owner: N/A
Permissions: N/A
could that be the problem???
at the admin section i get no error - there's just nothing to click on visible
-> but not always!!! at the moment it works, so I cleared the cache but problem on frontend still remains…
my host says hasn't changed anything but I can't even upload any files via ftp (Error 550 unable to upload - nothing else shown)
haven't installed any updates -> I've just added another page …
I just found out that there is a problem when I go to "test umask"
it says:
Owner: N/A
Permissions: N/A
could that be the problem???
Re: Errors since updating to 1.6.6
Hi, the systems panel works again, and the front-end is also up again …
dunno why, but there are still some errors:
1. like mentioned above "umask" is not set right (?)
2. system information gives an error at:
root_path:
/websrv/kunden/fischundwasser/webspace/htdocs (0755)
(theres a ?-link but that leads to no content)
hope thats some useful info …
THX!!!
dunno why, but there are still some errors:
1. like mentioned above "umask" is not set right (?)
2. system information gives an error at:
root_path:
/websrv/kunden/fischundwasser/webspace/htdocs (0755)
(theres a ?-link but that leads to no content)
hope thats some useful info …
THX!!!
Re: Errors since updating to 1.6.6
- run System Verificationclapczyn wrote: 1. like mentioned above "umask" is not set right (?)
2. system information gives an error at:
root_path:
/websrv/kunden/fischundwasser/webspace/htdocs (0755)
(theres a ?-link but that leads to no content)
hope thats some useful info …
- in System Information have you something in "disable_functions in PHP"? Display your "View Text Report"
Alby
Re: Errors since updating to 1.6.6
Thats my system status:
when you click on the link to sum it up for forum it leaves out some parts:
but everything else is ok (marked in green)
"disable php functions" is also marked in green
----------------------------------------------
Cms Version: 1.6.6
Installed Modules:
CMSMailer: 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
Glossary: 0.6.8
CGExtensions: 1.17.5
NMS: 2.2.3
Config Information:
php_memory_limit: 64000000
process_whole_template: false
max_upload_size: 100000000
default_upload_permission: 664
assume_mod_rewrite: false
page_extension:
internal_pretty_urls: false
use_hierarchy: true
Php Information:
phpversion: 5.2.9
md5_function: An (Ja)
gd_version: 2
tempnam_function: An (Ja)
magic_quotes_runtime: Aus (Nein)
memory_limit: 64000000
max_execution_time: 600
safe_mode: Aus (Nein)
session_save_path: /var/lib/php5 (0755)
session.use_cookies: An (Ja)
Server Information:
Server Api: apache2handler
Server Db Type: MySQL (mysql)
Server Db Version: 5.0.51a
----------------------------------------------
when you click on the link to sum it up for forum it leaves out some parts:
but everything else is ok (marked in green)
"disable php functions" is also marked in green
----------------------------------------------
Cms Version: 1.6.6
Installed Modules:
CMSMailer: 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
Glossary: 0.6.8
CGExtensions: 1.17.5
NMS: 2.2.3
Config Information:
php_memory_limit: 64000000
process_whole_template: false
max_upload_size: 100000000
default_upload_permission: 664
assume_mod_rewrite: false
page_extension:
internal_pretty_urls: false
use_hierarchy: true
Php Information:
phpversion: 5.2.9
md5_function: An (Ja)
gd_version: 2
tempnam_function: An (Ja)
magic_quotes_runtime: Aus (Nein)
memory_limit: 64000000
max_execution_time: 600
safe_mode: Aus (Nein)
session_save_path: /var/lib/php5 (0755)
session.use_cookies: An (Ja)
Server Information:
Server Api: apache2handler
Server Db Type: MySQL (mysql)
Server Db Version: 5.0.51a
----------------------------------------------
Last edited by clapczyn on Sat Nov 07, 2009 9:56 am, edited 1 time in total.
Re: Errors since updating to 1.6.6
Probably you have a problem to tmp/cache folderalby wrote: - run System Verification
chmod 777 tmp and subfolders
and run install/upgrade.php (step1 check your installation and in step2 look for something error)
Alby
Re: Errors since updating to 1.6.6
clapczyn
Problems with page numbers is an old bug, to fix hit Reorder Pages link at bottom of content > pages and then hit submit, no moving pages needed...
The last time I saw unmask give that kind of info it was on an https site...
Problems with page numbers is an old bug, to fix hit Reorder Pages link at bottom of content > pages and then hit submit, no moving pages needed...
The last time I saw unmask give that kind of info it was on an https site...
Re: Errors since updating to 1.6.6
thx for the info - didn't see that option …
in system verification everything is alright except the "root_path:" thing …
funny thing: at upgrade.php it gives me the error that my config.php is not there or the permissions are not set right
-> but I set them on 0444 earlier so that would be that …
think I'll set it up again, maybe there really are some corrupt files …
but THX for all the help - really appreciated!!!
all folders in tmp are 777 but the files are not - but I can't change that, gives me an error when I try …alby wrote:Probably you have a problem to tmp/cache folderalby wrote: - run System Verification
chmod 777 tmp and subfolders
and run install/upgrade.php (step1 check your installation and in step2 look for something error)
Alby
in system verification everything is alright except the "root_path:" thing …
funny thing: at upgrade.php it gives me the error that my config.php is not there or the permissions are not set right
-> but I set them on 0444 earlier so that would be that …
think I'll set it up again, maybe there really are some corrupt files …
but THX for all the help - really appreciated!!!
Last edited by clapczyn on Sun Nov 08, 2009 1:47 pm, edited 1 time in total.
Re: Errors since updating to 1.6.6
chmod 444 grants access to owner of file only. Thought usually owner is ftp user and upgrade runs as apache user.