[Solved] No content blocks defined in template
[Solved] No content blocks defined in template
Hi, I installed a fresh copy of the cms (Isabela). Why is it that im having this problem upon creating a new template?
Last edited by Minefox on Sun Oct 21, 2012 2:47 pm, edited 1 time in total.
Re: No content blocks defined in template
There's a {content} tag included. In fact I tried every possible ways of adding new template (to dig out the problem) like copying the given original template and saving it in new template name. But still the it will give me the same result.uniqu3 wrote:You need {content} tag in template.
Re: No content blocks defined in template
And your template looks like...?
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: No content blocks defined in template
Here it is:
CMS: 1.11.2 "Isabela"
Apache: 2.2.23
PHP: 5.3.17
MySQL: 5.5.27-cll
Operating system: linux
copying this code will give same error
CMS: 1.11.2 "Isabela"
Apache: 2.2.23
PHP: 5.3.17
MySQL: 5.5.27-cll
Operating system: linux
copying this code will give same error
{process_pagedata}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head>
<title>{sitename} - {title}</title>
{metadata}
{cms_stylesheet}
</head>
</__body>
<!-- start header -->
<div id="header">
<h1>{sitename}</h1>
</div>
<!-- end header -->
<!-- start menu -->
<div id="menu">
{menu}
</div>
<!-- end menu -->
<!-- start content -->
<div id="content">
<h1>{title}</h1>
{content}
</div>
<!-- end content -->
<__body>
</__html>
- fearmydesign
- Power Poster
- Posts: 363
- Joined: Sun Feb 28, 2010 10:54 pm
Re: No content blocks defined in template
I am having the exact same problem! Here is my screenshot (attached) of my newly installed CMSMS 1.11.2
I will say that I have never had ANY issues with the checksum file until today - it gave me all kinds of errors. Not sure if related. This a GoDaddy Hosting account, not sure if that has anything to do with it (1st time). The checksum file was: cmsmadesimple-1.11.2-full-checksum.dat
I haven't even installed any modules or anything - fresh/clean install
The rest of the installation went smooth besides the checksum
Thank you all for your help.
I will say that I have never had ANY issues with the checksum file until today - it gave me all kinds of errors. Not sure if related. This a GoDaddy Hosting account, not sure if that has anything to do with it (1st time). The checksum file was: cmsmadesimple-1.11.2-full-checksum.dat
I haven't even installed any modules or anything - fresh/clean install
The rest of the installation went smooth besides the checksum
Thank you all for your help.
Re: No content blocks defined in template
In both templates i see space in <__html > tag, could that be causing it?
- fearmydesign
- Power Poster
- Posts: 363
- Joined: Sun Feb 28, 2010 10:54 pm
Re: No content blocks defined in template
Thanks for your reply, but I am afraid not. I tried these (removed the space at the end);uniqu3 wrote:In both templates i see space in <__html > tag, could that be causing it?
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<__html>
and its weird, because all I am doing is just clicking the "Add New Template" link, I give it a name (home) and submit.
UPDATE: just tried creating a new template on my other site and it worked fine with the space ...html >
UPDATE 2: tried switching to NCleanGrey theme (thought it would help) but I got the same error.
- fearmydesign
- Power Poster
- Posts: 363
- Joined: Sun Feb 28, 2010 10:54 pm
Re: No content blocks defined in template
DO you guys think it has anything to do with the Hostname used?
Because this is a GoDaddy hosting account, the hostname is not the usual localhost, instead is this weird:
WebSite.db.2281057.hostedresourced.com
?
Just trying to think what it could be...
Because this is a GoDaddy hosting account, the hostname is not the usual localhost, instead is this weird:
WebSite.db.2281057.hostedresourced.com
?
Just trying to think what it could be...
- fearmydesign
- Power Poster
- Posts: 363
- Joined: Sun Feb 28, 2010 10:54 pm
Re: No content blocks defined in template
Actually nope! still NOT working... I tried changing the template on the home page to my newly created template (that I though was fine), and I got the following errors...! ugh, man!!
Warning: Invalid argument supplied for foreach() in /home/content/59/9981059/html/lib/classes/contenttypes/Content.inc.php on line 139
Warning: Cannot modify header information - headers already sent by (output started at /home/content/59/9981059/html/lib/classes/contenttypes/Content.inc.php:139) in /home/content/59/9981059/html/include.php on line 98
Warning: Cannot modify header information - headers already sent by (output started at /home/content/59/9981059/html/lib/classes/contenttypes/Content.inc.php:139) in /home/content/59/9981059/html/include.php on line 101
Warning: Cannot modify header information - headers already sent by (output started at /home/content/59/9981059/html/lib/classes/contenttypes/Content.inc.php:139) in /home/content/59/9981059/html/include.php on line 104
Warning: Cannot modify header information - headers already sent by (output started at /home/content/59/9981059/html/lib/classes/contenttypes/Content.inc.php:139) in /home/content/59/9981059/html/include.php on line 105
Warning: Cannot modify header information - headers already sent by (output started at /home/content/59/9981059/html/lib/classes/contenttypes/Content.inc.php:139) in /home/content/59/9981059/html/include.php on line 108
Warning: Cannot modify header information - headers already sent by (output started at /home/content/59/9981059/html/lib/classes/contenttypes/Content.inc.php:139) in /home/content/59/9981059/html/include.php on line 111
Warning: Invalid argument supplied for foreach() in /home/content/59/9981059/html/lib/classes/contenttypes/Content.inc.php on line 139
Warning: Cannot modify header information - headers already sent by (output started at /home/content/59/9981059/html/lib/classes/contenttypes/Content.inc.php:139) in /home/content/59/9981059/html/include.php on line 98
Warning: Cannot modify header information - headers already sent by (output started at /home/content/59/9981059/html/lib/classes/contenttypes/Content.inc.php:139) in /home/content/59/9981059/html/include.php on line 101
Warning: Cannot modify header information - headers already sent by (output started at /home/content/59/9981059/html/lib/classes/contenttypes/Content.inc.php:139) in /home/content/59/9981059/html/include.php on line 104
Warning: Cannot modify header information - headers already sent by (output started at /home/content/59/9981059/html/lib/classes/contenttypes/Content.inc.php:139) in /home/content/59/9981059/html/include.php on line 105
Warning: Cannot modify header information - headers already sent by (output started at /home/content/59/9981059/html/lib/classes/contenttypes/Content.inc.php:139) in /home/content/59/9981059/html/include.php on line 108
Warning: Cannot modify header information - headers already sent by (output started at /home/content/59/9981059/html/lib/classes/contenttypes/Content.inc.php:139) in /home/content/59/9981059/html/include.php on line 111
Re: No content blocks defined in template
A full paste of your system info may help, not what comes in the second page of it...
Re: No content blocks defined in template
heres mine..Dr.CSS wrote:A full paste of your system info may help, not what comes in the second page of it...
CMS Install Information
CMS Version 1.11.2
Installed Modules
CMSMailer 5.2.1
CMSPrinting 1.0.3
FileManager 1.4.1
MenuManager 1.8.4
MicroTiny 1.2.3
ModuleManager 1.5.5
News 2.12.9
Search 1.7.7
ThemeManager 1.1.7
CMS Config Settings
php_memory_limit
process_whole_template
output_compression
max_upload_size 10000000
url_rewriting none
page_extension
query_var page
image_manipulation_prog GD
auto_alias_content true
locale
default_encoding utf-8
admin_encoding utf-8
set_names true
debug false
root_url http://www.piang.net
ssl_url https://www.piang.net
root_path Success /home/piang21/public_html (0755)
previews_path Success /home/piang21/public_html/tmp/cache (0755)
uploads_path Success /home/piang21/public_html/uploads (0755)
uploads_url http://www.piang.net/uploads
image_uploads_path Success /home/piang21/public_html/uploads/images (0755)
image_uploads_url http://www.piang.net/uploads/images
ssl_uploads_url https://www.piang.net/uploads
use_smarty_php_tags
PHP Information
Current PHP Version (phpversion) Success 5.3.17
md5 function (md5_function) Success On (True)
GD version (gd_version) Success 2
tempnam function (tempnam_function) Success On (True)
Magic quotes in runtime (magic_quotes_runtime) Success Off (False)
Is E_STRICT disabled in error_reporting (E_STRICT) Success
Is E_DEPRECATED disabled in error_reporting (E_DEPRECATED) Success
PHP Effective Memory Limit (memory_limit) Success 64M
Maximum Execution Time (max_execution_time) Caution 30 ?
PHP output_buffering (output_buffering) Success On
PHP Safe Mode (safe_mode) Success Off (False)
File uploads (file_uploads) Success On (True)
Maximum Post Size (post_max_size) Success 10M
Maximum Upload Size (upload_max_filesize) Success 10M
Session Save Path (session_save_path) Success /tmp (1777)
Sessions are allowed to use Cookies (session_use_cookies) Success On (True)
Basic XML (expat) support (xml_function) Success On (True)
Checking for the XMLReader class (xmlreader_class) Success On (True)
Checking if the httpd process can create a file inside of a directory it created (create_dir_and_file) Success
PHP register_globals (register_globals) Success Off (False)
disable_functions in PHP (disable_functions) Caution system, passthru, exec, popen, proc_close, proc_get_status, proc_nice, proc_open, proc_terminate, highlight_file, escapeshellcmd, define_syslog_variables, posix_uname, posix_getpwuid, apache_child_termi nate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellarg, posix_uname, ftp_ exec, ftp_connect, ftp_login, ftp_get, ftp_put, ftp_nb_fput, ftp_raw, ftp_rawlist, ini_alter, ini_restore, inj ect_code, syslog, openlog, define_syslog_variables, apache_setenv, mysql_pconnect, eval, phpAds_XmlRpc, phpA ds_remoteInfo, phpAds_xmlrpcEncode, phpAds_xmlrpcDecode, xmlrpc_entity_decode, fp, fput ?
PHP Open Basedir (open_basedir) Success
Test for remote URL (test_remote_url) Success
fsockopen: Connection ok! Success
fopen: Connection ok! Success
Test ini_set (check_ini_set) Success On (True)
Test for the curl library (curl) Success On
Test curl version (curlversion) Success version 7.24.0, minimum recommended version is 7.19.7
Server Information
Server API (server_api) cgi-fcgi
Server Database (server_db_type) mysql (mysqli)
Server Database Version (server_db_version) Success 5.5.27
Check database access levels (server_db_grants) Success found a "grant all" statement that appears to be suitable
Server Software (server_software) apache
Server Operating System (server_os) linux 2.6.32-279.9.1.el6.x86_64 on x86_64
Permission Information
tmp Success /home/piang21/public_html/tmp (0755)
templates_c Success /home/piang21/public_html/tmp/templates_c (0755)
modules Success /home/piang21/public_html/modules (0755)
File Creation Mask (umask) Success /home/piang21/public_html/tmp/cache (0755)
config_file Failure 0777
config.php writable. It is more safe if you change permission to read-only
Re: No content blocks defined in template
@fearmydesign
Looks like a typo in your template: {content)
Looks like a typo in your template: {content)
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: No content blocks defined in template
any clues guys with this problem in CMS?