7.1.0.B2-7.1.0 upgrade can be applied
This was done the day after upgrading B1 to B2. I cleared cache, cache_public, and tmp. Now i go to the administration login page and its bank. http://www.redsoxchat.com/administration/index.php
and the site is down. http://www.redsoxchat.com
|
Warning! PageView cache cannot be evaluated. Please recompile.
Thats what i see on the main site url.
Manually clear the cache, cache_public and tmp folders.
https://www.deanbassett.com |
That is what I did. I rsync'd in the upgrade files. I cleaned out cache, cache_public, and tmp. And now i cannot get anything to load. I've done this upgrade like all the others I've done, I'm a long time dolphin user.
|
[Sat Apr 06 08:40:35 2013] [error] [client 82.208.151.133] PHP Warning: Invalid argument supplied for foreach() in /home/redsoxchat/public_html/templates/base/scripts/BxBaseMenuSimple.php on line 45, referer: http://www.redsoxchat.com/ [Sat Apr 06 08:40:35 2013] [error] [client 82.208.151.133] PHP Warning: fopen(/home/redsoxchat/public_html/cache/bx_templ_en_uni_2c6331b6402895b9e5791d2c633eab98.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in /home/redsoxchat/public_html/inc/classes/BxDolCacheFileHtml.php on line 64, referer: http://www.redsoxchat.com/ [Sat Apr 06 08:40:35 2013] [error] [client 82.208.151.133] PHP Warning: fopen(/home/redsoxchat/public_html/cache/bx_templ_en_uni_e84b869108883449bcb48954d97879f6.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in /home/redsoxchat/public_html/inc/classes/BxDolCacheFileHtml.php on line 64, referer: http://www.redsoxchat.com/ [Sat Apr 06 08:40:35 2013] [error] [client 82.208.151.133] PHP Warning: fopen(/home/redsoxchat/public_html/cache_public/bx_templ_css_2aaca36d61a40ccb7f1a3428a230db2d.css) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in /home/redsoxchat/public_html/inc/classes/BxDolTemplate.php on line 1160, referer: http://www.redsoxchat.com/ [Sat Apr 06 08:40:35 2013] [error] [client 82.208.151.133] PHP Fatal error: Call to undefined method BxBlogsTemplate::_includeFile() in /home/redsoxchat/public_html/inc/classes/BxDolTemplate.php on line 1167, referer: http://www.redsoxchat.com/ |
Check the php error logs on the server. Chances are one or more of the upgrade files did not properly overwrite the originals.
https://www.deanbassett.com |
rsync'd again and all it moved was the upgrade folder, so they all went. I assume if i start with a fresh 7.1.1 install i lose all my mods
|
If this a upgrade? Or did you move servers.
Because some of those errors you are showing are permission denied errors. You obviously have some permission problems from some reason. And the permission problems are in the cache.
Sorry, you need to empty the cache again and verify all the files were actually removed and check permissions on cache, cache_public and tmp to make sure the folders are writable. https://www.deanbassett.com |
upgrade with an rsync using avp. perms shouldn't have changed.
By deleting files that are getting dumped in there, haven't we already determined the folders to be wriateble? 
|
Oh, and whats this rsync your taking about??
A linux rsync from a different server? If so, that would explain your permission issues. It's most likley trying to sync the permissions from the other server.
Upgrade files are suppose to be uploaded via FTP not rsync.
https://www.deanbassett.com |
upgrade with an rsync using avp. perms shouldn't have changed.
By deleting files that are getting dumped in there, haven't we already determined the folders to be wriateble? 
I give up. Error messages are quite clear, i am apparently am not. So i will not continue this.
https://www.deanbassett.com |
LOL. wow I, with a smily face, pointed out that if i'm deletiing files from a directory, and they get back in there, its writable.
I set the sticky bit on cache and things seem to work again. Perms were/are still 755 to the user. Never had to use sticky bit before, but all's well that ends well.
|
Writable to the user vrs writable to the webserver are two different things. What permissions they must be set to depends on how php is running. If as an Apache module then the permissions should be 777, if fastcgi then 755.
Just because you as a user can access, files, ect, does not necessarily mean the web server can. And no, you should not have to play with the sticky bit and should not.
https://www.deanbassett.com |
Interesting on the perms depending on how php is installed. Didn't know that, thanks. I live in the java/grails stack and LAMP isn't something I use other than this one site. |