Errors since updating to 1.6.6

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
User avatar
lemonaid
Forum Members
Forum Members
Posts: 77
Joined: Mon Sep 22, 2008 7:44 am

Errors since updating to 1.6.6

Post 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.
Last edited by lemonaid on Wed Nov 04, 2009 8:58 pm, edited 1 time in total.
kendo451

Re: [solved] Errors since updating to 1.6.6

Post 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.
clapczyn
Forum Members
Forum Members
Posts: 59
Joined: Tue Oct 27, 2009 2:00 pm

Re: [solved] Errors since updating to 1.6.6

Post 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?
Last edited by clapczyn on Wed Nov 04, 2009 6:43 pm, edited 1 time in total.
clapczyn
Forum Members
Forum Members
Posts: 59
Joined: Tue Oct 27, 2009 2:00 pm

Re: [solved] Errors since updating to 1.6.6

Post 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?
User avatar
lemonaid
Forum Members
Forum Members
Posts: 77
Joined: Mon Sep 22, 2008 7:44 am

Re: [solved] Errors since updating to 1.6.6

Post 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.
Last edited by lemonaid on Wed Nov 04, 2009 9:08 pm, edited 1 time in total.
kendo451

Re: Errors since updating to 1.6.6

Post 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.
clapczyn
Forum Members
Forum Members
Posts: 59
Joined: Tue Oct 27, 2009 2:00 pm

Re: Errors since updating to 1.6.6

Post 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???
clapczyn
Forum Members
Forum Members
Posts: 59
Joined: Tue Oct 27, 2009 2:00 pm

Re: Errors since updating to 1.6.6

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

Re: Errors since updating to 1.6.6

Post 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
clapczyn
Forum Members
Forum Members
Posts: 59
Joined: Tue Oct 27, 2009 2:00 pm

Re: Errors since updating to 1.6.6

Post 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

----------------------------------------------
Last edited by clapczyn on Sat Nov 07, 2009 9:56 am, edited 1 time in total.
alby

Re: Errors since updating to 1.6.6

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Errors since updating to 1.6.6

Post 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...
clapczyn
Forum Members
Forum Members
Posts: 59
Joined: Tue Oct 27, 2009 2:00 pm

Re: Errors since updating to 1.6.6

Post 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!!!
Last edited by clapczyn on Sun Nov 08, 2009 1:47 pm, edited 1 time in total.
Peciura

Re: Errors since updating to 1.6.6

Post by Peciura »

chmod 444 grants access to owner of file only. Thought usually owner is ftp user and upgrade runs as apache user.
Locked

Return to “[locked] Installation, Setup and Upgrade”