i can't seem to run scripts inside the xenforo directory.

gamesplayer

New member
i can't run php scripts inside the xenforo directory.
in the server error log
[Thu May 31 15:26:17 2012] [error] [client x.x.211.43] SoftException in Application.cpp:601: Directory "/home/hostname/public_html/mydomain.co.uk/xenforo" is writeable by group

so i changed permissions 0755 on all files in that directory, but it made no difference?
 
thanks for the replies. yes, changing the folder permission works. also i
changed .htaccess files as my site uses friendly urls. its installed but
something is wrong. i need a command in htaccess to ignore all inside /forum ?
when i try to log in today, i click a link which looks like
http://www.example.com/forum/login/
the pop up window appears, i enter login details
then it goes to 404 not found. without logging me in.
http://www.example.com/forum/login/login

Also the these urls do not look right.
http://www.example.com/forum/members/myname.1/

http://www.example.com/forum/forums/main-forum.2/
 
then it goes to 404 not found. without logging me in.
http://www.example.com/forum/login/login

Normally that would mean that the .htaccess file is missing when friendly URLs are enabled. But you say that other friendly URLs are working such as http://www.example.com/forum/login , so something fishy is going on.

Make sure there is no directory called login inside of your forum root. And try using XF's default .htaccess file (called htaccess.txt in the zip file).


Those URLs are valid assuming an install directory of forum with friendly URLs enabled.
 
looks like theres no need to reinstall after renaming
Changed:
RewriteBase /community/
in .htaccess inside directory /community/
Changed root .htaccess to
RewriteRule ^community(/|$) - [L,NC]
seem to work, is this the right track?
 
looks like theres no need to reinstall after renaming
Changed:
RewriteBase /community/
in .htaccess inside directory /community/
Changed root .htaccess to
RewriteRule ^community(/|$) - [L,NC]
seem to work, is this the right track?

Also update this setting:

Admin CP -> Home -> Options -> Basic Board Information -> Board URL

yes, i enabled friendly urls, but i don't like appended numbers. the .1/ .2/
is that not removable?

The ids can be removed from forum URLs by setting a URL Portion:

Admin CP -> Applications -> Display Node Tree -> [click a forum] -> URL Portion
 
Top Bottom