Recent Topics

1 Apr 22, 2010 12:05    

My b2evolution Version: 2.x

Hi all,

I installed the latest version of b2evo onto my 'site using Fantastico.

Going off on a tangent here, does using Fantastico limit me in any way, or am I able to modify/backup/upgrade as per normal?

I installed b2evo into domain.com/folder/ using a redirect.

ie: When you type in domain.com it loads b2evo as the default item.

I've just finished setting up a Wordpress blog at blog.domain.com and now I want to make my b2evo install behave the same.

So far the redirect works: folder.domain.com loads b2evo.

...but, it redirects to domain.com/folder/ and using the .htaccess redirect from domain to folder.domain.com means that I can't log into b2evo.

Is there any easy way to get this all working from the subdomain? I've got way too much config' invested in my blog to start over.

Thanks, Nic

5 Apr 22, 2010 13:22

...hmmm, close to what I wanted, but not exact unfortunately.

Ideally I'd like to try and get the setup as follows...

subdomain.domain.com/myblog.php
subdomain.domain.com/yourblog.php
subdomain.domain.com/anotherblog.php
etc.

Anyne here done something like this before?

Thanks, N. =]

6 Apr 22, 2010 13:28

lets wait for their reply. I can only afford a .tk domain lol

7 Apr 22, 2010 14:02

Haha. ;)

I got a cracking deal on my hosting and domain - couldn't say no.

8 Apr 22, 2010 20:48

Tad lost as to your problem.

admin > blog settings > url > absolute url (sub dom + stub file.php)

¥

9 Jul 02, 2010 01:14

Ok, I've been trying to get this to work for myself with no luck. I've set the blog to the subdomain, copied over the stub file to said subdomain folder, and adjusted the path. It just comes up blank. So I was wondering, is there a way to use an absolute path instead? The reason I ask is that on my server, my subdomains are located in a folder outside my main httpdocs folder. I.E., my site and the b2evo install are in the root/httpdocs folder, each subdomain are in a root/subdomains/name/httpdocs/ folder.

10 Jul 02, 2010 17:14

I'm guessing that you have safe mode enabled if you've done the right "../../../httpdocs/conf" path in your stubs

¥

11 Jul 02, 2010 17:18

is that safe mode on the server or b2evo?

12 Jul 02, 2010 17:20

On the server.

In your stub, after <?php add the following two lines

error_reporting( E_ALL );
ini_set('display_errors', 'on' );

It should spit out errors for you.

¥

13 Jul 02, 2010 17:42

ok, here's what i ended up with:

Warning: main() [function.main]: open_basedir restriction in effect. File(/root/subdomains/name/httpdocs/../../../httpdocs/b2news/blogs/conf/_config.php) is not within the allowed path(s): (/root/subdomains/name/httpdocs:/tmp) in /root/subdomains/name/httpdocs/index.php on line 45

Warning: main(/root/subdomains/name/httpdocs/../../../httpdocs/b2news/blogs/conf/_config.php) [function.main]: failed to open stream: Operation not permitted in /root/subdomains/name/httpdocs/index.php on line 45

Fatal error: main() [function.require]: Failed opening required '/root/subdomains/name/httpdocs/../../../httpdocs/b2news/blogs/conf/_config.php' (include_path='.:./pear:/usr/share/pear4') in /root/subdomains/name/httpdocs/index.php on line 45

whichs makes me wonder if using the server path instead of what i've got will work....

*edit
Removed extraneous path info ;)

¥

14 Jul 02, 2010 17:47

Nope, it'll still fail.

You can *possibly* get by it by creating a .htaccess ( in subdom httpdocs ) with the following

php_value safe_mode = Off 

or a php.ini ( in subdom httpdocs ) with the following :

safe_mode = Off

If not then you can either ask your host or, if you're able, change your sub dom's "home" folder to "~/root/httpdocs/" which is how I run my shared subdoms ... but there's only me that has ftp access to my blogs ;)

¥

15 Jul 02, 2010 18:13

Neither one worked, so guess I'll see if my host will do it. I doubt they will, because I seem to remember asking them about turning safe mode off before and they wouldn't, but no harm in asking again. Thanks for your help!

16 Jul 02, 2010 18:31

Good luck with your hosts ;)

¥

17 Jul 03, 2010 04:04

For the record, thought I'd share what I had to do to fix this, since my subdomain folders were not in the same as my base domain files were.

Ended up having to switch PHP mode from Apache to FastCGI, then make sure there was a stub file in the subdomain folder. Neither the .htaccess file or php.ini worked on my server. Just an extra something someone else can try if they are having the same problem I did. ^_^


Form is loading...