PDA

View Full Version : file system problems


aj510
06-28-2007, 02:45 AM
Hi Guys,

ok i'm having problems figuring out the path toset for the file storage.

I use Direct Admin not CPANEL (if that makes a difference).

This is what I have set (vbpg_images is CHMOD 777)
$vbpg_path = '/domains/mydomain.com/vbpg_images';

Now if I ftp to that dir the above path is what I use.

anyhelp here would be greatly appreciated.

EDIT

I should note that the dir structure is this

/domains/mydomain.com/public_html/ etc...

Big Dan
06-28-2007, 03:03 AM
Can you access via SSH? If so, navigate to the directory you're using for filesystem storage and type 'pwd' (without quotes) and it will return the absolute path.

My other suggestion would be to download vBAdvanced (http://www.vbadvanced.com), which is free. Included in the download in a folder called extras (do not upload) is a file name forumpath.php, upload it to the folder where you're storing files and run it from your browser. It will show the absolute path. After getting the path be sure to delete forumpath.php

aj510
06-28-2007, 06:01 AM
Thanks dan, seriously THANK YOU !!!!

used the forumpath file and realised my error :)

Thanks got it all working now :)

Big Dan
06-28-2007, 03:42 PM
You're welcome. Glad you got it worked out. :)