Can'T upload to decks

Bug reports, feature suggestions etc...

Moderators: Programmer, WebWeaver, WillowsHeart

Post Reply
pteb
Major Contributor
Major Contributor
Posts: 14
Joined: Sat 01 Jan, 2005 12:00 am

Can'T upload to decks

Post by pteb »

Hi
I was trying to upload a pdf version of Waites PKT to the decks section but kept getting a message telling me to fill in all the boxes even though I thought that I had. Any idea why?
Pteb
User avatar
Programmer
Major Contributor
Major Contributor
Posts: 1725
Joined: Sat 01 Jan, 2005 12:00 am
Location: Spain
Contact:

Re: Can'T upload to decks

Post by Programmer »

Hi Pteb,

My guess is that the javascript is failing to run properly in the emulator, but I am not sure why that would be so. Although it asks you to fill in all the fields the only two it actually validates are the name of the deck and fact that you have browsed to or specified a valid file address. I will have a look at it at the weekend and see if I can spot anything that might be failing.

BTW, thanks for sending that link!

Richard
pteb
Major Contributor
Major Contributor
Posts: 14
Joined: Sat 01 Jan, 2005 12:00 am

Re: Re: Can'T upload to decks

Post by pteb »

hi
If the problem is with the emulator then I could put the pdf tarot books on the downloads page of my website and somone could download them from my site and then upload them onto the orphalese website.
pteb
User avatar
Programmer
Major Contributor
Major Contributor
Posts: 1725
Joined: Sat 01 Jan, 2005 12:00 am
Location: Spain
Contact:

Re: Re: Re: Can'T upload to decks

Post by Programmer »

Hi Pteb,

OK, but before we do that I had another thought. I looked at the validation routine to see what might be going wrong and I noticed that it also validates that the upload is a zip file, with a .zip extension. It occurred to me that being a mac user you might be using some other compression tool?

If it isn't this I will take away the javascript validation altogether until I can sort out what the problem is. (The program still validates the input, but it does so on the server. The javascript is just to save time for the user so they don't have to wait to find out if they missed an obvious field or something).

Cheers,

Richard
pteb
Major Contributor
Major Contributor
Posts: 14
Joined: Sat 01 Jan, 2005 12:00 am

Re: Re: Re: Re: Can'T upload to decks

Post by pteb »

Hi Richard
I think you may of found the problem. I use stuffit for compresison and it produces sit files. I will have a look to see if it can output zip files. I know it can expand them. Thanks for your help.
Pteb
pteb
Major Contributor
Major Contributor
Posts: 14
Joined: Sat 01 Jan, 2005 12:00 am

Re: Re: Re: Re: Re: Can'T upload to decks

Post by pteb »

Hi Richard
Your theory was correct. I got stuffit to output a zip file instead of the sit and this uploaded fine. Thanks again for your help.
Pteb
User avatar
Programmer
Major Contributor
Major Contributor
Posts: 1725
Joined: Sat 01 Jan, 2005 12:00 am
Location: Spain
Contact:

Re: Re: Re: Re: Re: Re: Can'T upload to decks

Post by Programmer »

Hi Pteb,

Thanks for uploading. Just for your information I changed the validation so it now gives a more helpful message in the case of a non-zip file. The other message was misleading.

Richard
Post Reply