Error

Notice: Undefined property: stdClass::$forum_tid in forum_node_view() (line 275 of /home/wfrantz/www/sprintdevelopers/modules/forum/forum.module).

PHP: on the fly GCD creation

Submitted by Anonymous (not verified) on Fri, 02/04/2005 - 12:25

I've been trying to do this and while searching google for any info or to see if anyone had already done this, I came across this thread linking to a couple of others. Well it helped me a little, but I'm still stuck.

Here's (url removed) what I have so far.

As a side note, I couldn't post the code using BBCode's code tags; submitting would result in an error about having html tags in the post. Instead I've included a link to the script in a text file.

Anyway, back to the original problem; I get the following error from my cell phone when trying to access the PHP script that should output a GCD file.
[quote:2b7c2d412d]
Error Occurred
Malformed JAR or content size in descriptor
[/quote:2b7c2d412d]
I don't think it's the generation because the script outputs the exact same content as a gcd file that I manually created for the test file that I am using.

I'm pretty sure it has something to do with how the server is sending the output of the script to the phone.

My server is running Apache/PHP on linux, and although I don't think it's really relevant, my phone is the Audiovox 8910.

MIME types are setup correctly because I've previously sent multiple types of files to my phone by manually creating the GCD file myself, this is just an attempt to automate the process.

Thank-You in advance for any help you may be able to provide

Edit: I came back to check if there were any replies and realized that because of this sites style, there's a pretty good chance that no one could actually tell that I had links embedded in the post. Now I've added the URL's in brackets after the links and also reworded a couple of sentences for clarity.

Edit: I've updated the post below and removed the out of date link above.