Smart Image Processor PHP 2 Support Product Page

This topic was archived

Getting a fatal error

Reported 16 Jan 2008 18:52:50
2
have this problem
16 Jan 2008 18:52:50 Michael Englyst posted:
I'm using the Insert Record behaviour with a form that has a name, description, filefield, and has two hidden fields named sizehor + sizever for the image sizes.

When I've filled out the fields and pressed the 'Upload image' buttom in my form the browser thinks for a while and then I get this error.

Fatal error: Call to a member function registerAddOn() on a non-object in [root]/ScriptLibrary/cGraphicMediator.php on line 124

I added the Insert Record behavour first, then Pure PHP Upload, then 2 instances of the Smart Image Processor 2 pluging (one for scaling the images and replacing them and one for generating thumbnails).

Also the included files are included too far down in the code and I have to move them up to the beginning of the file for the function calls to work.

Can you help me here? <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

Replies

Replied 09 Jun 2008 11:52:41
09 Jun 2008 11:52:41 Miroslav Zografski replied:
Hi Michael,

Can you send or paste the code?

Regards.

M.Zografski


-----------------------------------
DMXZone.com Support Team
-----------------------------------

Reply to this topic