Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Warning: sprintf() [function.sprintf] (help)  (Read 3781 times)

0 Members and 1 Guest are viewing this topic.

astral_enterprise

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Warning: sprintf() [function.sprintf] (help)
« 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? ::)
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Warning: sprintf() [function.sprintf] (help)
« Reply #1 on: November 18, 2006, 04:57:11 pm »

Did you edit include/theme.inc.php or any other files?
Logged
‍I don't answer to PM with support question
Please post your issue to related board

astral_enterprise

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Warning: sprintf() [function.sprintf] (help)
« Reply #2 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.
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Warning: sprintf() [function.sprintf] (help)
« Reply #3 on: November 19, 2006, 06:20:09 am »

Give us a link to your gallery please
Logged
‍I don't answer to PM with support question
Please post your issue to related board

astral_enterprise

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Warning: sprintf() [function.sprintf] (help)
« Reply #4 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
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Warning: sprintf() [function.sprintf] (help)
« Reply #5 on: November 19, 2006, 02:17:16 pm »

can you PM me an admin account?
Logged
‍I don't answer to PM with support question
Please post your issue to related board

astral_enterprise

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Warning: sprintf() [function.sprintf] (help)
« Reply #6 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
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Warning: sprintf() [function.sprintf] (help)
« Reply #7 on: November 19, 2006, 07:03:11 pm »

Okey I've got your PM and will let know when is done
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Warning: sprintf() [function.sprintf] (help)
« Reply #8 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
Logged
‍I don't answer to PM with support question
Please post your issue to related board

astral_enterprise

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Warning: sprintf() [function.sprintf] (help)
« Reply #9 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
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Warning: sprintf() [function.sprintf] (help)
« Reply #10 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
Logged
‍I don't answer to PM with support question
Please post your issue to related board

astral_enterprise

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Warning: sprintf() [function.sprintf] (help)
« Reply #11 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
Logged
Pages: [1]   Go Up
 

Page created in 0.029 seconds with 19 queries.