Welcome Guest, Not a member yet? Register   Sign In
CI cannot run in Ubuntu 8.10
#1

[eluser]Unknown[/eluser]
i have some problem,,
and this the problem:
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

Fatal error: Unknown: Failed opening required '/opt/lampp/htdocs/proyek/index.php' (include_path='.:/opt/lampp/lib/php') in Unknown on line 0

use LAMPP version 1.7.1
and CI version 1.7.1
#2

[eluser]TheFuzzy0ne[/eluser]
Welcome to the CodeIgniter forums.

It would help if you told us where you're installation is kept, and whether not not /opt/lampp/htdocs/proyek/index.php actually exists.
#3

[eluser]Dam1an[/eluser]
Good ol' permission issues on Linux
if my memory serves me correctly, this is what I done to get LAMPP and CI running on mandriva

1. Log in as root (or use sudo throughout)
2. delete the lampp install to get a completely clean start (rm -fr /opt/lampp)
3. Install LAMPP again (still as root) using tar zxvf lampp.tar.gz -C /opt (as per the xampp installation instructions)
4. change ownership of htdocs (chown -R username /opt/lampp/htdocs)
5. Exit root access (ctrl + d) or stop using sudo
6. delete contents of htdocs and unzip CI as normal user
7. Start xampp as root (sudo /opt/lampp/lampp start)
8. All should be working now
#4

[eluser]Unknown[/eluser]
hi Dam1an, I have been following all of your instructions, but when I start the browser, there is "Access denied" page. What I have to do then?




Theme © iAndrew 2016 - Forum software by © MyBB