Recent Topics

1 Nov 03, 2006 12:47    

<<< Not STUBby

OK I confess: I'm stubid !
I've tried for a long time now, 'been to Docs, search etc...no success :(

That's my problem with Autoblog (which problem you can see on my site):
I would like to have a link such as:
wwwdomain/b2evoblogs/autobloggerrname
and all my links are showing that way.good.

However, their real actual addresses are:
wwwdomain/b2evoblogs/index.php/autobloggerrname

That's how I set up Autoblog:
- Use stub file: yes
- Stub file extension: empty
- Use stub folder: yes
- Media in stub folder: tick
- Use storage folder: blog/
- Clean Urls with mod_rewrite: tick

I have then created a blog folder in wwwdomain/b2evoblogs/
(which was properly populated once the autoblogger registered).

I then register autobloggername

That's how the user's Blog URL parameters finds itself setup I set up:
- Blog Folder URL: Relative to baseurl: field empty
- Preferred access type: Explicit reference to stub file (Advanced): Stub name: autobloggername
- URL preview: wwwdomain/b2evoblogs/autobloggerrname
And again, as said above, that's how my links are diplaying !

So why is there a index.php that I really didn't want?

BESIDE:
I went and check the stub (index.php) file, and since it required _blog_main.inc.php I also went to check it.
And this is what I got:

Fatal error: Call to undefined function: nt_() in _vars.inc.php on line 171
and also same error for: _main.inc.php

Are these error connected or am I being stubid?

2 Nov 03, 2006 23:41

I don't know anything about the autoblog plugin. You should ask questions about that plugin in [url=http://forums.b2evolution.net/viewtopic.php?t=8146]it's thread[/url].

As for stubs in general: if you're going to use stubs you have to create them. Typically it's by copying your_root_installation/a_stub.php, then editing the line for blog #, then saving it with a name that you will use in your back office, then uploading it to your b2evolution root directory, and finally telling the back office on the blogs tab that blog N is going to use a stub filed called *whatever.php*.

3 Nov 04, 2006 00:04

Thanks for the answer EdB !

The thing is....Autoblog creates a _stub.php file automaically and it calls it _index.php (its the same inside)

The whole idea of Autoblog is to do all that without my intervention, so the files being already created, I thought that maybe it could have been my fault !

Thanks for the thread though -------I will check it very closely !

Do you know anything about the fatal error in the file please?

Many thanks


Form is loading...