Welcome Guest, Not a member yet? Register   Sign In
Some Problem with Homeserver & codeigniter
#1

[eluser]Thomas Fuston[/eluser]
Aloha

I got a little problem with codeigniter, i installed an lighttpd server + php etc etc.

But everytime i wanna watch my app i get following message

Code:
Warning: require_once(/home/thomas/www/wedup/system/codeigniter/CodeIgniter.php) [function.require-once]: failed to open stream: No such file or directory in /home/thomas/www/wedup/index.php on line 115

Fatal error: require_once() [function.require]: Failed opening required '/home/thomas/www/wedup/system/codeigniter/CodeIgniter.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/thomas/www/wedup/index.php on line 115

i already done
Code:
chmod -R 0777 /home/thomas/www/

but still same message,same effect is with apache2.

someone got an idea ?

so far...
lemontree
#2

[eluser]n0xie[/eluser]
Quote:failed to open stream: No such file

What does this tell you?
Code:
ls /home/thomas/www/wedup/system/codeigniter/CodeIgniter.php

If you are 1000% sure your path is correct and the file is there and you did not make a typo (linux is case sensative) try:

Code:
ini_set('include_path',
  ini_get('include_path') . PATH_SEPARATOR . '/path/to/add')
#3

[eluser]Thomas Fuston[/eluser]
Ah thx alot for that advice!

The mistake is couse linux is very sensetive

Code:
that means the file is "codeigniter.php"
and in the index.php stands "CodeIgniter.php"

(There are alot more files whiche are lowercase, but called with uppercase in the functions)

So think i have to change the Filenames ,or the names in the different functions :/

there are no easier fix ? mb someone know it Smile

so far.. thx alot
lemontree
#4

[eluser]n0xie[/eluser]
You either used a client/program which made all your files lowercase or you did so yourself, because the normal CodeIgniter files are mixed camel case. I suggest you download a new copy and upload that, instead of manually editting it all yourself.
#5

[eluser]Thomas Fuston[/eluser]
Done... Smile Thx Alot again!

I copied it from my older apple to an cd, and then to linux.
Somwhere while that, it changed the filenames... strange ^^

Anway now its working usual. Smile




Theme © iAndrew 2016 - Forum software by © MyBB