Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] 1.7.1 application directory as http alias no longer works
#1

[eluser]Relexx[/eluser]
I have CI as my web root then I have the system/application folder defined has a http alias

Code:
Alias /system/application "C:/Adaptive/workspace/eisms/src/trunk/application"

<Directory "C:/Adaptive/workspace/eisms/src/trunk/application" >
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

Using 1.7.0 this was working. Since upgrading to 1.7.1 this no longer works and I get the following in my apache error log
Code:
[Fri Feb 20 21:32:10 2009] [error] [client 127.0.0.1] PHP Warning:  require(C:\\Adaptive\\webkit\\CodeIgniter_1.7.1/system/application/config/constants.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in C:\\Adaptive\\webkit\\CodeIgniter_1.7.1\\system\\codeigniter\\CodeIgniter.php on line 52
[Fri Feb 20 21:32:10 2009] [error] [client 127.0.0.1] PHP Fatal error:  require() [<a href='function.require'>function.require</a>]: Failed opening required 'C:\\Adaptive\\webkit\\CodeIgniter_1.7.1/system/application/config/constants.php' (include_path='.;C:\\php5\\pear') in C:\\Adaptive\\webkit\\CodeIgniter_1.7.1\\system\\codeigniter\\CodeIgniter.php on line 52
[Fri Feb 20 21:32:52 2009] [error] [client 127.0.0.1] PHP Warning:  require(C:\\Adaptive\\webkit\\CodeIgniter_1.7.1/system/application/config/constants.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in C:\\Adaptive\\webkit\\CodeIgniter_1.7.1\\system\\codeigniter\\CodeIgniter.php on line 52
[Fri Feb 20 21:32:52 2009] [error] [client 127.0.0.1] PHP Fatal error:  require() [<a href='function.require'>function.require</a>]: Failed opening required 'C:\\Adaptive\\webkit\\CodeIgniter_1.7.1/system/application/config/constants.php' (include_path='.;C:\\php5\\pear') in C:\\Adaptive\\webkit\\CodeIgniter_1.7.1\\system\\codeigniter\\CodeIgniter.php on line 52

has anybody else received this error? or have a work around (besides copying my application directory into my CI system folder.

System is
Win XP
Apache 2.2
PHP 5
#2

[eluser]Relexx[/eluser]
My bad. I forgot to change the application folder path in the index.php file.
#3

[eluser]Derek Allard[/eluser]
Glad to hear it was a simple thing! Smile




Theme © iAndrew 2016 - Forum software by © MyBB