• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

'headers1' - where to place?

E

echosnob

Guest
hi there,

i created a template for sitebuilder4.0, successfully compiled and uploaded it. the installation process on the server finished without errors. the template is listed in the list of templates in the suitbuilder interface and the plan for a user, which should finally show the template is installed. i took all the other plans of standard installed templates off.

but if i log in as this user and create a new site, sitebuilder crashes immediately, showing the following message:

Internal SiteBuilder error.
File: /opt/sitebuilder/include/SB/Site.php; Line: 469
Message: Header 'headers1' is not defined in template 'x_list_1'. Color scheme 'yellow'.; Code: 0

a thumbnail for a header exists in the demanded folder.

what is "headers1"? suitebuilder documentation doesn't mention this declaration.

anyone able to help?
thank you :)
greetings from germany
echo
 
Probably this issue related to info.xml file for template. Make sure that it contains correct information. Compare it with some different info.xml file for template and template's structure, for example:
# cat zsk-20/info.xml
<?xml version="1.0"?>
<template id="zsk-20" version="4.0.0" caption="Photogallery company" category="Photogallery">
<default logo="logo.gif" banner="headers1.jpg" button="buttons1.jpg" color-scheme="blue"/>
<color-schemas>
<color-scheme id="green" caption="Green scheme"/>
<color-scheme id="blue" caption="Blue scheme"/>
<color-scheme id="yellow" caption="Yellow scheme"/>
</color-schemas>
</template>


# ls -la zsk-20/yellow/headers/
60
drwxr-xr-x 6 root root 4096 Aug 7 13:15 .
drwxr-xr-x 6 root root 4096 Aug 7 13:15 ..
drwxr-xr-x 2 root root 4096 Aug 7 13:15 big
drwxr-xr-x 2 root root 4096 Aug 7 13:15 headers1
-rw-r--r-- 1 root root 8879 Aug 26 16:14 headers1.jpg
drwxr-xr-x 2 root root 4096 Aug 7 13:15 headers2
-rw-r--r-- 1 root root 9143 Aug 26 16:14 headers2.jpg
drwxr-xr-x 2 root root 4096 Aug 7 13:15 headers3
-rw-r--r-- 1 root root 9001 Aug 26 16:14 headers3.jpg

If you still have any issues with it, you can give me the link to download this template and check what can be wrong from my side.
 
Back
Top