Quote:
|
An error occurred while attempting to create a folder for your files. If the problem persists, please notify the webmaster
|
hi keksi
talking of your first error...
I had a similar error when moving files to another domain..
the directory was 777 and i still couldn't upload...
as amatter of fact i couldn't even see the thumbnails... because the files did not have any read permissions.. although in my ftp client everything seemed ok...
the problem was the owner... when i moved the files they were still owned by the old script id.. as they were created by it.. (was a cpanel issue - i had tared the files when moving them over.. so they kept their settings)
check if this is the issue... how?
if you have root access to your server:
in your public html directory create a directory called test with your ftp client...
in your forums directory do the same....
now log in with putty (or whatever shell client u use)
go to your public_html directory by typing:
cd /home/CURRENTmysiteDB/public_html
whereas you of course replace CURRENTmysiteDB with the realthing...(just make sure starting slash and no trailing slash)
and do a
ls -l
(the font here is confusing... ist
LS -L but in small letters)
you should get a listing similar to this:
drwxr-xr-x 3 username groupname 4096 Sep 16 06:10 ./
drwxr-x--- 24 username groupname 4096 Oct 15 19:55 ../
-rw-r--r-- 1 username groupname 3111 Aug 13 09:00 adv.php
-rw-r--r-- 1 username groupname 306 Sep 16 06:10 .htaccess
-rw-r--r-- 1 username groupname 1134 Aug 11 15:52 index.php
drwxr-xr-x 26 username groupname 4096 Sep 16 10:42 test/
drwxr-xr-x 15 username groupname 4096 Sep 16 10:42 forums/
IF
username groupname of forums and of test are identical... its ok...
if NOT do the following ... type:
chown -R username:groupname forums
whereas
you replace the username and groupname with the ones you see in front of the test directory..
hit enter and your done..
but probably you did a fresh install of
vb and just moved the gallery...
in that case cd into forums and do the same thing there...
gallery directory should have same ownership as the test directory created with ftp.
(if you just moved the files directory... you would have to do the same there... etc...)
if you dont have root access:
assuming you have allready files in your file dir.
ftp your directory (files/1) - or what ever your username is
to your local harddisk
- delete your directory.. (not only the contents.. also the dir..)
- create it again with your ftp client
- set it to 0777
- ftp the content back...
if you have never uploaded (seems to be the case)
create a directory in the files dir named by your user id (example: 1... create a directory called 1 in your files directory with your ftp client)
set it to 0777
and test.. if you (user 1) can upload now, it is either a safemod issue or a owner issue..
if it is a owner issue...
and you can dispose of the files (as nobody has uploaded yet ;-) )
delete the files dir manually and create it again and set it to 0777
hope it helps a little..
Luc
PS as for the Paths issue...
I supposed you moved your database after doing a db dump with cpanel or with phpmyadmin...
in that case do a dump again.. (make sure to add drop Table in phpmyadmin) on the new server... open the mysqldumpfile.sql with a text editor... and do a search for: OLDmysiteDB
if its there... do a search-replace with OLDmysiteDB-NEWmysiteDB... save the file.. and load it back to the database with phpmyadmin..