Modules don't show in admin, Front end messed up
Modules don't show in admin, Front end messed up
Hi.
I connected to my FTP and changed the permissions for my Modules directory to 777 to be able to upgrade the modules but it broke the site and I can no longer see the modules on the back end.
I changed the permissions back to what it was but nothing changed.
All the modules exit in the folder when I connect to ftp. I also made a backup of the whole site and I copied all the modules again but no change.
I can access admin but the front end only shows the logo and some text.
Please help!
I connected to my FTP and changed the permissions for my Modules directory to 777 to be able to upgrade the modules but it broke the site and I can no longer see the modules on the back end.
I changed the permissions back to what it was but nothing changed.
All the modules exit in the folder when I connect to ftp. I also made a backup of the whole site and I copied all the modules again but no change.
I can access admin but the front end only shows the logo and some text.
Please help!
Re: Modules don't show in admin, Front end messed up
I can't see how simply changing "permissions for my Modules directory to 777" would break the site.
First try CMSMS Clear Cache: Site Admin -> System Maintenance -> Cache and content -> Clear Cache.
First try CMSMS Clear Cache: Site Admin -> System Maintenance -> Cache and content -> Clear Cache.
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation
CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
https://docs.cmsmadesimple.org/troubles ... nformation
CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
Re: Modules don't show in admin, Front end messed up
Here's what it give me:
Error: at line 702 in file /home/peimarathon/public_html/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:
Syntax Error in template "tpl_body:23" on line 62 "</div>{Showtime show='1'}" unknown tag "Showtime"
#0 /home/peimarathon/public_html/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php(488): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "Sh...', 62)
#1 /home/peimarathon/public_html/lib/smarty/sysplugins/smarty_internal_templateparser.php(2388): Smarty_Internal_TemplateCompilerBase->compileTag('Showtime', Array)
#2 /home/peimarathon/public_html/lib/smarty/sysplugins/smarty_internal_templateparser.php(3101): Smarty_Internal_Templateparser->yy_r36()
#3 /home/peimarathon/public_html/lib/smarty/sysplugins/smarty_internal_templateparser.php(3201): Smarty_Internal_Templateparser->yy_reduce(36)
#4 /home/peimarathon/public_html/lib/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(10, '?? <d...')
#5 /home/peimarathon/public_html/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php(192): Smarty_Internal_SmartyTemplateCompiler->doCompile('????</__body> ...')
#6 /home/peimarathon/public_html/lib/smarty/sysplugins/smarty_internal_template.php(187): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(Smarty_Internal_Template))
#7 /home/peimarathon/public_html/lib/smarty/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource()
#8 /home/peimarathon/public_html/lib/classes/class.Smarty_CMS.php(324): Smarty_Internal_TemplateBase->fetch('tpl_body:23', 'p15', NULL, NULL, false, false, false)
#9 /home/peimarathon/public_html/index.php(236): Smarty_CMS->fetch('tpl_body:23')
#10 {main}
But I cannot see the error in the file when I locate it.
I truly appreciate it f you could help me fix this.
Error: at line 702 in file /home/peimarathon/public_html/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:
Syntax Error in template "tpl_body:23" on line 62 "</div>{Showtime show='1'}" unknown tag "Showtime"
#0 /home/peimarathon/public_html/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php(488): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "Sh...', 62)
#1 /home/peimarathon/public_html/lib/smarty/sysplugins/smarty_internal_templateparser.php(2388): Smarty_Internal_TemplateCompilerBase->compileTag('Showtime', Array)
#2 /home/peimarathon/public_html/lib/smarty/sysplugins/smarty_internal_templateparser.php(3101): Smarty_Internal_Templateparser->yy_r36()
#3 /home/peimarathon/public_html/lib/smarty/sysplugins/smarty_internal_templateparser.php(3201): Smarty_Internal_Templateparser->yy_reduce(36)
#4 /home/peimarathon/public_html/lib/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(10, '?? <d...')
#5 /home/peimarathon/public_html/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php(192): Smarty_Internal_SmartyTemplateCompiler->doCompile('????</__body> ...')
#6 /home/peimarathon/public_html/lib/smarty/sysplugins/smarty_internal_template.php(187): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(Smarty_Internal_Template))
#7 /home/peimarathon/public_html/lib/smarty/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource()
#8 /home/peimarathon/public_html/lib/classes/class.Smarty_CMS.php(324): Smarty_Internal_TemplateBase->fetch('tpl_body:23', 'p15', NULL, NULL, false, false, false)
#9 /home/peimarathon/public_html/index.php(236): Smarty_CMS->fetch('tpl_body:23')
#10 {main}
But I cannot see the error in the file when I locate it.
I truly appreciate it f you could help me fix this.
Re: Modules don't show in admin, Front end messed up
Edit the template in question and change
to
This makes the line a comment so it won't try to run Showtime module.
What happens then?
Also post your system information, see my signature below.
Code: Select all
{Showtime show='1'}
Code: Select all
{* Showtime show='1' *}
What happens then?
Also post your system information, see my signature below.
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation
CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
https://docs.cmsmadesimple.org/troubles ... nformation
CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
Re: Modules don't show in admin, Front end messed up
When I disabled it the way you described, The site is back but the problem is I don't have module Manager under extensions anymore and when I click modules, it's empty!
Thanks for your help!
Thanks for your help!
Re: Modules don't show in admin, Front end messed up
----------------------------------------------
Cms Version: 1.11.12
Installed Modules:
CMSMailer: 5.2.1
FileManager: 1.4.3
MenuManager: 1.8.5
ModuleManager: 1.5.5
NMS: 2.7
Printing: 1.1.2
Search: 1.7.8
ThemeManager: 1.1.8
GoogleMaps: 0.2.0
Dictionary: 0.4.2
CGExtensions: 1.36
Album: 1.10-beta2
Showtime: 3.2
CMSPrinting: 1.0.4
News: 2.12.12
MicroTiny: 1.2.5
CGJobMgr: 1.2.15
TinyMCE: 2.9.12
Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 128000000
url_rewriting: internal
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.3.29
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 128M
max_execution_time: 30
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 128M
upload_max_filesize: 128M
session_save_path: No check because open basedir active
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.92
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No filesystem time difference found
----------------------------------------------
Cms Version: 1.11.12
Installed Modules:
CMSMailer: 5.2.1
FileManager: 1.4.3
MenuManager: 1.8.5
ModuleManager: 1.5.5
NMS: 2.7
Printing: 1.1.2
Search: 1.7.8
ThemeManager: 1.1.8
GoogleMaps: 0.2.0
Dictionary: 0.4.2
CGExtensions: 1.36
Album: 1.10-beta2
Showtime: 3.2
CMSPrinting: 1.0.4
News: 2.12.12
MicroTiny: 1.2.5
CGJobMgr: 1.2.15
TinyMCE: 2.9.12
Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 128000000
url_rewriting: internal
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.3.29
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 128M
max_execution_time: 30
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 128M
upload_max_filesize: 128M
session_save_path: No check because open basedir active
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.92
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No filesystem time difference found
----------------------------------------------
Re: Modules don't show in admin, Front end messed up
OK.
paulbaker wrote:Also post your system information, see my signature below.
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation
CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
https://docs.cmsmadesimple.org/troubles ... nformation
CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
Re: Modules don't show in admin, Front end messed up
Thanks I posted it after the first reply. Sorry for the delay.
As you see all the modules don't work, Even the site doesn't have the navigation menu.
As you see all the modules don't work, Even the site doesn't have the navigation menu.
Re: Modules don't show in admin, Front end messed up
CGExtensions requires PHP 5.4 and you are running 5.3. I think this is why everything messed up when you tried to upgrade.
If you didn't take a backup before you started all this, get one now (files and database). Then get your PHP version changed to 5.4 and then try to upgrade again.
If you didn't take a backup before you started all this, get one now (files and database). Then get your PHP version changed to 5.4 and then try to upgrade again.
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation
CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
https://docs.cmsmadesimple.org/troubles ... nformation
CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
Re: Modules don't show in admin, Front end messed up
Ok. I am making another full backup of the files and the Database to keep the current state of the site but I don't know how to upgrade to PHP 5.4. should I ask my host?
Re: Modules don't show in admin, Front end messed up
Yes the host will be able to change PHP version for you.
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation
CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
https://docs.cmsmadesimple.org/troubles ... nformation
CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016