forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 plugins => Topic started by: peng12341 on September 10, 2006, 01:37:05 am

Title: Problem with a self-written plugin
Post by: peng12341 on September 10, 2006, 01:37:05 am
I have written a littel plugin by myself. On my local webserver it works really great, but on my friends online webserver it doesn't work.
Could anyone of you please test the plugin and help me finding out what could be the problem.

Thanks in advance,

Patrick
Title: Re: Problem with a self-written plugin
Post by: kegobeer on September 10, 2006, 03:15:01 am
Do you get any error messages?
Title: Re: Problem with a self-written plugin
Post by: Sami on September 10, 2006, 06:52:51 am
It's working fine for me ,
ask your friend for any other plugin installed , may be it's a conflict problem
Post a link to that gallery (with this plugin install and enable) for error checking
Title: Re: Problem with a self-written plugin
Post by: peng12341 on September 10, 2006, 12:04:42 pm
The problem is, I can't install the plugin, because I only see a blank screen if I click on install. (Headers are fine but no HTML)
In both galleries no other plugin are installed, so there can't be any conflicts.
Title: Re: Problem with a self-written plugin
Post by: Sami on September 10, 2006, 12:33:45 pm
try to install sample plugin (checking CPG core file )
Title: Re: Problem with a self-written plugin
Post by: peng12341 on September 10, 2006, 12:51:29 pm
The sample plugin and the sef-URLs plugin both work. Just my plugin doesn't work.
Title: Re: Problem with a self-written plugin
Post by: Nibbler on September 10, 2006, 12:53:39 pm
file_put_contents is a PHP5 function.
Title: Re: Problem with a self-written plugin
Post by: peng12341 on September 10, 2006, 01:26:04 pm
Hey, that's the problem. My friends webserver has just php 4.4.2 .
And there was even one more php5 function.
I've changed it and now it works!
Thanks.