Re: Clone a Template [Support Thread]
Seems this is having issues in 1.5.6c
Code:
#1 file_put_contents() called at [/home/##########/public_html/156c_bootstrap/##########/clone_template.php:213]
--> PHP Warning: file_put_contents(/home/##########/public_html/156c_bootstrap/includes/templates/zca_bootstrap_theme_1/template_info.php): failed to open stream: No such file or directory in /home/##########/public_html/156c_bootstrap/##########/clone_template.php on line 213.
Seems its not copying template_info.php
This is a vanilla install zen cart 1.5.6c and ZCA Bootstrap Template only.
Re: Clone a Template [Support Thread]
Quote:
Originally Posted by
rbarbour
Seems this is having issues in 1.5.6c
Code:
#1 file_put_contents() called at [/home/##########/public_html/156c_bootstrap/##########/clone_template.php:213]
--> PHP Warning: file_put_contents(/home/##########/public_html/156c_bootstrap/includes/templates/zca_bootstrap_theme_1/template_info.php): failed to open stream: No such file or directory in /home/##########/public_html/156c_bootstrap/##########/clone_template.php on line 213.
Seems its not copying template_info.php
This is a vanilla install zen cart 1.5.6c and ZCA Bootstrap Template only.
That's weird; were all the other template files copied?
Re: Clone a Template [Support Thread]
Quote:
Originally Posted by
lat9
That's weird; were all the other template files copied?
No Cindy,
Nothing was actually copied.
I just did this on the responsive_classic and all worked as intended. :shocking:
Re: Clone a Template [Support Thread]
Was there a /logs/clone_template*.log file generated?
Re: Clone a Template [Support Thread]
Quote:
Originally Posted by
lat9
Was there a /logs/clone_template*.log file generated?
Yes
Okay, this is weird.
I just found the clones in the root directory.
Re: Clone a Template [Support Thread]
What's your /admin/includes/configure.php have its DIR_FS_CATALOG set to?
Re: Clone a Template [Support Thread]
PHP Code:
define('DIR_FS_CATALOG', '/home/**********/public_html/zca-bootstrap/');
I just did a new vanilla install 1.5.6c, installed the ZCA Bootstrap Template, same outcome
Code:
[14-Aug-2019 12:06:02 America/New_York] Request URI: /zca-bootstrap/**********/clone_template.php, IP address: 71.115.191.42
#1 file_put_contents() called at [/home/**********/public_html/zca-bootstrap/**********/clone_template.php:213]
--> PHP Warning: file_put_contents(/home/**********/public_html/zca-bootstrap/includes/templates/bootstrap_theme1/template_info.php): failed to open stream: No such file or directory in /home/**********/public_html/zca-bootstrap/**********/clone_template.php on line 213.
clone successful on the responsive_classic
Re: Clone a Template [Support Thread]
Is the default bootstrap template's template_info.php, for some reason, marked as read-only?
Re: Clone a Template [Support Thread]
Quote:
Originally Posted by
lat9
Is the default bootstrap template's template_info.php, for some reason, marked as read-only?
Nope,
permission is correct and same as the responsive_classic
Re: Clone a Template [Support Thread]
So this is where it seems to be getting mis-configured.
Copying from folder /home/***/public_html/zca-bootstrap/includes/modules/bootstrap/
Creating directory /home/***/public_html/zca-bootstrap_themeOne/includes/modules/bootstrap_themeOne
Copying /home/***/public_html/zca-bootstrap/includes/modules/bootstrap/attributes.php to /home/***/public_html/zca-bootstrap_themeOne/includes/modules/bootstrap_themeOne/attributes.php
it seems to be renaming the directory /home/***/public_html/zca-bootstrap to /home/***/public_html/zca-bootstrap_themeOne