Open GoogleCodeExporter opened 9 years ago
Lifepress requires mod_rewrite to function properly (or at all), this is
normally
accomplished by a .htaccess rule, something like:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
The equivalent rules for lightly would be something like:
url.rewrite = (
"^/(.+)/?$" => "/index.php/$1"
)
Hopefully that helps.
Original comment by killpack99
on 11 Mar 2010 at 2:26
it does not help with that rewrite rule..
Original comment by batjohan
on 11 Mar 2010 at 3:31
I noticed that you have the folling in your config.php
$config['base_url'] = "http://life.domain.tld/";
But in the issue the warning states a problem in this file:
/var/www/
life.domain.tld/hg/trunk/system/application/libraries/simplepie.php
Can you check if you really put Lifepress into
*/var/www/life.domain.tld/hg/trunk/...*
Especially the "hg/trunk/" part of the directory looks suspicious to me.
Original comment by carsten....@gmail.com
on 12 Mar 2010 at 7:00
johan@spaam:/var/www/life.domain.tld/hg/trunk/system/application/libraries$ ls
auth.php index.html markdown.php MY_Controller.php page.php simplepie.php
sweetcron_item.php sweetcron.php
my vhost in lighty with my rewrite thing. it did work with sweetcron so it no
problem
with that. i got the same error with and without that magnet script.
$HTTP["host"] == "life.domain.tld" {
server.document-root = "/var/www/life.domain.tld/hg/trunk/"
accesslog.filename = logpath + "life.domain.tld.access.log"
magnet.attract-physical-path-to = ( "/etc/lighttpd/life.lua" )
}
Original comment by batjohan
on 12 Mar 2010 at 10:08
That revision ffc7cf08be3d3c5c0e6ba8a29c924014eb0205bc is the update to
CodeIgniter
again. Maybe that's causing issues because the simplepie.php is somehow changed
and
broke the functionality, I've diff'ed the files and there is no change to
simplepie.php.
I think the changes coming from CodeIgniter should be reviewed again, maybe
there is
more missing...
Original comment by carsten....@gmail.com
on 12 Mar 2010 at 10:36
Ah, I found the comment I made to CodeIgniter changes:
http://code.google.com/p/lifepress/source/browse/trunk/system/application/config
/routes
.php?
spec=svnffc7cf08be3d3c5c0e6ba8a29c924014eb0205bc&r=ffc7cf08be3d3c5c0e6ba8a29c924
014eb02
05bc#43
This was causing some trouble, maybe this is the source of more errors.
Original comment by carsten....@gmail.com
on 12 Mar 2010 at 10:38
if i changed $route['default_controller'] = "home"; to welcome in routes.php i
got a
404 error from the php script.
"
404 Page Not Found
The page you requested was not found.
"
so there was a problem with the CodeIgniter update?
Original comment by batjohan
on 12 Mar 2010 at 10:54
Some settings were lost during the update (as stated in my comment), but were
fixed
afterwards. I'm not entirely sure now that there isn't more missing.
Original comment by carsten....@gmail.com
on 12 Mar 2010 at 11:06
ok. so any tip or something how i can fix this?
maybe it will go faster to fix this if we talk on irc?
just send a msg to spaam on freenode.
Original comment by batjohan
on 13 Mar 2010 at 10:16
its so weird that install script works and no other pages...
Original comment by batjohan
on 14 Mar 2010 at 10:53
if i have
class simplepie {
}
in simplepie.php the page loads... so there are something wrong when it loads
simplepie.php...
Original comment by batjohan
on 14 Mar 2010 at 9:55
I find this very strange because I can install Lifepress on Ubuntu with Apache,
no
problem, no errors, etc.
In regards to the missing welcome route, welcome.php isn't used in Lifepress
and as
such the route doesn't exist.
Original comment by killpack99
on 14 Mar 2010 at 10:37
[deleted comment]
Original comment by killpack99
on 14 Mar 2010 at 11:44
Issue 18 has been merged into this issue.
Original comment by killpack99
on 14 Mar 2010 at 11:44
BTW SweetCron and CodeIgniter base (1.7.2) works perfectly.
Original comment by djbl...@gmail.com
on 15 Mar 2010 at 12:05
Original comment by killpack99
on 15 Mar 2010 at 1:58
On MAMP works great... (Its similar to XAMPP) also for Mac OS.
Lets start developing
Original comment by djbl...@gmail.com
on 16 Mar 2010 at 3:06
Sounds good, but before we can close this bug I'd like to figure out what the
problem
is with LightTPD and XAMPP that is preventing Lifepress from functioning
properly.
So it isn't an OS X specific bug then?
Original comment by killpack99
on 16 Mar 2010 at 5:43
this problem is soo weird. four days ago. without doing anything. the site
worked. i
did add some rss feeds. add the cron update thing. yesterday it stop working.
dunno
what it can be..
Original comment by batjohan
on 18 Mar 2010 at 3:12
No news?
Original comment by djbl...@gmail.com
on 25 Mar 2010 at 7:12
I'm afraid I've been busy of late, but I'll be looking into the issue as soon
as time
permits.
Original comment by killpack99
on 25 Mar 2010 at 8:13
I ran into the exact same issue with MAMP 1.9 and Mac OS X 10.6.3. I don't know
yet what caused it, but my
error message is
[10-May-2010 20:36:14] PHP Warning: require(BASEPATHlibraries/ExceptionsEXT)
[<a
href='function.require'>function.require</a>]: failed to open stream: No such
file or directory in
/PATH/TO/lifepress/system/application/libraries/Simplepie.php on line 727
It's hard to guess where the error lies. Simplepie.php Line 727 is not the
cause, but Lifepress breaks at that
point. Now I have to figure out where "BASEPATHlibraries/ExceptionsEXT" is used.
Original comment by carsten....@gmail.com
on 10 May 2010 at 6:50
Crazy, after opening some files and reloading the pages in the browser (I use
Chrome) it works. I didn't change
something, just added a short
var_dump(BASEPATH);
to my /system/index.php to have an output. I reloaded the homepage and it
displayed an error message, but the
whole page too. So I removed that var_dump and now it works. :-(
Original comment by carsten....@gmail.com
on 10 May 2010 at 7:07
And today it stops working again. This is really an annoying thing. I'm on
MAMP, Mac OS X 10.6.3, Chrome
again and it simply cannot load my index.php. This is one of the annoying bugs
that keep me from
developing. :-(
This is my .htaccess
Options +FollowSymLinks
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /LIFEPRESS
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
This is my config base_url
$config['base_url'] = "http://localhost:8888/LIFEPRESS/";
Original comment by carsten....@gmail.com
on 13 May 2010 at 6:31
can it be something with codeigniter?
Original comment by batjohan
on 14 May 2010 at 10:40
I think so... I have to review the changes from the Code Igniter update again.
Original comment by carsten....@gmail.com
on 14 May 2010 at 10:42
This may have something to do with capitalization. A month or so ago I started
a re-write my music blog in CodeIgniter and I did some of my work on OS X as
some on Ubuntu and it turns out that OS X's file system is case-insensitive
while ext(2|3|4) are the opposite. While I don't know if this is causing this
problem in particular I do remember having massive breakage every time I
switched from OS X to Linux.
Original comment by killpack99
on 11 Aug 2010 at 3:18
Original issue reported on code.google.com by
batjohan
on 11 Mar 2010 at 10:23Attachments: