That's great, thanks.
I tried it and when I switch to another template it gives me a blank page (which was the problem that I had before in some of the trials I did).
That's great, thanks.
I tried it and when I switch to another template it gives me a blank page (which was the problem that I had before in some of the trials I did).
IDEAS Girl
IDEAS Creative Group = Your image... our business!
You'll need to post the debug log for me to know what happened.
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.
That's the "multilingual section" of the header.Code:[08-Feb-2023 17:32:23 UTC] Request URI: /sandbox/?skin=sophy_blue, IP address: 24.55.69.103 #1 each() called at [/home/ideas22/public_html/sandbox/includes/templates/sophy_blue/common/html_header.php:72] #2 require(/home/ideas22/public_html/sandbox/includes/templates/sophy_blue/common/html_header.php) called at [/home/ideas22/public_html/sandbox/index.php:42] --> 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.
I replaced it copying that part from responsive_classic and still not success.
Last edited by ideasgirl; 8 Feb 2023 at 07:56 PM.
IDEAS Girl
IDEAS Creative Group = Your image... our business!
Wrong log. This is the correct:
HTML Code:[08-Feb-2023 18:56:33 UTC] Request URI: /sandbox/zen158/?skin=sophy_blue, IP address: 24.55.69.103 #1 require_once() called at [/home/ideas22/public_html/sandbox/zen158/includes/languages/sophy_blue/english.php:633] #2 include_once(/home/ideas22/public_html/sandbox/zen158/includes/languages/sophy_blue/english.php) called at [/home/ideas22/public_html/sandbox/zen158/includes/classes/ResourceLoaders/FilesLanguageLoader.php:39] #3 Zencart\LanguageLoader\FilesLanguageLoader->loadFileDefineFile() called at [/home/ideas22/public_html/sandbox/zen158/includes/classes/ResourceLoaders/CatalogFilesLanguageLoader.php:54] #4 Zencart\LanguageLoader\CatalogFilesLanguageLoader->loadMainLanguageFiles() called at [/home/ideas22/public_html/sandbox/zen158/includes/classes/ResourceLoaders/CatalogFilesLanguageLoader.php:19] #5 Zencart\LanguageLoader\CatalogFilesLanguageLoader->loadInitialLanguageDefines() called at [/home/ideas22/public_html/sandbox/zen158/includes/classes/ResourceLoaders/LanguageLoader.php:29] #6 Zencart\LanguageLoader\LanguageLoader->loadInitialLanguageDefines() called at [/home/ideas22/public_html/sandbox/zen158/includes/init_includes/overrides/init_templates.php:105] #7 require_once(/home/ideas22/public_html/sandbox/zen158/includes/init_includes/overrides/init_templates.php) called at [/home/ideas22/public_html/sandbox/zen158/includes/autoload_func.php:40] #8 require(/home/ideas22/public_html/sandbox/zen158/includes/autoload_func.php) called at [/home/ideas22/public_html/sandbox/zen158/includes/application_top.php:237] #9 require(/home/ideas22/public_html/sandbox/zen158/includes/application_top.php) called at [/home/ideas22/public_html/sandbox/zen158/index.php:25] --> PHP Warning: require_once(includes/languages/english/email_extras.php): failed to open stream: No such file or directory in /home/ideas22/public_html/sandbox/zen158/includes/languages/sophy_blue/english.php on line 633. [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
IDEAS Girl
IDEAS Creative Group = Your image... our business!
> --> 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.
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.
Yeah, I just saw that! It's fixed.
Thanks once again.
IDEAS Girl
IDEAS Creative Group = Your image... our business!
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.
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!