Notices
General Technical
Sponsored by:
Sponsored by: CARiD

why do i get this when i upload on turbosport

Thread Tools
 
Search this Thread
 
Old Nov 6, 2002 | 01:42 PM
  #1  
paul-s's Avatar
paul-s
Thread Starter
Scooby Regular
 
Joined: Aug 2002
Posts: 5,082
Likes: 0
From: Turboland
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>




Reply
Old Nov 6, 2002 | 05:34 PM
  #2  
ustolemyname??stevieturbo's Avatar
ustolemyname??stevieturbo
Scooby Regular
iTrader: (1)
 
Joined: Mar 2002
Posts: 2,786
Likes: 0
From: Norn Iron
Post

It can be temperamental sometimes, or it may do it if the file you are uploading is too big. ie over 100k
Reply
Old Nov 6, 2002 | 06:14 PM
  #3  
Beastie's Avatar
Beastie
Scooby Regular
iTrader: (2)
 
Joined: Jan 2001
Posts: 2,397
Likes: 17
From: Scotland
Talking

Your photo is too big. Happened to me also. downsized photo and all ok.
Reply
Old Nov 6, 2002 | 06:34 PM
  #4  
WRXBOB's Avatar
WRXBOB
Scooby Regular
 
Joined: Nov 2001
Posts: 1,066
Likes: 0
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
Reply
Old Nov 7, 2002 | 12:15 AM
  #5  
SilverSmith's Avatar
SilverSmith
Scooby Regular
 
Joined: Apr 2002
Posts: 1,208
Likes: 0
Post

Yes, too big, you can get away with a bit over 100k but no too much
Reply
Old Nov 7, 2002 | 09:17 AM
  #6  
paul-s's Avatar
paul-s
Thread Starter
Scooby Regular
 
Joined: Aug 2002
Posts: 5,082
Likes: 0
From: Turboland
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....
Reply
Old Nov 7, 2002 | 09:21 AM
  #7  
Beastie's Avatar
Beastie
Scooby Regular
iTrader: (2)
 
Joined: Jan 2001
Posts: 2,397
Likes: 17
From: Scotland
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.
Reply
Old Nov 7, 2002 | 09:49 AM
  #8  
Fat Boy's Avatar
Fat Boy
Scooby Regular
 
Joined: Aug 2000
Posts: 4,262
Likes: 1
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.
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
g7prs
Member's Gallery
34
Jan 24, 2016 06:46 PM
shorty87
Subaru Parts
1
Oct 7, 2015 11:52 AM
Pro-Line Motorsport
Car Parts For Sale
2
Sep 29, 2015 07:36 PM
shorty87
Wheels And Tyres For Sale
0
Sep 29, 2015 02:18 PM
shorty87
Other Marques
0
Sep 25, 2015 08:52 PM




All times are GMT +1. The time now is 04:48 AM.