Urgent*! Smarty Error after Install

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
Vipii
New Member
New Member
Posts: 4
Joined: Thu Jul 31, 2014 7:25 am

Urgent*! Smarty Error after Install

Post by Vipii »

Hello everyone,


A few days ago I installed a fresh install of CMS MS latest version. ( 1.10.11 )

Now when I want to add a page and add a smarty code my site gives me a error only on that page and it takes forever to load.

Error: http://grab.by/z3j8

And the only thing I have on that page is {News}

Urgent topic becuase I have a short deadline for the website.
chandra

Re: Urgent*! Smarty Error after Install

Post by chandra »

Activate debug option in config.php - could be helpful to find out the time eater.
Vipii
New Member
New Member
Posts: 4
Joined: Thu Jul 31, 2014 7:25 am

Re: Urgent*! Smarty Error after Install

Post by Vipii »

Debug: (1.6E-5) - (usage: 1342312) - (peak: 1351856) done loading required files
Debug: (0.000246) - (usage: 1357376) - (peak: 1383704) loading adodb
Debug: (0.001172) - (usage: 1513520) - (peak: 1573752) loading page functions
Debug: (0.002506) - (usage: 1748856) - (peak: 1878008) loading content functions
Debug: (0.002712) - (usage: 1763832) - (peak: 1878008) loading translation functions
Debug: (0.002947) - (usage: 1784144) - (peak: 1878008) loading php4 entity decode functions
Debug: (0.004013) - (usage: 2147328) - (peak: 2460264) done loading files
Debug: (0.004058) - (usage: 2147768) - (peak: 2460264) Initialize Database
Debug: (0.008917) - (usage: 3249760) - (peak: 3249760) (mysqli): SET NAMES 'utf8'
Debug: (0.008972) - (usage: 3250000) - (peak: 3291016) Done Initializing Database
Debug: (0.009158) - (usage: 3250776) - (peak: 3291432) (mysqli): SELECT version from cms_version LIMIT 1
Debug: (0.009235) - (usage: 3251160) - (peak: 3292000) Initialize Smarty
Debug: (0.018686) - (usage: 5248176) - (peak: 5248176) Loading /var/www/web156/web/2014/lib/classes/class.Smarty_CMS.php = 1993032 bytes for an approximate total of 1993032
Debug: (0.019397) - (usage: 5368704) - (peak: 5368704) Loading /var/www/web156/web/2014/lib/classes/class.CMSModuleDbTemplateResource.php = 96896 bytes for an approximate total of 2089928
Debug: (0.019804) - (usage: 5428904) - (peak: 5442712) Loading /var/www/web156/web/2014/lib/classes/class.CMSPageTemplateResource.php = 53712 bytes for an approximate total of 2143640
Debug: (0.020333) - (usage: 5505152) - (peak: 5527536) Loading /var/www/web156/web/2014/lib/classes/class.usertagoperations.inc.php = 71168 bytes for an approximate total of 2214808
Debug: (0.020558) - (usage: 5509376) - (peak: 5546656) (mysqli): SELECT * FROM cms_userplugins ORDER BY userplugin_name
Debug: (0.020928) - (usage: 5547736) - (peak: 5566072) Loading /var/www/web156/web/2014/lib/classes/class.cms_siteprefs.php = 32200 bytes for an approximate total of 2247008
Debug: (0.021224) - (usage: 5551336) - (peak: 5589768) (mysqli): SELECT sitepref_name,sitepref_value FROM cms_siteprefs
Debug: (0.022063) - (usage: 5706088) - (peak: 5720152) Loading /var/www/web156/web/2014/lib/classes/class.CMSNullTemplateResource.php = 15432 bytes for an approximate total of 2262440
Debug: (0.022128) - (usage: 5706560) - (peak: 5747576) Done Initialiing Smarty
Debug display of 'Loading Modules':(0.022239) - (usage: 5708464) - (peak: 5747736)
Debug: (0.026415) - (usage: 6084968) - (peak: 6104688) Loading /var/www/web156/web/2014/lib/classes/class.moduleoperations.inc.php = 374632 bytes for an approximate total of 2637072
Debug: (0.026635) - (usage: 6089248) - (peak: 6126336) (mysqli): SELECT * FROM cms_modules ORDER BY module_name
Debug: (0.026919) - (usage: 6107584) - (peak: 6130352) loading module CMSMailer
Debug: (0.035422) - (usage: 7097264) - (peak: 7116448) Loading /var/www/web156/web/2014/lib/classes/class.CMSModule.php = 726616 bytes for an approximate total of 3363688
Debug: (0.044489) - (usage: 7259688) - (peak: 7330712) Loading /var/www/web156/web/2014/lib/classes/class.CmsLangOperations.php = 75344 bytes for an approximate total of 3439032
Debug: (0.045324) - (usage: 7368488) - (peak: 7386008) Loading /var/www/web156/web/2014/lib/classes/class.CmsNlsOperations.php = 104776 bytes for an approximate total of 3543808
Debug: (0.046146) - (usage: 7438336) - (peak: 7467144) Loading /var/www/web156/web/2014/lib/classes/class.CmsNls.php = 51448 bytes for an approximate total of 3595256
Debug: (0.061221) - (usage: 7672048) - (peak: 7692104) Loading /var/www/web156/web/2014/lib/classes/class.cms_userprefs.php = 53392 bytes for an approximate total of 3648648
Debug: (0.061536) - (usage: 7679760) - (peak: 7714256) (mysqli): SELECT preference,value FROM cms_userprefs WHERE user_id = '1'
Debug: (0.067242) - (usage: 8177912) - (peak: 8899552) loading module FileManager
Debug: (0.068785) - (usage: 8436104) - (peak: 8899552) loading module Gallery
Debug: (0.087211) - (usage: 8776264) - (peak: 8899552) loading module MenuManager
Debug display of 'End of Loading Modules':(0.089581) - (usage: 9046864) - (peak: 9060056)
Debug: (0.10056) - (usage: 9087776) - (peak: 9105704) Loading /var/www/web156/web/2014/lib/classes/class.CmsRegularTaskHandler.php = 40424 bytes for an approximate total of 3689072
Debug: (0.118222) - (usage: 9755176) - (peak: 10050864) Loading /var/www/web156/web/2014/lib/classes/class.CmsAdminThemeBase.php = 515944 bytes for an approximate total of 4205016
Debug: (0.135968) - (usage: 11517344) - (peak: 11529744) Loading /var/www/web156/web/2014/lib/classes/class.contentoperations.inc.php = 337752 bytes for an approximate total of 4542768
Debug: (0.136625) - (usage: 11588976) - (peak: 11616520) Loading /var/www/web156/web/2014/lib/classes/class.module_meta.php = 55680 bytes for an approximate total of 4598448
Debug: (0.137982) - (usage: 11736728) - (peak: 11754600) Loading /var/www/web156/web/2014/lib/classes/class.useroperations.inc.php = 131024 bytes for an approximate total of 4729472
Debug: (0.138325) - (usage: 11743056) - (peak: 11778056) (mysqli): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1 LIMIT 1
Debug: (0.138823) - (usage: 11791568) - (peak: 11811088) Loading /var/www/web156/web/2014/lib/classes/class.cms_content_cache.php = 46704 bytes for an approximate total of 4776176
Debug: (0.139076) - (usage: 11793552) - (peak: 11832896) (mysqli): SELECT * FROM cms_content WHERE content_id = '75' LIMIT 1
Debug: (0.143986) - (usage: 12629952) - (peak: 12697072) Loading /var/www/web156/web/2014/lib/classes/class.ContentBase.php = 640520 bytes for an approximate total of 5416696
Debug: (0.144127) - (usage: 12690312) - (peak: 12697072) Loading /var/www/web156/web/2014/lib/classes/contenttypes/Content.inc.php = 885480 bytes for an approximate total of 6302176
Debug: (0.144838) - (usage: 12787848) - (peak: 12826704) Loading /var/www/web156/web/2014/lib/classes/class.cms_utils.php = 64152 bytes for an approximate total of 6366328
Debug: (0.145409) - (usage: 12912312) - (peak: 12924168) Loading /var/www/web156/web/2014/modules/MicroTiny/MicroTiny.module.php = 116176 bytes for an approximate total of 6482504
Debug: (0.146653) - (usage: 13092112) - (peak: 13180112) before theme load
Debug: (0.147755) - (usage: 13212640) - (peak: 13223608) after theme load
Debug: (0.147833) - (usage: 13213272) - (peak: 13254032) before notifications
Debug: (0.148275) - (usage: 13192456) - (peak: 13254584) (mysqli): SELECT DISTINCT permission_name FROM cms_user_groups ug INNER JOIN cms_group_perms gp ON gp.group_id = ug.group_id INNER JOIN cms_permissions p ON p.permission_id = gp.permission_id INNER JOIN cms_groups gr ON gr.group_id = ug.group_id WHERE ug.user_id = '1' AND gr.active = 1
Debug: (0.149973) - (usage: 13497296) - (peak: 13512216) Loading /var/www/web156/web/2014/lib/classes/class.Smarty_Parser.php = 301224 bytes for an approximate total of 6783728
Debug: (0.151714) - (usage: 13704112) - (peak: 13723752) Loading /var/www/web156/web/2014/lib/classes/class.templateoperations.inc.php = 164728 bytes for an approximate total of 6948456
Debug: (0.151986) - (usage: 13710200) - (peak: 13745936) (mysqli): SELECT template_id, template_name, template_content, stylesheet, encoding, active, default_template, modified_date
FROM cms_templates WHERE template_id = '32' LIMIT 1
Debug display of 'Start Load Smarty Plugin process_pagedata/function':(0.171508) - (usage: 17953824) - (peak: 17953824)
Debug display of 'Start Load Smarty Plugin process_pagedata/block':(0.171628) - (usage: 17953992) - (peak: 17995008)
Debug display of 'Start Load Smarty Plugin sitename/function':(0.172794) - (usage: 17961360) - (peak: 17995008)
Debug display of 'Start Load Smarty Plugin sitename/block':(0.1731) - (usage: 17966720) - (peak: 18002512)
Debug display of 'Start Load Smarty Plugin title/function':(0.174215) - (usage: 17972320) - (peak: 18007872)
Debug display of 'Start Load Smarty Plugin title/block':(0.174549) - (usage: 17981384) - (peak: 18013336)
Debug display of 'Start Load Smarty Plugin metadata/function':(0.175655) - (usage: 17987448) - (peak: 18022576)
Debug display of 'Start Load Smarty Plugin metadata/block':(0.176041) - (usage: 18003072) - (peak: 18036248)
Debug display of 'Start Load Smarty Plugin cms_stylesheet/function':(0.177174) - (usage: 18010472) - (peak: 18044448)
Debug display of 'End Load Smarty Plugin cms_stylesheet/function':(0.178296) - (usage: 18107616) - (peak: 18186024)
Debug: (0.183596) - (usage: 18397984) - (peak: 18496024) Loading /var/www/web156/web/2014/lib/classes/class.CMS_Content_Block.php = 167472 bytes for an approximate total of 7115928
Debug: (0.189584) - (usage: 18489024) - (peak: 18496024) start global_content_get_template
Debug: (0.191077) - (usage: 18627648) - (peak: 18644016) Loading /var/www/web156/web/2014/lib/classes/class.globalcontentoperations.inc.php = 137896 bytes for an approximate total of 7253824
Debug: (0.191488) - (usage: 18629832) - (peak: 18669488) (mysqli): SELECT htmlblob_id, htmlblob_name, html, owner, use_wysiwyg, description, modified_date FROM cms_htmlblobs WHERE htmlblob_name = 'header2' LIMIT 1
Debug: (0.191771) - (usage: 18634264) - (peak: 18672120) end global_content_get_template
Debug display of 'Start Load Smarty Plugin cms_selflink/function':(0.19335) - (usage: 18663064) - (peak: 18675280)
Debug display of 'Start Load Smarty Plugin cms_selflink/block':(0.194631) - (usage: 18785928) - (peak: 18820520)
Debug display of 'Start Loading Hierarchy Manager':(0.196894) - (usage: 18837768) - (peak: 18837768)
Debug display of 'starting tree':(0.196952) - (usage: 18837768) - (peak: 18878784)
Debug: (0.19723) - (usage: 18837768) - (peak: 18878784) (mysqli): SELECT modified_date FROM cms_content ORDER BY modified_date DESC LIMIT 1
Debug: (0.197368) - (usage: 18837992) - (peak: 18879008) Content tree file needs loading
Debug: (0.198321) - (usage: 18972080) - (peak: 18993816) Loading /var/www/web156/web/2014/lib/classes/class.cms_tree.php = 54816 bytes for an approximate total of 7308640
Debug: (0.198383) - (usage: 18975704) - (peak: 19013432) Loading /var/www/web156/web/2014/lib/classes/class.cms_content_tree.php = 122128 bytes for an approximate total of 7430768
Debug display of 'ending tree':(0.198493) - (usage: 18976272) - (peak: 19017072)
Debug display of 'End Loading Hierarchy Manager':(0.198531) - (usage: 18973120) - (peak: 19017704)
Debug: (0.198803) - (usage: 18976960) - (peak: 19017704) (mysqli): SELECT * FROM cms_content FORCE INDEX (cms_index_content_by_idhier) WHERE content_id IN (15,57,61,74) AND active = 1 ORDER BY hierarchy
Debug: (0.199765) - (usage: 19093680) - (peak: 19134432) start global_content_get_template
Debug: (0.199983) - (usage: 19094616) - (peak: 19134872) (mysqli): SELECT htmlblob_id, htmlblob_name, html, owner, use_wysiwyg, description, modified_date FROM cms_htmlblobs WHERE htmlblob_name = 'footer' LIMIT 1
Debug: (0.200111) - (usage: 19096544) - (peak: 19136208) end global_content_get_template
Debug: (0.201201) - (usage: 19083424) - (peak: 19162840) get all content...
Debug: (0.20155) - (usage: 19085368) - (peak: 19162840) (mysqli): SELECT * FROM cms_content FORCE INDEX (cms_index_content_by_idhier) WHERE active = 1 AND content_id NOT IN (75,15,57,61,74)
Debug: (0.202852) - (usage: 19442040) - (peak: 19453888) Loading /var/www/web156/web/2014/lib/classes/contenttypes/SectionHeader.inc.php = 84304 bytes for an approximate total of 7515072
Debug: (0.204748) - (usage: 19756776) - (peak: 19756776) end get all content...
Debug: (0.205673) - (usage: 19756512) - (peak: 19798352) (mysqli): SELECT * FROM cms_content_props WHERE content_id = '75'
Debug: (0.206775) - (usage: 19895128) - (peak: 19971760) Loading /var/www/web156/web/2014/modules/MicroTiny/lib/class.microtiny_utils.php = 136696 bytes for an approximate total of 7651768
Debug: (0.20781) - (usage: 19914120) - (peak: 19971760) (mysqli): SELECT template_id, template_name, template_content, stylesheet, encoding, active, default_template, modified_date FROM cms_templates ORDER BY template_name
Debug: (0.20946) - (usage: 19964856) - (peak: 19971760) (mysqli): SELECT user_id, username, password, first_name, last_name, email, active, admin_access FROM cms_users ORDER BY username
Debug: (0.209757) - (usage: 19968616) - (peak: 20006704) (mysqli): SELECT user_id FROM cms_additional_users WHERE content_id = '75'
Debug: (0.210334) - (usage: 20023520) - (peak: 20045056) Loading /var/www/web156/web/2014/lib/classes/class.groupoperations.inc.php = 54520 bytes for an approximate total of 7706288
Debug: (0.210524) - (usage: 20024408) - (peak: 20064536) (mysqli): SELECT user_id, username, password, first_name, last_name, email, active, admin_access FROM cms_users ORDER BY username
Debug: (0.210737) - (usage: 20026488) - (peak: 20065784) (mysqli): SELECT group_id, group_name, active FROM cms_groups ORDER BY group_id
Debug: (0.211111) - (usage: 20030056) - (peak: 20067592) (mysqli): SELECT username, password, active, first_name, last_name, admin_access, email FROM cms_users WHERE user_id = '1'
Debug: (0.211304) - (usage: 20030464) - (peak: 20071336) before populate admin navigation
Debug: (0.211347) - (usage: 20030464) - (peak: 20071480) before menu items
Debug: (0.212214) - (usage: 20045088) - (peak: 20071480) (mysqli): SELECT htmlblob_id FROM cms_htmlblobs WHERE owner = '1'
Debug: (0.212452) - (usage: 20045256) - (peak: 20086104) (mysqli): SELECT htmlblob_id FROM cms_additional_htmlblob_users WHERE user_id = '1'
Debug: (0.212706) - (usage: 20045736) - (peak: 20086496) (mysqli): SELECT group_id FROM cms_user_groups WHERE user_id = '1'
Debug: (0.21292) - (usage: 20045848) - (peak: 20086752) (mysqli): SELECT htmlblob_id FROM cms_additional_htmlblob_users WHERE user_id IN (-1)
Debug: (0.213199) - (usage: 20046216) - (peak: 20087088) (mysqli): SELECT content_id FROM cms_content WHERE owner_id = '1'
Debug: (0.213462) - (usage: 20048496) - (peak: 20087440) (mysqli): SELECT user_id,content_id FROM cms_additional_users
Debug: (0.215511) - (usage: 20098264) - (peak: 20098352) after menu items
Debug: (0.215795) - (usage: 20151256) - (peak: 20151344) before syste modules
Debug: (0.21605) - (usage: 20151712) - (peak: 20192360) before module menu items
Debug: (0.216253) - (usage: 20151984) - (peak: 20192832) after module menu items
Debug: (0.217795) - (usage: 20231680) - (peak: 20231680) after populate admin navigation
chandra

