1 unclespeedo Nov 21, 2005 20:41
3 dkitty Nov 23, 2005 02:24
I've only ever had stub files one directory deep, so I'm not sure I can be of much help. My only initial idea is using relative paths as oposed to absolute paths.
If your evocore folder is:
/home/domain/public_html/evocore
and your stup is at:
/home/domain/public_html/movies/kd/
then perhaps changing
require("/path/to/blog/b2evocore/_blog_main.php");
to
require("../../b2evocore/_blog_main.php");
will work?
Er... that is... if that's even correct php. Does that line allow relative paths?
4 unclespeedo Nov 23, 2005 06:38
damn, thanks dkitty i thought that may work but alas still no luck.
i'd like to avoid moving those subdirs because it makes sense the way it is now and it's easier to manage.
any more ideas?
5 dkitty Nov 23, 2005 16:34
No, I don't have any other ideas off the top of my head. Calling _blog_main.php by http likely isn't possible. At least I think it shouldn't be possible. You could make it possible but I think that's a bad idea.
I'll think on it a bit and ask around some. I'm all curious about this now.
Edit: Wait. Are you still using your old stub files? I haven't looked at stubs in a while, but when a new version comes out I always make copies of stub_a (or a_stub) from the new version and start fresh. It might be worth a try if you haven't done it already.
6 unclespeedo Nov 23, 2005 20:49
good call, i think i'm using the old stub still. I'll see if I can dig up the new one.
thanks
dkitty wrote:
No, I don't have any other ideas off the top of my head. Calling _blog_main.php by http likely isn't possible. At least I think it shouldn't be possible. You could make it possible but I think that's a bad idea.
I'll think on it a bit and ask around some. I'm all curious about this now.
Edit: Wait. Are you still using your old stub files? I haven't looked at stubs in a while, but when a new version comes out I always make copies of stub_a (or a_stub) from the new version and start fresh. It might be worth a try if you haven't done it already.
7 unclespeedo Nov 23, 2005 20:54
k, same problem with the new stubfile.
1 thing I noticed though is if I use the incorrect blog
$blog = 69; for instance
it returns a "Requested blog does not exist!" error.
what does this mean? f'd if i know, maybe someone who knows the code can make sense of this, is there anyway I can get more verbose messaging with the 404?
Should I post this to a different area of the forum? or perhaps add some additional information? is this a stumper? ;)