![]() |
Trying to move system folder one up? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Trying to move system folder one up? (/showthread.php?tid=25991) |
Trying to move system folder one up? - El Forum - 01-03-2010 [eluser]123wesweat[/eluser] Hi there, I have uploaded system folder as root at the same levelas httpdocs but this $system_folder = "/var/www/vhosts/mydomain.com/system"; nor this $system_folder = "../system"; works. When i upload system as is, then it seems to work but i like to move the system folder Any tips, suggestions? Trying to move system folder one up? - El Forum - 01-03-2010 [eluser]tomcode[/eluser] Put Code: echo getcwd(); in Your index.php. Then You know the path to Your index file and You should be able to set the path to Your system and application location. Trying to move system folder one up? - El Forum - 01-03-2010 [eluser]123wesweat[/eluser] tx, tomcode but the path to system is correct. It says /var/www/vhosts/mydomain.com/httpdocs this is the errors i get Code: open_basedir restriction in effect. File(/var/www/vhosts/mydomain.com/system/codeigniter/CodeIgniter.php) is not within the allowed path(s): (/var/www/vhosts/mydomain.com/httpdocs:/tmp) in /var/www/vhosts/mydomain.com/httpdocs/index.php on line 118 Any other tips i how to fix open basedir?? btw: i had to add ini_set('display_errors', 1); to get the errors to be displayed Trying to move system folder one up? - El Forum - 01-03-2010 [eluser]tomcode[/eluser] This is a server setting, see http://fr2.php.net/manual/en/ini.core.php#ini.open-basedir Trying to move system folder one up? - El Forum - 01-03-2010 [eluser]123wesweat[/eluser] tx, for the direction unfortunatly i haven't fix this yet i tried vhost.conf Code: <directory /var/www/vhosts/mydomain.com/httpdocs> and Code: php_admin_value open_basedir /var/www/vhosts/city2go.net/httpdocs:/tmp:/system and disabled Code: #php_admin_value open_basedir "/var/www/vhosts/mydomain.com/httpdocs:/tmp" within the apache and php5 section any more tips?? ps: can't get to my plesk cp at the moment Trying to move system folder one up? - El Forum - 01-03-2010 [eluser]tomcode[/eluser] see also http://fr2.php.net/manual/en/configuration.changes.php#configuration.changes.apache Sorry, have not better advise. Trying to move system folder one up? - El Forum - 01-03-2010 [eluser]Colin Williams[/eluser] $system_folder = '../system'; Trying to move system folder one up? - El Forum - 01-04-2010 [eluser]123wesweat[/eluser] @colin, sorry i mistyped in my org. thread. I already tried ../system. It has to do with the open_basedir restriction Trying to move system folder one up? - El Forum - 01-12-2010 [eluser]123wesweat[/eluser] any other suggestions?? |