forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: astral_enterprise on November 18, 2006, 01:38:47 pm

Title: Warning: sprintf() [function.sprintf] (help)
Post by: astral_enterprise on November 18, 2006, 01:38:47 pm
everything seemed to install great! Then while in admin mode, I receive the following error:

Warning: sprintf() [function.sprintf]: Too few arguments in c:\my_site\coppermine\include\functions.inc.php on line 483

Can someone shed some light on this problem? ::)
Title: Re: Warning: sprintf() [function.sprintf] (help)
Post by: Sami on November 18, 2006, 04:57:11 pm
Did you edit include/theme.inc.php or any other files?
Title: Re: Warning: sprintf() [function.sprintf] (help)
Post by: astral_enterprise on November 18, 2006, 10:03:05 pm
Hey Sami,

No, I have not modified any file at all. I noticed that it only happens to the admin. In user mode everything is fine.
Title: Re: Warning: sprintf() [function.sprintf] (help)
Post by: Sami on November 19, 2006, 06:20:09 am
Give us a link to your gallery please
Title: Re: Warning: sprintf() [function.sprintf] (help)
Post by: astral_enterprise on November 19, 2006, 02:03:20 pm
http://www.astralenterprise.com/photo_album/index.php

Thanks sami, the problem only occurs to the admin
Title: Re: Warning: sprintf() [function.sprintf] (help)
Post by: Sami on November 19, 2006, 02:17:16 pm
can you PM me an admin account?
Title: Re: Warning: sprintf() [function.sprintf] (help)
Post by: astral_enterprise on November 19, 2006, 04:59:10 pm
Hey sami!

ok, done. When you login as admin go to the users tab and you will see the error on top of the table, Thanks for all your help
Title: Re: Warning: sprintf() [function.sprintf] (help)
Post by: Sami on November 19, 2006, 07:03:11 pm
Okey I've got your PM and will let know when is done
Title: Re: Warning: sprintf() [function.sprintf] (help)
Post by: Sami on November 19, 2006, 08:57:31 pm
I checked your gallery and it's working fine
You need to disable warning and notice in your php setting , ask your host for support
Title: Re: Warning: sprintf() [function.sprintf] (help)
Post by: astral_enterprise on November 19, 2006, 09:17:44 pm
Hi Sami,

When you try to add an album, you will not be able to as an Admin. Only the Registered group can. Even if you go in User Mode, you will not be able to add an album to your account. But everyone who is not an Admin can without any problems
Title: Re: Warning: sprintf() [function.sprintf] (help)
Post by: Sami on November 19, 2006, 09:43:21 pm
Actualy you shouldn't go to user mode
read the doc .
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_user_mode
Title: Re: Warning: sprintf() [function.sprintf] (help)
Post by: astral_enterprise on November 19, 2006, 11:25:19 pm
Thanks sami for all your help. I will contact my host for the error message. Thanks again for all the help