[fixed] import of a design is impossible

Forum rules
Only administrators can post or move items here.
Post Reply
archeo
Forum Members
Forum Members
Posts: 107
Joined: Tue Oct 21, 2014 12:47 pm
Location: Lorient (France)

[fixed] import of a design is impossible

Post by archeo »

I test export and export design :
step1 : I export Ncleanblue
step2 : I import the Ncleanblue.xml file
and I have this message : "un gabarit du même nom existe déjà" ("A template with the same name already exist")

right duplicate a template is impossible?

step3 : I delete all templates
step4 : I import the Ncleanblue.xml file
and I have the same message

system info :
----------------------------------------------

Cms Version: 2.0-rc1

Installed Modules:

AdminSearch: 1.0
CMSContentManager: 1.0
DesignManager: 1.0
FileManager: 1.5
MicroTiny: 2.0
ModuleManager: 2.0
Navigator: 1.0
News: 2.50
Search: 1.50
Showtime: 3.4


Config Information:

php_memory_limit:
max_upload_size: 64000000
url_rewriting: none
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: Europe/Paris
permissive_smarty: false


Php Information:

phpversion: 5.5.12
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
test_file_timedifference:
test_db_timedifference:
memory_limit: 128M
max_execution_time: 120
output_buffering: 4096
file_uploads: On (True)
post_max_size: 10M
upload_max_filesize: 64M
session_save_path: c:/wamp/tmp (0777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)


Performance Information:

allow_browser_cache: Off (False)
browser_cache_expiry: 60
php_opcache: Off (False)
smarty_cache: Off (False)
smarty_compilecheck: Off (False)
smarty_cache_udt: Off (False)
auto_clear_cache_age: On (True)

Server Information:

Server Api: apache2handler
Server Db Type: MySQL (mysqli)
Server Db Version: 5.6.17
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No file system time difference found


----------------------------------------------
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: import of a design is impossible

Post by calguy1000 »

It was because of a simple expression error, when importing the NCleanBlue design that had the 'footer' template which happened to have the id of 1 :)

It's fixed in svn now, thanks.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
archeo
Forum Members
Forum Members
Posts: 107
Joined: Tue Oct 21, 2014 12:47 pm
Location: Lorient (France)

Re: [fixed] import of a design is impossible

Post by archeo »

Ok I make a new test on the version 2015-06-21 12:30

The import is OK but there is an other problem :

Step 1 : create a new template with defaut values name "minitest" in a design name "minitest"
Step 2 : set this design and template to all pages
Step 3 : delete all design, template and CSS exept "minitest"
Step 4 : import Ncleanblue design
Step 5 : set the Ncleanblue design and template to all pages : the page freeze. Now try to modify template by clicking on a page title : a warning message appear : "Could not find default CmsLayoutTemplate row for type __CORE__::page"
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: [fixed] import of a design is impossible

Post by calguy1000 »

I will fix up the handling of the error message.

But since you deleted all page templates, you also deleted the 'default' page template.

go into design manager, edit the NCleanBlue template, go to the advanced tab and click 'default'. then submit.

This will make the new NCleanBlue template the default template of type Core::Page. and the error will go away.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: [fixed] import of a design is impossible

Post by calguy1000 »

Actually, I just needed a try/catch block. easy-peasy.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
archeo
Forum Members
Forum Members
Posts: 107
Joined: Tue Oct 21, 2014 12:47 pm
Location: Lorient (France)

Re: [fixed] import of a design is impossible

Post by archeo »

OK all works fine after adding (default) template for news, breadcrumbs and search.
On step 3, I thought that the last template would be automaticlly the default template.
Post Reply

Return to “Closed Issues”