Page 1 of 1

Errors since updating to 1.6.6

Posted: Mon Oct 05, 2009 1:59 am
by lemonaid
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.

Re: [solved] Errors since updating to 1.6.6

Posted: Tue Nov 03, 2009 9:02 pm
by kendo451
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.

Re: [solved] Errors since updating to 1.6.6

Posted: Wed Nov 04, 2009 2:56 pm
by clapczyn
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?

Re: [solved] Errors since updating to 1.6.6

Posted: Wed Nov 04, 2009 6:56 pm
by clapczyn
ok, just to bring that topic up again …

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
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?

Re: [solved] Errors since updating to 1.6.6

Posted: Wed Nov 04, 2009 8:57 pm
by lemonaid
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.

Re: Errors since updating to 1.6.6

Posted: Thu Nov 05, 2009 11:51 am
by kendo451
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

Posted: Thu Nov 05, 2009 12:28 pm
by clapczyn
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???

Re: Errors since updating to 1.6.6

Posted: Thu Nov 05, 2009 2:44 pm
by clapczyn
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!!!

Re: Errors since updating to 1.6.6

Posted: Fri Nov 06, 2009 6:35 pm
by alby
clapczyn 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 …
- run System Verification
- 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

Posted: Sat Nov 07, 2009 9:51 am
by clapczyn
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

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

Re: Errors since updating to 1.6.6

Posted: Sat Nov 07, 2009 10:22 am
by alby
alby wrote: - run System Verification
Probably you have a problem to tmp/cache folder
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

Posted: Sat Nov 07, 2009 7:45 pm
by Dr.CSS
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...

Re: Errors since updating to 1.6.6

Posted: Sun Nov 08, 2009 1:39 pm
by clapczyn
thx for the info - didn't see that option …
alby wrote:
alby wrote: - run System Verification
Probably you have a problem to tmp/cache folder
chmod 777 tmp and subfolders
and run install/upgrade.php (step1 check your installation and in step2 look for something error)

Alby
all folders in tmp are 777 but the files are not - but I can't change that, gives me an error when I try …

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!!!

Re: Errors since updating to 1.6.6

Posted: Sun Nov 08, 2009 5:06 pm
by Peciura
chmod 444 grants access to owner of file only. Thought usually owner is ftp user and upgrade runs as apache user.