Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Stylesheets in /classic/

Stylesheets in /classic/

Locked

Views: 3,861

Results 1 to 20 of 22
This thread is locked. New replies are disabled.
24 Jun 2006, 1:25 PM
#1
parafanaylya avatar

parafanaylya

Totally Zenned

Join Date:
Jul 2005
Location:
Hoedspruit
Posts:
470
Plugin Contributions:
1

Stylesheets in /classic/

Do these files get copied to your overide folder

25 Jun 2006, 4:43 AM
#3
parafanaylya avatar

parafanaylya

Totally Zenned

Join Date:
Jul 2005
Location:
Hoedspruit
Posts:
470
Plugin Contributions:
1

Re: Stylesheets in /classic/

I've just attempted my first upgrade, and things didn't turn out the way they're meant to. I have a home backup.

  • There's a little "s" at the top left of the display
  • The template has aligned left
  • The font size has changed to a larger size
  • and lastly:> Your database appears to need patching to a higher level. See Admin->Tools->Server Information to review patch levels.

It's still a test site, so I'm not phased, but you can view here

I know it's a big screw up, but how else do I learn?

25 Jun 2006, 5:03 AM
#4
parafanaylya avatar

parafanaylya

Totally Zenned

Join Date:
Jul 2005
Location:
Hoedspruit
Posts:
470
Plugin Contributions:
1

Re: Stylesheets in /classic/

I've just made a little discovery. Two of the issues I have are only in IE and not Firefox.

Firefox doesn't have font or alignment issues, only Bill Gates

Where do you do the Db patch

and how do I get rid of the "s"

or go to link if image does not display:

25 Jun 2006, 6:49 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Stylesheets in /classic/

The "s" will be somewhere in one of your language or header files ... well, in one of the various PHP files you touched while upgrading..... it's most likely a stray character accidentally left in one of the files you edited.

The alignment problems are likely related to the "s" being on the page.

The database-upgrade alert is resolved by upgrading the database .... which is done by the zc_install/index.php (documented in the upgrade instructions).

25 Jun 2006, 10:14 AM
#6
parafanaylya avatar

parafanaylya

Totally Zenned

Join Date:
Jul 2005
Location:
Hoedspruit
Posts:
470
Plugin Contributions:
1

Re: Stylesheets in /classic/

The "s" also appears im my admin - on the login page next to the login box, and when ur in, at top left as in the site screenshot

Looking for an "s" through everyfile is probably worse than needle in a ........

25 Jun 2006, 11:51 AM
#7
parafanaylya avatar

parafanaylya

Totally Zenned

Join Date:
Jul 2005
Location:
Hoedspruit
Posts:
470
Plugin Contributions:
1

Re: Stylesheets in /classic/

Thank you DrByte

I have, or rather, reading, understanding and applying the correct procedures, has resolved most of the issues. Now to get rid of that pesky little "s"

parafanaylya

25 Jun 2006, 6:27 PM
#8
parafanaylya avatar

parafanaylya

Totally Zenned

Join Date:
Jul 2005
Location:
Hoedspruit
Posts:
470
Plugin Contributions:
1

Re: Stylesheets in /classic/

This issue is beyond me - the "s" is on all pages of my site, and it's displaying in admin as well. Any ideas anybody. What file shares both admin and site?

It can only be in one of the changes files, but has any body looked for a stray "s" b4, I wish it had been a Q or a whole word!

Please:huh:

25 Jun 2006, 7:03 PM
#9
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Stylesheets in /classic/

try common/html_header.php
Just wondering why are you using 2 stylesheets?
Only stylesheet2.css is required for that template, stylesheet.css
not required, as coded from template_default, not Classic
Template also tested using Internet Explorer and Firefox, works fine
:dontgetit

25 Jun 2006, 7:07 PM
#10
parafanaylya avatar

parafanaylya

Totally Zenned

Join Date:
Jul 2005
Location:
Hoedspruit
Posts:
470
Plugin Contributions:
1

Re: Stylesheets in /classic/

Hello Misty

Just wondering why are you using 2 stylesheets?

cos I'm a mechanic and don't know what I'm doing. Do I delete the unwanted then

25 Jun 2006, 7:15 PM
#11
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Stylesheets in /classic/

Do I delete the unwanted then
Entirely your decision, as now almost one month since
you installed template, and have no way of knowing
what alterations/additions you may have made in that
time. The "s" seems to have appeared since your upgrade.

25 Jun 2006, 7:32 PM
#12
parafanaylya avatar

parafanaylya

Totally Zenned

Join Date:
Jul 2005
Location:
Hoedspruit
Posts:
470
Plugin Contributions:
1

Re: Stylesheets in /classic/

Yes - it came with the updates to 1.3.0.2, but all I did was check and merge.

Something just crossed my mind. An overide where I metricated the unit of measure - where lbs becomes kg - I'll go look there

I enjoy the challenge - and have always taken on things that are (a challenge)

25 Jun 2006, 8:31 PM
#13
parafanaylya avatar

parafanaylya

Totally Zenned

Join Date:
Jul 2005
Location:
Hoedspruit
Posts:
470
Plugin Contributions:
1

Re: Stylesheets in /classic/

Couldn't find anything there, so I've decided to try the following:

download the new patch (in case I corrupted the file in the merge process) - merge my custom files into the new

restore from backup, and do new upload

26 Jun 2006, 4:20 AM
#14
parafanaylya avatar

parafanaylya

Totally Zenned

Join Date:
Jul 2005
Location:
Hoedspruit
Posts:
470
Plugin Contributions:
1

Re: Stylesheets in /classic/

The restore fixed the problem. Other priorities to sort right now.

Next time I do the upgrade, I'll do an even more thorough merge, and then upload the patch :thumbsup:

26 Jun 2006, 5:29 PM
#15
parafanaylya avatar

parafanaylya

Totally Zenned

Join Date:
Jul 2005
Location:
Hoedspruit
Posts:
470
Plugin Contributions:
1

Re: Stylesheets in /classic/

I found the li'l "s", and I know how he got there.

I don't like using my mouse, and rather use keyboard shortcuts. The cursor was lurking - see below - and I obviously missed the CTRL key the first time:

s<?php
/**

  • functions/sessions.php
  • Session functions
  • @package functions
  • @copyright Copyright 2003-2005 Zen Cart Development Team
  • @copyright Portions Copyright 2003 osCommerce
  • @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
  • @version $Id: sessions.php 3772 2006-06-13 18:51:58Z wilt $
26 Jun 2006, 8:43 PM
#16
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Stylesheets in /classic/

That's a very peculiar file to be editing .......

27 Jun 2006, 4:30 AM
#17
parafanaylya avatar

parafanaylya

Totally Zenned

Join Date:
Jul 2005
Location:
Hoedspruit
Posts:
470
Plugin Contributions:
1

Re: Stylesheets in /classic/

I didn't actually edit the file, I obviously placed the cursor in the file in that position. whilst in Winmerge, I had a sip of coffee, hit (missed CTRL) and "s" keys , closed - saw that it wasn't saved, saved the mistake and screwed my site up.

I now know, that one only needs to merge the files that you have customised for your site, but my lack of experience and understanding, doesn't allow me the the luxury yet, of merging customised files only. Hopefully one day I will start getting a better grip of what's going on around here. I have come a long way, but I 've a longer way to go yet. See you there one day. :thumbsup:

27 Jun 2006, 5:07 AM
#18
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Stylesheets in /classic/

Sounds like you're making good progress.

Here's a tip .... to find out which files you've customized, open another WinMerge session, and compare your "old" version files with the "original" files for that old version .... ie: old version was 1.2.6, compare your customized files against a fresh untouched 1.2.6 fileset.
Doing this lets you see exactly which files you need to be "careful" with.

So, if /includes/functions/functions_email.php are both the same in 1.2.6 and your customized 1.2.6, but you're upgrading to 1.2.7 and it shows as changed between your customized files and the new files, then it's safe to merge them.....

27 Jun 2006, 5:54 AM
#19
parafanaylya avatar

parafanaylya

Totally Zenned

Join Date:
Jul 2005
Location:
Hoedspruit
Posts:
470
Plugin Contributions:
1

Re: Stylesheets in /classic/

Thanks for the advice - now another issue.

I have just restored my DB from a home backup for the the new site and - 0 products. I don't understand this. Fortunately, I have everything on EP, and looking through my CPanel, all the image files and overides are there. Anyway - I'll wait for the home directory back up restore to finish, and then I'll restore the database back up again. Holding thumbs.

28 Jun 2006, 5:09 AM
#20
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Stylesheets in /classic/

are table-prefixes still correct?

What version of MySQL was on the server you did your backup on? What version are you restoring to?