Installation Error Problem with User Rights ?

Permalink
System Apache with Plesk Controlsoftware

so there is a web user who owns normaly all files and wwwrun is executing

Chmod especially of files is on 777


Warning: mkdir(): SAFE MODE Restriction in effect. The script whose uid is 10005 is not allowed to access /srv/www/vhosts/duxu.de/httpdocs/c5/files/4512 owned by uid 30 in /srv/www/vhosts/duxu.de/httpdocs/c5/concrete/helpers/concrete/file.php on line 88 Warning: mkdir(): SAFE MODE Restriction in effect. The script whose uid is 10005 is not allowed to access /srv/www/vhosts/duxu.de/httpdocs/c5/files/4512 owned by uid 30 in /srv/www/vhosts/duxu.de/httpdocs/c5/concrete/helpers/concrete/file.php on line 91 Warning: copy(): Unable to access /srv/www/vhosts/duxu.de/httpdocs/c5/files/4512/6287/3886/inneroptics_dot_net_aspens.jpg in /srv/www/vhosts/duxu.de/httpdocs/c5/concrete/libraries/file/importer.php on line 94 Warning: copy(/srv/www/vhosts/duxu.de/httpdocs/c5/files/4512/6287/3886/inneroptics_dot_net_aspens.jpg): failed to open stream: No such file or directory in /srv/www/vhosts/duxu.de/httpdocs/c5/concrete/libraries/file/importer.php on line 94 Warning: mkdir(): SAFE MODE Restriction in effect. The script whose uid is 10005 is not allowed to access /srv/www/vhosts/duxu.de/httpdocs/c5/files/9912 owned by uid 30 in /srv/www/vhosts/duxu.de/httpdocs/c5/concrete/helpers/concrete/file.php on line 88 Warning: mkdir(): SAFE MODE Restriction in effect. The script whose uid is 10005 is not allowed to access /srv/www/vhosts/duxu.de/httpdocs/c5/files/9912 owned by uid 30 in /srv/www/vhosts/duxu.de/httpdocs/c5/concrete/helpers/concrete/file.php on line 91 Warning: copy(): Unable to access /srv/www/vhosts/duxu.de/httpdocs/c5/files/9912/6287/3886/inneroptics_dot_net_canyonlands.jpg in /srv/www/vhosts/duxu.de/httpdocs/c5/concrete/libraries/file/importer.php on line 94 Warning: copy(/srv/www/vhosts/duxu.de/httpdocs/c5/files/9912/6287/3886/inneroptics_dot_net_canyonlands.jpg): failed to open stream: No such file or directory in /srv/www/vhosts/duxu.de/httpdocs/c5/concrete/libraries/file/importer.php on line 94 Warning: mkdir(): SAFE MODE Restriction in effect. The script whose uid is 10005 is not allowed to access /srv/www/vhosts/duxu.de/httpdocs/c5/files/5112 owned by uid 30 in /srv/www/vhosts/duxu.de/httpdocs/c5/concrete/helpers/concrete/file.php on line 88 Warning: mkdir(): SAFE MODE Restriction in effect. The script whose uid is 10005 is not allowed to access /srv/www/vhosts/duxu.de/httpdocs/c5/files/5112 owned by uid 30 in /srv/www/vhosts/duxu.de/httpdocs/c5/concrete/helpers/concrete/file.php on line 91 Warning: copy(): Unable to access /srv/www/vhosts/duxu.de/httpdocs/c5/files/5112/6287/3886/inneroptics_dot_net_new_zealand_sheep.jpg in /srv/www/vhosts/duxu.de/httpdocs/c5/concrete/libraries/file/importer.php on line 94 Warning: copy(/srv/www/vhosts/duxu.de/httpdocs/c5/files/5112/6287/3886/inneroptics_dot_net_new_zealand_sheep.jpg): failed to open stream: No such file or directory in /srv/www/vhosts/duxu.de/httpdocs/c5/concrete/libraries/file/importer.php on line 94 Warning: mkdir(): SAFE MODE Restriction in effect. The script whose uid is 10005 is not allowed to access /srv/www/vhosts/duxu.de/httpdocs/c5/files/4712 owned by uid 30 in /srv/www/vhosts/duxu.de/httpdocs/c5/concrete/helpers/concrete/file.php on line 88 Warning: mkdir(): SAFE MODE Restriction in effect. The script whose uid is 10005 is not allowed to access /srv/www/vhosts/duxu.de/httpdocs/c5/files/4712 owned by uid 30 in /srv/www/vhosts/duxu.de/httpdocs/c5/concrete/helpers/concrete/file.php on line 91 Warning: copy(): Unable to access /srv/www/vhosts/duxu.de/httpdocs/c5/files/4712/6287/3886/inneroptics_dot_net_starfish.jpg in /srv/www/vhosts/duxu.de/httpdocs/c5/concrete/libraries/file/importer.php on line 94 Warning: copy(/srv/www/vhosts/duxu.de/httpdocs/c5/files/4712/6287/3886/inneroptics_dot_net_starfish.jpg): failed to open stream: No such file or directory in /srv/www/vhosts/duxu.de/httpdocs/c5/concrete/libraries/file/importer.php on line 94 Warning: mkdir(): SAFE MODE Restriction in effect. The script whose uid is 10005 is not allowed to access /srv/www/vhosts/duxu.de/httpdocs/c5/files/1512 owned by uid 30 in /srv/www/vhosts/duxu.de/httpdocs/c5/concrete/helpers/concrete/file.php on line 88 Warning: mkdir(): SAFE MODE Restriction in effect. The script whose uid is 10005 is not allowed to access /srv/www/vhosts/duxu.de/httpdocs/c5/files/1512 owned by uid 30 in /srv/www/vhosts/duxu.de/httpdocs/c5/concrete/helpers/concrete/file.php on line 91 Warning: copy(): Unable to access /srv/www/vhosts/duxu.de/httpdocs/c5/files/1512/6287/3886/inneroptics_dot_net_portland.jpg in /srv/www/vhosts/duxu.de/httpdocs/c5/concrete/libraries/file/importer.php on line 94 Warning: copy(/srv/www/vhosts/duxu.de/httpdocs/c5/files/1512/6287/3886/inneroptics_dot_net_portland.jpg): failed to open stream: No such file or directory in /srv/www/vhosts/duxu.de/httpdocs/c5/concrete/libraries/file/importer.php on line 94


At the End the Error that stops execution...

Fatal error: Call to a member function getFile() on a non-object in /srv/www/vhosts/duxu.de/httpdocs/c5/concrete/controllers/install.php on line 528

Maybe a Follow Up Error on the SAFE Modes

I tried it 2 times... no idea at the moment what to do.

 
synlag replied on at Permalink Reply
synlag
Do you have safe mode enabled?
dukeatcoding replied on at Permalink Reply
I think so , is that a problem in general ?
synlag replied on at Permalink Reply
synlag
yup, because a lot of files use short tags <? ...
so to fix all php files within a concrete5 install you have to make <?php out of it, here's a script that can do this, taken from php.net:

find -name '*.php' | xargs perl -pi -e 's/<\?= ?(.*?) ?\?>/<?php echo($1); ?>/g'
find -name '*.php' | xargs perl -pi -e 's/<\?/<?php/g'
find -name '*.php' | xargs perl -pi -e 's/<\?phpphp/<?php/g'
dukeatcoding replied on at Permalink Reply
Thx for the Script

This short tags problems with newer php versions are nerving me but you can edit in normaly in php.ini

For my problem i deactivated simply safe mode for the specific domain and it worked
NUL76 replied on at Permalink Reply
NUL76
delete reply
Mnkras replied on at Permalink Reply
Mnkras
i really suggest just turning off safe mode