Author |
Topic |
compose
Starting Member
Canada
36 Posts |
Posted - 10 May 2010 : 10:56:56
|
Hi folks,
I have just migrated a forum from one server and domain host to another in transfering the forum ownership from Mike Kelley to me. It is http://www.composeforums.com
I've got things generally working, but any previously-uploaded files are missing--even though they are in the same folders as they were before the move. Also, when I try to upload a new file, I get the following error: 500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed.
Any and all help will be appreciated. I am using: v3.4.04, but will upgrade when things are stable.
Thanks, Ron |
Edited by - compose on 10 May 2010 10:57:49 |
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 10 May 2010 : 12:40:37
|
Seems you are using some file upload mod. Did you check the settings of the mod in your admin options to make sure it is pointing to the right directory? Also make sure you submit the admin options for the mod, so that any application variables can be updated. Meaning, go to your admin options for the mod and click the Submit button.
I am assuming you are using an Access database and transferred the access database to the new server as well. |
Support Snitz Forums
|
|
|
compose
Starting Member
Canada
36 Posts |
Posted - 10 May 2010 : 13:30:40
|
I've turned off "show friendly error messages," but nothing changed. I still get the same error.
I cannot find anywhere in the admin settings to set which folder that shared files are in.
When I click on MOD, I get a message saying that only the forum admin can see that page. (I am logged in as forum admin--or I wouldn't even be seeing the admin options page.)
Yes, I am using Access and the old database was copied to the new server. |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 10 May 2010 : 14:15:58
|
You want to email me a user name and password that has admin access to the forum, so I can take a look around and see what the problem might be? |
Support Snitz Forums
|
|
|
compose
Starting Member
Canada
36 Posts |
Posted - 10 May 2010 : 15:18:34
|
I just tried to email you, but I got a message saying I haven't made enough posts to be able to email members. |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 10 May 2010 : 17:29:58
|
The error you are getting is coming from the server. Seems something in the file upload script the server doesn't like. Guessing it might be a call to the File System Object component (FSO), which is used to upload files to your server. And it seems GoDaddy doesn't support FSO under certain circumstances: http://community.godaddy.com/help/2006/09/13/what-server-objects-are-supported-on-windows-shared-hosting-servers/
Or it could be that the script cannot handle empty folders, cause I see 0 files uploaded.
Can you post a link to a txt version of your filesLibrary.asp file? |
Support Snitz Forums
|
Edited by - Davio on 10 May 2010 17:41:12 |
|
|
compose
Starting Member
Canada
36 Posts |
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 10 May 2010 : 18:42:27
|
When i go to the filelibrary.asp page, it shows the various folders, but it all shows 0 files. That's what I meant when I said 0 files uploaded.
I am guessing the server is giving an error because of this line in the file: Set Fso = CreateObject("Scripting.FileSystemObject")
But before I tell you to contact GoDaddy support about it, can you post a txt version to your inc_UploadConfig.asp file as well? I think that's where the options for the mod is available. |
Support Snitz Forums
|
|
|
compose
Starting Member
Canada
36 Posts |
Posted - 10 May 2010 : 19:06:30
|
http://www.composeforums.com/forum/inc_UploadConfig.txt
I would like to upgrade to the latest version of Snitz, but I don't want to until the user files are linked back into the forum and folks can upload again. I copied the files as is from the original site, and the only change I made was ion the config.asp file to point to the database.
|
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 10 May 2010 : 20:24:24
|
Ok I see what might be the problem. In your inc_UploadConfig.asp file, scroll down till you get to a section called PATHS. This is where the script will upload the files to your website. You will need to change the folder paths there to reflect the server you are on. It is still set to the old server paths.
So change this section:'################
' Paths
'################
'NOTE: YOU MUST FIRST CREATE THE ACTUAL PATHS WRITTEN IN ALL VARIABLES HERE ELSE MOD WONT WORK AT ALL
'NOTE: ALL OF THE FOLLOWING VARIABLES SHOULDNT END WITH A "\" NONE OF THEM
'physicalUploadFolder -> path to physical location of uploading
'physicalUploadTextFolder -> path to store text files containg file information
physicalUploadFolder = "d:\html\users\186654\composeforumscom\html\forum\sharedfiles"
physicalUploadTempFolder = "d:\html\users\186654\composeforumscom\html\forum\sharedFiles"
physicalUploadTextFolder = "d:\html\users\186654\composeforumscom\html\forum\filesText"
logFilePath = "d:\html\users\186654\kelleytowncom\forum\html\sharedFiles\logFiles"
to this:'################
' Paths
'################
'NOTE: YOU MUST FIRST CREATE THE ACTUAL PATHS WRITTEN IN ALL VARIABLES HERE ELSE MOD WONT WORK AT ALL
'NOTE: ALL OF THE FOLLOWING VARIABLES SHOULDNT END WITH A "\" NONE OF THEM
'physicalUploadFolder -> path to physical location of uploading
'physicalUploadTextFolder -> path to store text files containg file information
physicalUploadFolder = "d:\Hosting\6121977\html\forum\sharedfiles"
physicalUploadTempFolder = "d:\Hosting\6121977\html\forum\sharedFiles"
physicalUploadTextFolder = "d:\Hosting\6121977\html\forum\filesText"
logFilePath = "d:\Hosting\6121977\html\forum\sharedFiles\logFiles"
Make sure you have these folders created in your forum.
I would also go to the extent of changing all the folder names to lower case in the file, because some servers will see "sharedfiles" and "sharedFiles" as 2 different folders. |
Support Snitz Forums
|
|
|
compose
Starting Member
Canada
36 Posts |
Posted - 11 May 2010 : 11:34:13
|
Thanks, Davio.
That helps. I can now see file names in user posts, but I still can't retrieve them. Here's what is in the posts: [file]Rise_Up_My_Love.mus,170,,0[/file] The 170 is the subfolder the file is in (and it is there).
Sorry to be such a pain, but, as I said, I thought I could just copy everything over as is. I didn't realize that I would have to edit the script files.
Ron
|
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
compose
Starting Member
Canada
36 Posts |
Posted - 11 May 2010 : 21:29:28
|
I can open them through FTP, but I can't do anything with [file]Rise_Up_My_Love.mus,170,,0[/file] from within the forum. |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
Topic |
|