blank page on manual upload : size file too high ?

CharacterProfiler.lua file uploading issues

blank page on manual upload : size file too high ?

Postby shan_aya » Sun Oct 14, 2007 3:21 pm

hello,
my cp.lua file is 1.5mo size length, so when i try to upload to roster, i have bank page...

if i cut my file, it works ( 1 character almost 3)

any idea ?

last version of addons and 1.7.3 roster
shan_aya
WR.net Journeyman
WR.net Journeyman
 
Posts: 132
Joined: Fri Aug 11, 2006 12:58 pm

blank page on manual upload : size file too high ?

Postby zanix » Mon Oct 15, 2007 1:59 am

Most likely yes, the file is too big for your server
php may be running out of memory when parsing the file
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

blank page on manual upload : size file too high ?

Postby Subxero » Mon Oct 15, 2007 3:46 am

Compress your file!

use GZip

Upload the CharacterProfiler.lua.gz result and try again...
Subxero - Priest 70 Holy - Asphelt Knight Officer - Zul'jin Horde.
User avatar
Subxero
WR.net Artisan
WR.net Artisan
 
Posts: 234
Joined: Thu Jul 06, 2006 4:08 pm
Realm: Zul'jin (PvE) - US

blank page on manual upload : size file too high ?

Postby shan_aya » Mon Oct 15, 2007 1:42 pm

my php params is 2 mo
i try gzip compression
shan_aya
WR.net Journeyman
WR.net Journeyman
 
Posts: 132
Joined: Fri Aug 11, 2006 12:58 pm

Re: blank page on manual upload : size file too high ?

Postby tuigii » Mon Oct 15, 2007 2:00 pm

Do yourself a favour, use UniUpLoader (and let it have gzip'ed).
I saw it loading +3Mb CP files with no hassle at all - using the same 2 Mb server limit.
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

blank page on manual upload : size file too high ?

Postby PleegWat » Mon Oct 15, 2007 2:21 pm

There are 2 size limits involved.
- Upload size limit, usually 2 mb (I think). gzip helps with this
- Memory size limit, usually 8mb on older installs, 128 on newer installs. gzip does not help with this, since the data is extracted before being parsed and it's the parsed data taking the lot of memory.

As a rough guideline, multiply the actual .lua size by 5 to get the required memory.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

blank page on manual upload : size file too high ?

Postby shan_aya » Mon Oct 15, 2007 3:34 pm

my php params is 2 mo
i try gzip compression
thx
shan_aya
WR.net Journeyman
WR.net Journeyman
 
Posts: 132
Joined: Fri Aug 11, 2006 12:58 pm


Return to Uploading

Who is online

Users browsing this forum: No registered users and 0 guests