I just had to mess with it... I just had to mess with it...
 

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]

Main Menu

I just had to mess with it...

Started by londonhogfan, September 09, 2005, 07:27:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

londonhogfan

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?
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.razorbacklegacy.com%2Fhog_archive%2Fpic.jpg&hash=3d1b2bbde092be74414169a519ae11559f8adf22)

Nibbler

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

londonhogfan

sorry, What is that ???

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

artistsinhawaii

Quote from: londonhogfan on September 09, 2005, 07:57:33 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. )
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

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

londonhogfan

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

Thanks,

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

artistsinhawaii

Quote from: londonhogfan 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

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
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

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