Page 1 of 1
Where is my template?
Posted: Fri Sep 01, 2006 7:38 pm
by microOn
My page is like this:
http://student.umb.no/~disko/index.php
Where is the template? The page is just white and i can't get the template to work. Can some one help me?The Increase of PHP server memory with 16M got my mainpage up, and it's not blank any more. I just did a new install, but no template is showing.The only thing i can think of is the tmp/templates_c/ and folders inside is owner www-data, but i dont know. I don't own the server.
I have cmsms 0.13 The server is apache running postgreSQL7/8 safe mode ON.
Re: Where is my template? URGENT!
Posted: Fri Sep 01, 2006 7:54 pm
by calguy1000
Re: Where is my template? URGENT! NEW!
Posted: Sat Sep 02, 2006 10:07 am
by microOn
enough information now? I hope so, need help on this
Re: Where is my template?
Posted: Mon Sep 04, 2006 4:10 pm
by tsw
Please spare colours..
Firstly the template is there (if there is no template there would be a big smarty error) css however isnt there.
http://student.umb.no/~disko/stylesheet ... mplateid=4 gives nice blank stylesheet. this link tells me that you have tempate id 4 selected for pages.
set debug on in config.php. check server logs.
most likely you have some security setting and show errors off and only place you can see any real information is in server logs...
Re: Where is my template?
Posted: Mon Sep 04, 2006 6:13 pm
by microOn
Here is the $config['debug'] = true; in config.php
Debug:
loading smarty
Debug:
loading adodb
Debug:
loading page functions
Debug:
loading content functions
Debug:
loading pageinfo functions
Debug:
done loading files
Debug:
(postgres7): SELECT * FROM cms_userplugins - Error (0):
Debug:
(postgres7): SELECT sitepref_name, sitepref_value from cms_siteprefs - Error (0):
Debug:
(postgres7): SELECT * FROM cms_modules ORDER BY module_name - Error (0):
Debug:
(postgres7): SELECT content_id FROM cms_content WHERE default_content = 1 - Error (0):
Debug:
(postgres7): SELECT c.content_id, c.content_name, c.content_alias, c.menu_text, c.hierarchy, c.metadata, c.id_hierarchy, c.prop_names, c.modified_date AS c_date, c.cachable, t.template_id, t.encoding, t.modified_date AS t_date FROM cms_templates t INNER JOIN cms_content c ON c.template_id = t.template_id WHERE (c.content_alias = '15' OR c.content_id = '15') AND c.active = 1 - Error (0):
Debug:
(postgres7): SELECT MAX(modified_date) AS thedate FROM cms_content c - Error (0):
Debug:
(postgres7): SELECT template_id, template_name, template_content, stylesheet, encoding, active, default_template, modified_date FROM cms_templates WHERE template_id = '4' - Error (0):
Debug:
(postgres7): SELECT DISTINCT media_type FROM cms_css c, cms_css_assoc
WHERE css_id = assoc_css_id
AND assoc_type = 'template'
AND assoc_to_id = '4' - Error (0):
Debug:
(postgres7): SELECT parent_id, count(*) as cpt FROM
cms_content GROUP BY parent_id - Error (0):
Debug:
(postgres7): SELECT * FROM cms_content
ORDER BY hierarchy - Error (0):
Debug:
Serializing...
Debug:
start global_content_get_template
Debug:
(postgres7): SELECT htmlblob_id, htmlblob_name, html, owner, modified_date FROM cms_htmlblobs WHERE htmlblob_name = 'JavaScript for IE page width' - Error (0):
Debug:
end global_content_get_template
Debug:
start global_content_get_timestamp
Debug:
end global_content_get_timestamp
Debug:
Number of elements: 2
Array
(
[0] => content_en
[1] => block1
)
Debug:
Number of elements: 1
Array
(
[0] => content_en
)
Debug:
Number of elements: 2
Array
(
[0] => content_en
[1] => block1
)
Debug:
Number of elements: 1
Array
(
[0] => content_en
)
Debug:
Number of elements: 2
Array
(
[0] => content_en
[1] => block1
)
Debug:
load properties called
Debug:
(postgres7): SELECT * FROM cms_content_props WHERE content_id = '15' - Error (0):
Debug:
Number of elements: 2
Array
(
[0] => content_en
[1] => block1
)
Debug:
load properties called
Debug:
(postgres7): SELECT * FROM cms_content_props WHERE content_id = '15' - Error (0):
Debug:
start global_content_get_template
Debug:
(postgres7): SELECT htmlblob_id, htmlblob_name, html, owner, modified_date FROM cms_htmlblobs WHERE htmlblob_name = 'footer' - Error (0):
Debug:
end global_content_get_template
Debug:
start global_content_get_timestamp
Debug:
end global_content_get_timestamp
Re: Where is my template?
Posted: Mon Sep 04, 2006 7:18 pm
by tsw
that debug log tells us there are no erros from cmsms
what does
SELECT DISTINCT media_type FROM cms_css c, cms_css_assoc
WHERE css_id = assoc_css_id
AND assoc_type = 'template'
AND assoc_to_id = '4'
give (when run from sql).
was there anything in server logs?
Re: Where is my template?
Posted: Mon Sep 04, 2006 9:43 pm
by microOn
I have send a helpdesk message to the admin. I'll get a answer soon. PS: it woud be nice if users got a mail when some one reply a thread.
Re: Where is my template?
Posted: Tue Sep 05, 2006 2:42 am
by Dr.CSS
When you post a thread there is an Additional Options under the textarea box that has an option to "Notify me of replies".
Re: Where is my template?
Posted: Mon Sep 18, 2006 10:43 am
by microOn
I got this from system admin:
disko=# SELECT DISTINCT media_type FROM cms_css c, cms_css_assoc
disko-# WHERE css_id = assoc_css_id
disko-# AND assoc_type = 'template'
disko-# AND assoc_to_id = '4'
disko-# ;
media_type
------------
(1 row)
Nothing in serverlogs.
Link to my page is
http://student.umb.no/~disko/index.php You can still see that the page don't show any template. Any idea?
Re: Where is my template?
Posted: Mon Sep 18, 2006 12:45 pm
by tsw
that page does show a template (if there isnt any template there wont be any text!) it doesnt show any css. check that your template has css styles associated.
Re: Where is my template?
Posted: Mon Sep 18, 2006 1:50 pm
by microOn
Okay, but where in the adminpanel are the css ? I'm not so good at this..
Re: Where is my template?
Posted: Mon Sep 18, 2006 3:40 pm
by Dr.CSS
Go to Layout » Templates and on the right side is a little img. that says CSS, kinda orangish, click that and it shows which style sheets are attached to the template.
If none are attached use the drop down to find and attach them.
Re: Where is my template?
Posted: Fri Sep 22, 2006 5:05 pm
by microOn
problem solved with cmsmadesimple-1.0.2
