Pages: 1 [2]
Author Topic: (Solved) Attribute error when adding game with 2.5MB+  (Read 6242 times)
fernando gomez
Guest


Email
Reply #15 on: Apr 21, 08, 11:00 AM

still cant, also my gf's ID on comments is classified as  Admin..why?

god i cant post or upload games..zz
Logged
Administrator
Sr. Member
*

Karma: 7
Posts: 486


Email
Reply #16 on: Apr 21, 08, 11:20 PM

does she use the same computer?
Logged
fernando gomez
Guest


Email
Reply #17 on: Apr 22, 08, 03:22 AM

no, diff computer

still cant add comments... omg Sad everything is sucking ahaha

sergey about adding the games with a temp swf

how would i get the auto resize? some games have 700 x 900

if i put that it would make both 655 655 which is wrong and after uploading to ftp the real swf it would and i put 0 0 it will keep the 700 x 900 which is wrong..how would i get the correct dimensions?
Logged
Administrator
Sr. Member
*

Karma: 7
Posts: 486


Email
Reply #18 on: Apr 22, 08, 05:36 AM

do you have anything in the BAN list or in Antispam Filters?  Try to disable both Spam filters and Banning system.

As for game dimentions, the "Toys" theme looks correct if a game is not wider than 655 pixels, but if you wish, you can adjust the max width and height, allowed by the theme, in templates/Toys/config.php
Logged
fernando gomez
Guest


Email
Reply #19 on: Apr 22, 08, 06:16 AM

Sergey, can i pay to make a game page 1200 x 1200 max? its the only fix i guess for some of my games..that cant be resized..

and i still cant comment..zzz
Logged
Administrator
Sr. Member
*

Karma: 7
Posts: 486


Email
Reply #20 on: Apr 22, 08, 07:03 AM

Sorry, I can't do that until the new update for the script is ready... and are you sure those wide games worth your efforts?

As for comments, try to switch to default theme and check the result, I guess the reason of this problem is inside the theme's changes.
Logged
fernando gomez
Guest


Email
Reply #21 on: Apr 22, 08, 07:17 AM

well if the new update ensures the uploading of 2.5+ MB and auto resizing them i dont need custom page

also its only me...who cant post... everyone can so how is it the theme? lol

well do u know around when it will be released? the PAS update
Logged
Administrator
Sr. Member
*

Karma: 7
Posts: 486


Email
Reply #22 on: Apr 22, 08, 07:43 AM

unfortunately no update can fix hosting issue... so most likely you'll still expirience the same trouble with upload... by the way, could you show me contents of the php.ini you've placed inside /swf/ folder?

As for PAS update, originally I hoped to release it during this spring, but looks like it will not be ready until July - too much work with user cp and user administration
Logged
Fernando Gomez
Guest


Email
Reply #23 on: Apr 22, 08, 09:06 AM

i thought about it and i think i would pay u when u can for a 1000 x 1000 game play page.. 655 isnt enough and some of the game in your gamepacks have 700+ in width/height so they dont look normal when u play them..

and its adding game not upload to ftp
i emailed u the php.ini to many chars to post
Logged
Fernando Gomez
Guest


Email
Reply #24 on: Apr 22, 08, 09:49 AM

Ok well...

If my game is 800h x 600w

I want my height at 600 what would the width be?

whats the formula... because if i have to do the temp thing ti add games i would need this to resize my games since the script will resize the temp game..which is diff.
Logged
Administrator
Sr. Member
*

Karma: 7
Posts: 486


Email
Reply #25 on: Apr 22, 08, 10:16 AM

for a game W x H the formula would be the following:
newW = W * ( newH / H )
FYI: that's a shame to forget the basics of arithmetic  Cheesy
Logged
fernando gomez
Guest


Email
Reply #26 on: Apr 22, 08, 10:35 AM

LOL! - and something to stay on topic, thanks!
Logged
fernando gomez
Guest


Email
Reply #27 on: Apr 22, 08, 10:38 AM

so..for new height it would be...?
Logged
Administrator
Sr. Member
*

Karma: 7
Posts: 486


Email
Reply #28 on: Apr 22, 08, 10:32 PM

So, finally the problem with large files' upload is solved, and here is the simple solution (for those who is interested):
Since almost any hoster allows you to put custom php.ini inside your public_html (i.e. site's home) folder, you can adjust the upload_max_filesize parameter which handles how large can be the files you are uploading using admin CP. Your php.ini file should contain the following lines:
Code:
upload_max_filesize = 16777216
post_max_size = 33554432
max_execution_time = 600
And must be placed inside /admin/ folder.

That's it
« Last Edit: Apr 22, 08, 10:48 PM by Sergey » Logged
Pages: 1 [2]
 
Jump to: