Thread: Skin Switch

Page 5 of 5 FirstFirst ... 345
Results 41 to 47 of 47
  1. #41
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,759
    Plugin Contributions
    124

    Default Re: Skin Switch

    > --> PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/ideas22/public_html/sandbox/includes/templates/sophy_blue/common/html_header.php on line 72.


    This is not a fatal error that would give you a white screen.

    Fixing errors like the one you posted is documented here:
    https://docs.zen-cart.com/user/upgra...ach-deprecated
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  2. #42
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,759
    Plugin Contributions
    124

    Default Re: Skin Switch

    OK this error:
    > [08-Feb-2023 18:56:33 UTC] PHP Fatal error: require_once(): Failed opening required 'includes/languages/english/email_extras.php' (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') in /home/ideas22/public_html/sandbox/zen158/includes/languages/sophy_blue/english.php on line 633

    you need to update your template; there is no such file anymore.

    This sophy blue template uses an old style language file; you need to fix that.

    Copy includes/languages/lang.english.php to includes/languages/sophy_blue, and customize to your needs.

    Do the same for any other language customizations in folders name sophy_blue.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #43
    Join Date
    Aug 2005
    Location
    San Juan, Puerto Rico
    Posts
    1,525
    Plugin Contributions
    9

    Default Re: Skin Switch

    Yeah, I just saw that! It's fixed.

    Thanks once again.
    IDEAS Girl
    IDEAS Creative Group
    = Your image... our business!
    My contributions: SophyBlue / Sophy Blue-Grey / Mistik / The Bookshelf / Dynamic Sideboxes

  4. #44
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,759
    Plugin Contributions
    124

    Default Re: Skin Switch

    Quickie recommendation on language file upgrades - only do what's absolutely needed.

    https://docs.zen-cart.com/user/local...ustomizations/
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #45
    Join Date
    Aug 2005
    Location
    San Juan, Puerto Rico
    Posts
    1,525
    Plugin Contributions
    9

    Default Re: Skin Switch

    Sure. I will update the template.

    Now I see that when I chose to navigate while in any other template (not base), the site will go to the original template, and I have to select the altern' template again to see the correct skin. Is that supposed to be like that in the updated skin switch? or maybe I have other things that I have to take care of?

    I continue having lots of errors but not from template but some other functions, like html_output and modules files.
    IDEAS Girl
    IDEAS Creative Group
    = Your image... our business!
    My contributions: SophyBlue / Sophy Blue-Grey / Mistik / The Bookshelf / Dynamic Sideboxes

  6. #46
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,759
    Plugin Contributions
    124

    Default Re: Skin Switch

    Yes, example 3 does the current page only. Example 1 makes the setting stick. You may want to combine the logic from those two examples, or change to example 1.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #47
    Join Date
    Aug 2005
    Location
    San Juan, Puerto Rico
    Posts
    1,525
    Plugin Contributions
    9

    Default Re: Skin Switch

    I will check because on my current published sandbox, I used Example 3 and it doesn't do that (I'm not 100% sure since it was years ago). I will have to re-read everything again and do an overhaul of the old templates.
    IDEAS Girl
    IDEAS Creative Group
    = Your image... our business!
    My contributions: SophyBlue / Sophy Blue-Grey / Mistik / The Bookshelf / Dynamic Sideboxes

 

 
Page 5 of 5 FirstFirst ... 345

Similar Threads

  1. how to install free template skin into my old skin?
    By andrewmax81 in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 14 Nov 2009, 04:44 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR