Author |
Topic  |
ugger
Junior Member
 
Denmark
127 Posts |
Posted - 06 February 2007 : 10:39:57
|
Hi, Now I have started the implementation of the 5-1 mod. and the first I get is this errórcode Error Type: Sun ONE ASP VBScript compilation (0x800A03EA) Syntax error, unexpected "new line" /newforum/admin_config_integration.asp, line 179, column 1
my admin-config-in...file: http://www.sportfish.dk/newforum/admin_config_integration_asp.txt Help!!
|
|
Panhandler
Average Member
  
USA
783 Posts |
Posted - 06 February 2007 : 11:09:47
|
From the readme.txt:
VERY IMPORTANT: Please note that when beginning the installation of each mod that you must first upload and run the "dbs" file for that mod. The "dbs" file is the file that begins with "dbs", example: "dbs_integration.asp"
To run the dbs file after you upload it, go the the "Admin Options" and pick "MOD Setup". There you will see the name of the mod you are trying to install. Select that name and run it. |
"5-in-1 Snitz Common Expansion Pack" - five popular mods packaged for easy install ". . .on a mote of dust, suspended in a sunbeam. . ." HarborClassifieds Support Snitz Forums
|
 |
|
ugger
Junior Member
 
Denmark
127 Posts |
Posted - 06 February 2007 : 11:16:40
|
I've done it, so its not that.
|
Edited by - ugger on 06 February 2007 11:41:42 |
 |
|
Jezmeister
Senior Member
   
United Kingdom
1141 Posts |
Posted - 06 February 2007 : 11:53:20
|
one thing stands out like a sore thumb in that error:
quote: Sun ONE ASP VBScript compilation (0x800A03EA)
Sun One isn't perfect, if you can try testing this on a windows server - as far as your file goes I can't see any issues around that line offhand and it shouldn't be a database issue (chances are you'd get an error from inc_header or config.asp first anyway if you hadn't updated the db) |
 |
|
ugger
Junior Member
 
Denmark
127 Posts |
Posted - 06 February 2007 : 12:06:15
|
I dont have a windowsserver |
 |
|
pdrg
Support Moderator
    
United Kingdom
2897 Posts |
Posted - 06 February 2007 : 12:22:44
|
http://forum.java.sun.com/thread.jspa?threadID=5055599
I don't have a proper IDE to confirm this, but I'll bet it's the line spaces in between the line continuation marks causing the error
eg
" </font> </td>" & vbNewLine & _ " </tr>" & vbNewLine & _ " <tr valign=""middle"">" & vbNewLine & _
may error, whilst " </font> </td>" & vbNewLine & _ " </tr>" & vbNewLine & _ " <tr valign=""middle"">" & vbNewLine & _ may not -
possibly a flaw in the Sun One parsing engine. I'd suggest searching Sun's site for the error message and see if you can find other causes - AFAIK Panhandler's code is IIS-friendly
|
 |
|
ugger
Junior Member
 
Denmark
127 Posts |
Posted - 06 February 2007 : 12:42:32
|
Hi, Yes you are right. I have now deleted the empty lines and all is working okay. Thanks alot. Ugger |
 |
|
pdrg
Support Moderator
    
United Kingdom
2897 Posts |
Posted - 06 February 2007 : 12:50:13
|
Brilliant - glad it's working for you :) |
 |
|
ugger
Junior Member
 
Denmark
127 Posts |
Posted - 06 February 2007 : 17:04:14
|
Yes, but now i'm back with the same problem I had before. Proeders file attachment dont work. |
 |
|
Panhandler
Average Member
  
USA
783 Posts |
|
ugger
Junior Member
 
