PDA

View Full Version : Vbulletin Paths for Logging..


falcontracker
04-13-2009, 08:17 PM
This is probably a really simple one for many of you, but I just can't seem to get the hang of how to set up my paths correctly for my logging.
I use OpenBSD, so I'm used to what the directory structure of Unix [my host is FreeBSD] looks like, but I guess I'm just not used to looking at it from a non-root stand point, at least right after an install.
It's like from my host in the view from WS_FTP32 of my directory structure is /www/htdocs/forumz.
Looking at it from an actual root level though through SCP, the structure is /usr/home/wesurr/www/htdocs. So do I just place a "logs" directory in /forumz, and make sure it's writable, and does an actual file name have to be given ? The Vbullltin help isn't that great, as it states a *.log extension will be added, and I take that to mean that there has to be an actual file there to start with, like for datebase errors, I use /dberrors, but I can't seem to get this to work. Maybe I'm making this overly complicated.....

snakes1100
04-13-2009, 10:06 PM
The full path would be required, you can find that in your php info as well.

/usr/home/wesurr/www/htdocs/forumz/logs/
error.log
dberror.log

etc...

Make sure the folder and files as writable.

falcontracker
04-14-2009, 01:03 AM
Thank you very much. I'll check that out. I really need to have the logging working correctly !

Angel-Wings
04-14-2009, 08:31 AM
Oh - ensure to not place the log directory under your DocumenRoot ;)

Somewhere else is a much better location, if you're using open_basedir just ensure PHP can open this directory. :)

falcontracker
04-14-2009, 05:35 PM
Thanks again. That worked ! Amazing. Just use the correct paths, and it works !
And thanks for the additional advice.
FT