unable to copy template to cache repair gives error

soaringeagle
@soaringeagle
6 years ago
3,304 posts
i get Error:unable to copy modules/jrBlog/templates/item_action.tpl to template cache directory: data/cache/jrCore
when accessing sany page (diferent template njames though)
running repsair.php before even running it i se this error


Warning: is_file(): open_basedir restriction in effect. File(/var/www/vhosts/dreadlockssite.com/httpdocs/modules/.DS_Store/include.php) is not within the allowed path(s): (/) in /var/www/vhosts/dreadlockssite.com/httpdocs/repair.php on line 73 Warning: is_file(): open_basedir restriction in effect. File(/var/www/vhosts/dreadlockssite.com/httpdocs/modules/jamroom-core-6.0.0.zip/include.php) is not within the allowed path(s): (/) in /var/www/vhosts/dreadlockssite.com/httpdocs/repair.php on line 73 Warning: is_file(): open_basedir restriction in effect. File(/var/www/vhosts/dreadlockssite.com/httpdocs/modules/modules.zip/include.php) is not within the allowed path(s): (/) in /var/www/vhosts/dreadlockssite.com/httpdocs/repair.php on line 73 



--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 05/10/18 04:41:20PM
soaringeagle
@soaringeagle
6 years ago
3,304 posts
seems to be a permission issue in latest beta upgraxde of core?


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
6 years ago
3,304 posts
additionaly repair script causes these errors
Permission denied in /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrCore-release-6.1.6b6/lib/util.php on line 1972 Warning: unlink(/var/www/vhosts/dreadlockssite.com/httpdocs/data/cache/jrImage/98190/1/3/2735/jrGallery/57429/0562889fd4699404d076f9aecc5dc337): Permission denied in /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrCore-release-6.1.6b6/lib/util.php on line 1972 Warning: unlink(/var/www/vhosts/dreadlockssite.com/httpdocs/data/cache/jrImage/98190/1/3/2735/jrGallery/36371/7f81a76e13415a03e6a9ada20700547d): Permission denied in /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrCore-release-6.1.6b6/lib/util.php on line 1972 Warning: unlink(/var/www/vhosts/dreadlockssite.com/httpdocs/data/cache/jrImage/98190/1/3/2735/jrGallery/36371/3b6033197445bf57c6275c731e0922f7): Permission denied in /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrCore-release-6.1.6b6/lib/util.php on line 1972 Warning: unlink(/var/www/vhosts/dreadlockssite.com/httpdocs/data/cache/jrImage/98190/1/3/2735/jrGallery/36371/1487b7c8803917cd5405c51d9a1f50ad):


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
6 years ago
3,304 posts
got it.
recursive permission change on all cache files and directories
but them most menu items were missing so integrity check/ repair modules enabled fixed it


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
michael
@michael
6 years ago
7,715 posts
Quote: ....Warning: is_file(): open_basedir restriction in effect.....
your server has 'open_basedir' rules set

maybe this:
https://stackoverflow.com/questions/1846882/open-basedir-restriction-in-effect-file-is-not-within-the-allowed-paths

It means jamroom wanted to do some copying but was not permitted to by the server.
updated by @michael: 02/07/18 12:05:48PM
soaringeagle
@soaringeagle
6 years ago
3,304 posts
also getting unable to conect with ,marketplacve
you sure theres no bug in the new core beta


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
6 years ago
3,304 posts
ok i think i found it itsds cause the mod_php iosnt available for phpo 7
fad to revert to 5.5 something

whats the best php handler for php 7


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
6 years ago
3,304 posts
mod_php is not wotrking at all all posts show up blank, all photos appear broken


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
michael
@michael
6 years ago
7,715 posts
'open_basedir' is a setting in your php.ini file
https://secure.php.net/manual/en/ini.core.php#ini.open-basedir

by default its not set, so if it is set, its been added. un-add it.
soaringeagle
@soaringeagle
6 years ago
3,304 posts
i found that it was sety to / i clicked use default
that got me back in but im still having issues with posts being blsank ..very high cpu usage (off the charts) (think a db setting i just made might fix that we shal see)

mod_php on;ly worlks onm older php versions what options is there for 7+


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
6 years ago
3,304 posts
pretty certain theres a bug in new beta core
freedomswings never shanged over to php_mod
all i did was upgrade the core, and now several images are broken and again posts are blank


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
michael
@michael
6 years ago
7,715 posts
soaringeagle:..
pretty certain theres a bug in new beta core..
There may be an error in the beta core, but this error:
...Warning: is_file(): open_basedir restriction in effect....
is the server.

Its not allowing jamroom to copy files to the cache.
soaringeagle
@soaringeagle
6 years ago
3,304 posts
already fixed that
now i'm getting images that dont show, and some when i post comments it comes up blank
that maybe a mod_php
issue still debugging
but since both sites were affected and only 1 switched to mod_phop im suispoecting core bug since both were updated last night


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
6 years ago
3,304 posts
ok i might have been wrong the 1 image on freedomswings might have beencurruptred in migration its working now everythings working..somewhat, on fast cgi
mod_php ony was available on php 5.3.3
so i need a solution for 7.2.2
or any 7 version


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
michael
@michael
6 years ago
7,715 posts
This is still the guide I use for setup and its working with php7

https://www.jamroom.net/brian/documentation/guides
soaringeagle
@soaringeagle
6 years ago
3,304 posts
couldnt install mod ruid by the directions got command not found on the section that says 'this is where the magic happens'

what section explains setting up the php handlers, didnt see that unless it was part of the lamp stack
and since i don't want to do a full reinstall of lamp. id rather just install the best handler
does php_fpm work without nginx?
it seems i have mod_fcgi not mod_fastcgi
dreadlockssite.com/phpinfo.php
if you look at Server API CGI/FastCGI


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

Tags