Scodigo, Inc.

Log In | Register

Cart Items:
0

Graphing problems and putting results in containers

I am getting mixed results trying to write some code that creates graphs. I have attached 3 simple examples that I think SHOULD all work, but I can 't get working. If you provide this kind of support, I would appreciate it if you could tell me why I can't get this to work. I am using your beta version an am wondering if there is a bug. I can get the first example to work, but the last two are failing. Desperate or I would ask. Thanks.

Thanks for fixing the file attachment.

AttachmentSize
Testbed_v2 3 examples.fp7448 KB
Testbed_v2 3 Examples Micah.fp7456 KB

Fixed

Micah Woods's picture

Hi Bailey,

I applied a couple of fixes and uploaded a new version of the file. Record #2 just needed a semicolon on the last line and record #3 needed to have a number of variables defined which you'll see at the top of the code. Not sure what #3 is supposed to look like but it's now creating an image.

See record #4 where I use PHP_Execute instead of PHP_Execute_To_Container. I made this switch while troubleshooting. By using PHP_Execute, you get to see the errors in your code which is of course very helpful.

Regards,
Micah

Thanks.

THanks for all the help. PHP isn't my best...yet! THanks!!!

Uploading files

Micah Woods's picture

Hello Bailey,

I've changed some settings so you should now be able to upload .fp7 files. Another option is to zip the files, then upload. Let me know if you're still having trouble.

Regards,
Micah

Thanks.

Updloaded the file. I might have made some stupid mistake and that is why two of the three examples don't work, but I can't figure it out.

Also, you have a barcode example on your site...do you have it change to work with your new container function in your beta?