ContraptionCube/Button and PeTI instances

P2 ADDON
Posted Aug 07, 2013
ContraptionCube/Button and PeTI instances
By: LambdaCore 21, Sven
Difficulty: Other

Exclusive models from Portal 2 - Educational Version, including the original instances

Download

img

Advertisement
Registered users don’t see ads! Register now!
Posted Aug 07, 2013
Replied 1 minutes later
This error appears:

The file ccab.zip (.zip file) of size 0 MB must be a zip, rar, 7z, vpk, or bmz no larger than 200 MB.

followed by a "You have successfully uploaded your file! View it here"

Posted Aug 07, 2013
Replied 29 minutes later
Hmm. That's interesting. It says the file is 0mb, despite the fact that the zip you linked elsewhere is clearly 0.09mb. I would guess the reason it's not uploading is because the process checks if it's > 0, not if its >= 0, and the reason it's not failing after it doesn't upload is because of a bit of a logic error I had :razz:

I'll change it to be >= 0 for now, and see if that fixes the problem. Try again now.

Posted Aug 09, 2013
Replied 1 day later
my file is over 4 mb btw:

img

Posted Aug 09, 2013
Replied 6 minutes later
**And i wanted to upload a map (it's a .rar with >4mb) and a thumbnail (18,2 kb .jpg / 210p x 210p)

This is what i get:**

img

Posted Aug 10, 2013
Replied 9 hours later
Calm down, no need to panic. We'll get this worked out.

It's complaining about the thumbnail because the file failed and it doesn't continue through the thumbnail processing. File error 1 means that the file is larger than php.ini's max filesize (which probably explains the error about size earlier). I'll talk to msleeper about upping that limit to 200 mb like it was.

Posted Aug 10, 2013
Replied 14 hours later
thanks for your effort :atlas_woah:
Posted Aug 10, 2013
Replied 2 hours later
You know you can just set the max filesize for one script? Have a look into ini_set().

EDIT: That won't work - you'll need to stick a .htaccess file in the folder containing the upload script with the lines
[code:1o7veejr]
php_value post_max_size 200M
php_value upload_max_filesize 200M
[/code:1o7veejr]

Posted Oct 26, 2013
Replied 2 months later
It's nice to see Idolon uploading maps while I am still stuck with an error (Please try again)

Betrayal at its finest

Posted Oct 26, 2013
Replied 3 hours later

Pilchard123 wrote:
You know you can just set the max filesize for one script? Have a look into ini_set().

EDIT: That won't work - you'll need to stick a .htaccess file in the folder containing the upload script with the lines
[code:3kleskon]
php_value post_max_size 200M
php_value upload_max_filesize 200M
[/code:3kleskon]

But that's not the problem - some users can upload files of any size, while others can't upload files of even 1mb. I'm fairly sure it's a permissions thing, but I have no idea why it works for some users but not others. The main problem is I can't reproduce it on my end, so I don't know where to begin debugging.

Avatar
417 Posts
Posted Oct 26, 2013
Replied 23 minutes later
I didn't upload Obelisk or Passage, they're both just workshop links.
Posted Oct 26, 2013
Replied 4 hours later
Looking at it again, I can't reproduce the error you're getting, but I am getting something else: after uploading for a minute or so, it just refreshes the page without doing anything. I suspect this may be related to upload timeout. I'll see if I can get that changed.
Posted Oct 27, 2013
Replied 15 hours later

Idolon wrote:

I didn't upload Obelisk or Passage, they're both just workshop links.

It worked with Workshop-linking only, but I wanted to upload the non-PeTI edited original map (and the Contraption Cube files, too)

That means nobody can upload P2 Addons anymore :cry:

p0rtalplayer wrote:

Looking at it again, I can't reproduce the error you're getting

You can create a new test account without any special rights and try it again?

Advertisement
Registered users don’t see ads! Register now!
Avatar
380 Posts
Posted Jun 09, 2014
Replied 7 months later
Well, as it seems to me, it's impossible to download this as a result of the same problem that is causing it to improperly upload.