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: I just had to mess with it...  (Read 3628 times)

0 Members and 1 Guest are viewing this topic.

londonhogfan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
    • The Razorback Legacy
I just had to mess with it...
« on: September 09, 2005, 07:27:33 pm »

Trying to customize my theme a little and now Im getting this...

Warning: sprintf(): Too few arguments in /home/razorbac/public_html/hog_archive/include/functions.inc.php on line 211

http://www.razorbacklegacy.com/hog_archive/thumbnails.php?album=172

Anyone know how I can fix this?
Logged
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.razorbacklegacy.com%2Fhog_archive%2Fpic.jpg&hash=3d1b2bbde092be74414169a519ae11559f8adf22)

Nibbler

  • Guest
Re: I just had to mess with it...
« Reply #1 on: September 09, 2005, 07:54:04 pm »

Looks like you removed something to do with the pagination tabs.
Logged

londonhogfan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
    • The Razorback Legacy
Re: I just had to mess with it...
« Reply #2 on: September 09, 2005, 07:57:33 pm »

sorry, What is that ???

All I was trying to do was resize the table width... :-[
Logged
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.razorbacklegacy.com%2Fhog_archive%2Fpic.jpg&hash=3d1b2bbde092be74414169a519ae11559f8adf22)

artistsinhawaii

  • VIP
  • Coppermine addict
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 856
    • evj art and photography
Re: I just had to mess with it...
« Reply #3 on: September 09, 2005, 08:57:01 pm »

sorry, What is that ???

All I was trying to do was resize the table width... :-[

Londonhogfan,

Hi, don't feel too bad.  I do that all the time, and I'm sure a lot of others do the same and experience the same kind of results.  I call it the learning curve.

What I would do in this kind of situation is compare your version of the file with an uadulterated copy of the same file.  Just go to the line in question in both files and compare that entire block of code.  You may have inadvertantly deleted or drag-n-dropped a section to where it doesn't belong.  If necessary, cut and paste the entire block from the unadulterated copy to your working (presently not working) copy.   If that doesn't work, replace the file with the unadulterated one.


Hope this helps.

(Btw, if you're not using a php editing program that allows you to do mulitple undos (Ctrl + Z) you should get one.   I suppose Webuilder would be a good start. It's free and pretty impressive. )
Logged
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

londonhogfan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
    • The Razorback Legacy
Re: I just had to mess with it...
« Reply #4 on: September 09, 2005, 09:03:56 pm »

nah, I just use notepad.  I actually just downloaded the original SMF theme that I am usnig trying to figure it out.  Thanks.
Logged
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.razorbacklegacy.com%2Fhog_archive%2Fpic.jpg&hash=3d1b2bbde092be74414169a519ae11559f8adf22)

londonhogfan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
    • The Razorback Legacy
Re: I just had to mess with it...
« Reply #5 on: September 09, 2005, 09:16:17 pm »

OK, I got it.  Just got to mess with it a little more.  but no more errors.

Thanks,

lhf
Logged
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.razorbacklegacy.com%2Fhog_archive%2Fpic.jpg&hash=3d1b2bbde092be74414169a519ae11559f8adf22)

artistsinhawaii

  • VIP
  • Coppermine addict
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 856
    • evj art and photography
Re: I just had to mess with it...
« Reply #6 on: September 09, 2005, 09:20:19 pm »

OK, I got it.  Just got to mess with it a little more.  but no more errors.

Thanks,

lhf

Great!   with the SMF theme, try using percentages instead of hardcoded px sizes. Also look into the template.html I think some of the tables there were coded with px sizes there as well. 

Dennis
Logged
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: I just had to mess with it...
« Reply #7 on: September 10, 2005, 11:54:24 am »

To do as Dennis suggested (comparison of two versions of one file), use a diff viewer like WinMerge - it's a "can't live without it" tool - and it's free (no, I don't get paid to advertize it ;)).

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 16 queries.