Rockbox General > Rockbox General Discussion
Theme upload error - validator fails with font error
sockbox:
I'm trying to upload my theme which works on my player and on the sim, but the upload page errors with this error:
--- Code: ---Warning: join() [function.join]: Invalid arguments passed in /home/themes/www/upload.php on line 106
Your wps didn't pass checkwps. Here's the output:
--- End code ---
Here's a screenshot:
http://farm5.static.flickr.com/4114/4793193101_2edee2ee8c_b.jpg
Domonoky:
Can you please upload the theme zip file somewhere, so devs can try to reproduce this ?
sockbox:
Uploaded here...
http://www.megaupload.com/?d=TTS54QG2
sockbox:
Thanks for working on the site guys, but now it's erroring w/ unable to load font error which I've run into when the theme is too big to load into RAM. The theme validator is choking on the theme size. I assure you that the theme works. You can even try it out yourself. It uses 12.9kB of the allotted 13kB.
-- update--
hmm... I dropped the theme down to 12.5kb and the validator still gives the same font error.
After playing around with the theme, fonts, and uploader/validator. I was able to figure out that the validator calculates the size of the theme in a way thats completely larger than what I'm uploading. I've stripped down my theme to the bare essentials, fonts and icons, dropping the theme down to 11.6KB and still it errors with the font loading error. It's only when I drop the size even more by stripping out the code which accesses the icons is the theme valid.
Is it possible that the validator uses fonts of a different size larger than the ones available in the font pack? Or could the validator load icons in a different manner than the sim/player? or is my code breaking the validator?
Here is my stripped down theme which errors at 11.6KB:
http://www.megaupload.com/?d=KZN7C7NW
validator wps error:
http://farm5.static.flickr.com/4082/4801338508_5cb5e487ef.jpg
skin ram usage:
sockbox:
Any updates on why the theme uploader fails at fonts for the Sansa Clip+?
Navigation
[0] Message Index
[#] Next page
Go to full version