Denmark
127 Posts |
Posted - 07 February 2007 : 00:54:03
|
Yes If I could be sure that a change of server will solve the problem, but I'm not yet. Resume
1. a supdirectoried has manually been made and the permissincontrols are solved. 2. Proeders acts right until the the upload is activated. 3. The subdirectory is not used Proeders but a new subdirectory is made, by proeders, with the same name as the manually made + the username 4. The uploadfile is uploaded but been giving a name as the subdirectory + the username + date + the name of the file to be uploaded, and uploaded to the mainforum-directory. 5. The file can't be downloaded again.
6. There is no files in the reuse-window of Proeders
7. I have manually made a subdirectory with the username in the directory where it alls has to go. In this username-subdirectory I have manually uploaded a imagefile with the name of the date + the originally name of the file.
8. This file is still not showed in the reuse-window.
9. When activating My-files I get this: " Files in the upload directories...
(Used Path: /customers/sportfish.dk/sportfish.dk/httpd.www/newforum/gallery\)
The folder does not exist yet
Entweder muss das Verzeichnis noch erstellt werden, oder es ist in der Administration des Forums noch nicht definiert worden.
The following folder is currently used: "gallery" This folder needs to exist in the forum directory and you should grant write access to it!!
Zurück zum Forum "
The path in here looks strange.
|
Edited by - ugger on 07 February 2007 02:15:49 |
 |
|
ugger
Junior Member
 
Denmark
127 Posts |
Posted - 07 February 2007 : 10:29:34
|
When I delete the last &"\" in the path in one of the lines in myfiles.asp, I can see the maually uploaded files and even use them in reply to topic. And it works okay. So can it be that the sun one dont accept the \ in the path or what?
Where in the code are the uploaded filename and path made before it is written to the server?
|
 |
|
PPSSWeb
Junior Member
 
312 Posts |
Posted - 07 February 2007 : 11:55:13
|
Ugger,
Got your email, instead of replying directly, I thought we could discuss your problem further here.
I had asked in the other topic whether the upload directory passes the tests imposed on it when clicking the save button in the attachement administration page. Does it pass the locate and permissions tests or not?
The path used when performing uploads or searching for reuse files is generated by the code in lines 182-194 in outputfile.asp and lines 276-294 of myfiles.asp respectively.
The code uses your server variables plus the upload folder name specified in the control panel to create the MAPPATH. What are the following values?
From server information control panel: PATH_TRANSLATED - this will be the physical path that the calucations in the code are based on.
From forum variables page: /forums/STRFORUMURL - to compare the physical path and virtual paths /forums/STRUPLOADURL - this will be appended to the phycical to create the map path
With this information we should be able to better understand how it is creating such an odd upload path.
|
 |
|
ugger
Junior Member
 
Denmark
127 Posts |
Posted - 07 February 2007 : 12:29:42
|
Hi I've not yet checked all you wrote, but I complished to get it nearly to work by changing the backslashed from \ to /
Only a few problems seems left When I reuse a picture it is showed in the topic without a link But when a picture is uploaded it stills shows a link to the picture, and the link works okay. please try for yourself, using the name arne and the code 2602
The deleting of pictures still dont work
http://www.sportfish.dk/newforum/default.asp
|
Edited by - ugger on 07 February 2007 12:40:16 |
 |
|
PPSSWeb
Junior Member
 
312 Posts |
Posted - 07 February 2007 : 12:54:37
|
quote: Originally posted by ugger
Hi I've not yet checked all you wrote, but I complished to get it nearly to work by changing the backslashed from \ to /
Only a few problems seems left When I reuse a picture it is showed in the topic without a link But when a picture is uploaded it stills shows a link to the picture, and the link works okay.
Glad it is working for you. For your link issue see this post. I believe my most recent post there will help. |
Edited by - PPSSWeb on 07 February 2007 12:55:06 |
 |
|
thermal_seeker
Junior Member
 
United Kingdom
430 Posts |
Posted - 07 February 2007 : 13:15:00
|
Stick with it ugger, it looks like you are nearly there. I think both you and I owe PPSSWeb a beer!! better still, you take him fishing and I'll plough his field 
Dave |
No good at coding, but I can plough a field !! |
 |
|
Topic  |
|