Welcome Guest, Not a member yet? Register   Sign In
Moving the application folder
#1

[eluser]richzilla[/eluser]
Im having trouble moving the application folder. Ive changed the value of
Code:
$application_folder
in index.php. Ive set to the absolute location of my application folder:
Code:
/home/richard/Code/PHP/uni_project/application
. The path is ok, i can cd to it, and ls and see all the relevant files. Yet when i attempt to run my application, i get the message:
Code:
Your application folder path does not appear to be set correctly. Please open the following file and correct this: index.php
. any ideas what im doing wrong?
#2

[eluser]steelaz[/eluser]
Try

Code:
is_dir('/home/richard/Code/PHP/uni_project/application')

and see what you get
#3

[eluser]richzilla[/eluser]
Ive tried the above, and it returns false. I can get as far as
Code:
/home/richard/Code/PHP
and it still returns true. As soon as i add
Code:
uni_project
it returns false. I thought the underscore might cause it, so i renamed the directory
Code:
uniproject
, but i still get the same problem. Is there a limit to the length of the path?
#4

[eluser]steelaz[/eluser]
Most likely permissions problem.




Theme © iAndrew 2016 - Forum software by © MyBB