Re: Urgent*! Smarty Error after Install

Post by chandra »

Could you add system information from website admin?
pete290
Forum Members
Forum Members
Posts: 54
Joined: Sat Aug 22, 2009 5:55 pm

Re: Urgent*! Smarty Error after Install

Post by pete290 »

you may want to check your php version
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Urgent*! Smarty Error after Install

Post by velden »

Are you asking for commercial help or not?
If not the topic will be moved to proper board.
Vipii
New Member
New Member
Posts: 4
Joined: Thu Jul 31, 2014 7:25 am

Re: Urgent*! Smarty Error after Install

Post by Vipii »

velden wrote:Are you asking for commercial help or not?
If not the topic will be moved to proper board.
You may move it to a proper board.
I had one there, but they deleted it and this one stayed.

System Information:

----------------------------------------------
Cms Version: 1.11.10
Installed Modules:
CMSMailer: 5.2.2
CMSPrinting: 1.0.5
FileManager: 1.4.4
MenuManager: 1.8.6
MicroTiny: 1.2.6
ModuleManager: 1.5.5
News: 2.14.2
Search: 1.7.11
ThemeManager: 1.1.8
Gallery: 1.6.1

Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 50000000
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

Php Information:
phpversion: 5.2.4-2ubuntu5.27
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
memory_limit: 128M
max_execution_time: 30
output_buffering: On
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 50M
upload_max_filesize: 50M
session_save_path: /var/lib/php5 (1733)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)

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

----------------------------------------------
applejack
Power Poster
Power Poster
Posts: 1014
Joined: Fri Mar 30, 2007 2:28 am

Re: Urgent*! Smarty Error after Install

Post by applejack »

Because you are running PHP 5.2 needs to be 5.3.x
Vipii
New Member
New Member
Posts: 4
Joined: Thu Jul 31, 2014 7:25 am

Re: Urgent*! Smarty Error after Install

Post by Vipii »

applejack wrote:Because you are running PHP 5.2 needs to be 5.3.x
So upgrading to 5.3.x will solve this problem?
applejack
Power Poster
Power Poster
Posts: 1014
Joined: Fri Mar 30, 2007 2:28 am

Re: Urgent*! Smarty Error after Install

Post by applejack »

More than likely, so if it does please make a donation to CMS made simple as this is on the commercial board.

I seem to remember 5.3.5 is the minimum if you can use 5.4+
Post Reply

Return to “The Lounge”