Notices

why do i get this when i upload on turbosport

Thread Tools
 
Search this Thread
 
Old 06 November 2002, 01:42 PM
  #1  
paul-s
Scooby Regular
Thread Starter
 
paul-s's Avatar
 
Join Date: Aug 2002
Location: Turboland
Posts: 5,082
Likes: 0
Received 0 Likes on 0 Posts
Thumbs up

<%@ language="VBScript" %>
<%
Option Explicit

Const lngMaxFormBytes = 200

Dim objASPError, blnErrorWritten, strServername, strServerIP, strRemoteIP
Dim strMethod, lngPos, datNow, strQueryString, strURL

If Response.Buffer Then
Response.Clear
Response.Status = "500 Internal Server Error"
Response.ContentType = "text/html"
Response.Expires = 0
End If

Set objASPError = Server.GetLastError
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<html dir=ltr>

<head>
<style>
a:link {font:8pt/11pt verdana; color:FF0000}
a:visited {font:8pt/11pt verdana; color:#4e4e4e}
</style>

<META NAME="ROBOTS" CONTENT="NOINDEX">

<title>The page cannot be displayed</title>

<META HTTP-EQUIV="Content-Type" Content="text-html; charset=Windows-1252">
</head>

<script>
function Homepage(){
<!--
// in real bits, urls get returned to our script like this:
// res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm

//For testing use DocURL = "res://shdocvw.dll/http_404.htm#https://www.microsoft.com/bar.htm"
DocURL=document.URL;

//this is where the http or https will be, as found by searching for :// but skipping the res://
protocolIndex=DocURL.indexOf("://",4);

//this finds the ending slash for the domain server
serverIndex=DocURL.indexOf("/",protocolIndex + 3);

//for the href, we need a valid URL to the domain. We search for the # symbol to find the begining
//of the true URL, and add 1 to skip it - this is the BeginURL value. We use serverIndex as the end marker.
//urlresult=DocURL.substring(protocolIndex - 4,serverIndex);
BeginURL=DocURL.indexOf("#",1) + 1;
urlresult=DocURL.substring(BeginURL,serverIndex);

//for display, we need to skip after http://, and go to the next slash
displayresult=DocURL.substring(protocolIndex + 3 ,serverIndex);
document.write( '<A HREF="' + escape(urlresult) + '">' + displayresult + "</a>");
}
//-->
</script>

<body bgcolor="FFFFFF">

<table width="410" cellpadding="3" cellspacing="5">

<tr>
<td align="left" valign="middle" width="360">
<h1 style="COLOR:000000; FONT: 13pt/15pt verdana"><!--Problem-->The page cannot be displayed</h1>
</td>
</tr>

<tr>
<td width="400" colspan="2">
<font style="COLOR:000000; FONT: 8pt/11pt verdana">There is a problem with the page you are trying to reach and it cannot be displayed.</font></td>
</tr>




Old 06 November 2002, 05:34 PM
  #2  
ustolemyname??stevieturbo
Scooby Regular
iTrader: (1)
 
ustolemyname??stevieturbo's Avatar
 
Join Date: Mar 2002
Location: Norn Iron
Posts: 2,786
Likes: 0
Received 0 Likes on 0 Posts
Post

It can be temperamental sometimes, or it may do it if the file you are uploading is too big. ie over 100k
Old 06 November 2002, 06:14 PM
  #3  
Beastie
Scooby Regular
iTrader: (2)
 
Beastie's Avatar
 
Join Date: Jan 2001
Location: Scotland
Posts: 2,397
Received 17 Likes on 10 Posts
Talking

Your photo is too big. Happened to me also. downsized photo and all ok.
Old 06 November 2002, 06:34 PM
  #4  
WRXBOB
Scooby Regular
 
WRXBOB's Avatar
 
Join Date: Nov 2001
Posts: 1,066
Likes: 0
Received 0 Likes on 0 Posts
Post

I also get a similar problem if the image I want to upload has a dot in the name.
"photo1" will upload fine, but if it was called "photo.1" it wont upload and I get a similar thing to what U got.

Bob
Old 07 November 2002, 12:15 AM
  #5  
SilverSmith
Scooby Regular
 
SilverSmith's Avatar
 
Join Date: Apr 2002
Posts: 1,208
Likes: 0
Received 0 Likes on 0 Posts
Post

Yes, too big, you can get away with a bit over 100k but no too much
Old 07 November 2002, 09:17 AM
  #6  
paul-s
Scooby Regular
Thread Starter
 
paul-s's Avatar
 
Join Date: Aug 2002
Location: Turboland
Posts: 5,082
Likes: 0
Received 0 Likes on 0 Posts
Post

This is a 94k file tho and theres no dots or anything in the name.
if tried loads of files and it just don't want to work....
Old 07 November 2002, 09:21 AM
  #7  
Beastie
Scooby Regular
iTrader: (2)
 
Beastie's Avatar
 
Join Date: Jan 2001
Location: Scotland
Posts: 2,397
Received 17 Likes on 10 Posts
Talking

It has to be a jpg or a gif image. A bmp will not work.
If you have tried uploading a jpg image and the size is under 100K then either the uploader is broke or your connection is too slow and you have timed out.

Trending Topics

Old 07 November 2002, 09:49 AM
  #8  
Fat Boy
Scooby Regular
 
Fat Boy's Avatar
 
Join Date: Aug 2000
Posts: 4,262
Likes: 0
Received 1 Like on 1 Post
Post

beastie is spot on. i tried to upload a photo yesterday and got exactly the same message, and then realised that I hadn't saved the photo before uploading as a jpeg. Once i went back and did that it was fine.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
g7prs
Member's Gallery
34
24 January 2016 06:46 PM
shorty87
Subaru Parts
1
07 October 2015 11:52 AM
Pro-Line Motorsport
Car Parts For Sale
2
29 September 2015 07:36 PM
shorty87
Wheels And Tyres For Sale
0
29 September 2015 02:18 PM
shorty87
Other Marques
0
25 September 2015 08:52 PM



Quick Reply: why do i get this when i upload on turbosport



All times are GMT +1. The time now is 08:13 AM.