forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 plugins => Topic started by: just_some_guy on October 28, 2007, 10:36:06 am

Title: Critical error Couldn't install plugin
Post by: just_some_guy on October 28, 2007, 10:36:06 am
Hello,

I was writing a plugin and went to install it, i clicked install and i didnt get an error informing of errors in the syntax etc. but instead in just said -

"Critical error Couldn't install plugin 'name'"

and then where it says name it was the name of my plugin. I coudnt see any refrence to this error in the docs.

What does it mean?

Thanks,
Title: Re: Critical error Couldn't install plugin
Post by: Joachim Müller on October 28, 2007, 11:28:24 am
The coppermine coding discussion board is not a place to ask for support. You're welcome to discuss actual code there. Moving thread to regular support board from "Coppermine coding discussion (http://forum.coppermine-gallery.net/index.php?board=62.0)"
Title: Re: Critical error Couldn't install plugin
Post by: just_some_guy on October 28, 2007, 11:54:00 am
thanks, Do you know what the problem is?
Title: Re: Critical error Couldn't install plugin
Post by: Joachim Müller on October 28, 2007, 12:10:55 pm
Impossible to say with just the generic error message, without being able to see you code. Usual drill applies: zip your plugin and attach it to your posting if you want others to look into your issues. We're not mind readers.
Title: Re: Critical error Couldn't install plugin
Post by: just_some_guy on October 28, 2007, 01:17:44 pm
Its ok now i enabled debug mode and discoved an error message pointing to the plugin api file and on that line it was an error message activated if the install function failed. I removed the install function and its ok now. Must be an error in the syntax.

Thanks for the offer. You can mark this one solved.