Hi all,
Our website has been off the air for 24 hours and I've asked our web hosting company to restore it, but I'm not sure if it's their issue or mine.
We haven't done anything to the website - nobody has been logged in, it just decided to go ape...
I cannot get in the front end nor to the admin section so I can't give you a nice list of all the modules that are installed. The only info I have access to is through cpanel
The website is running quite old templates, but I've kept the site up to date and it's currently running version 1.10.3.
The error_log shows this:
16-Aug-2012 22:27:23] PHP Fatal error: Call to a member function Name() on a non-object in /home/xxxxxxxx/public_html/modules/Printing/action.output.php on line 36
[16-Aug-2012 22:27:25] PHP Fatal error: Call to a member function Name() on a non-object in /home/xxxxxxxx/public_html/modules/Printing/action.output.php on line 36
[16-Aug-2012 22:27:50] PHP Fatal error: Call to a member function Name() on a non-object in /home/xxxxxxxx/public_html/modules/Printing/action.output.php on line 36
[17-Aug-2012 13:50:14] PHP Fatal error: Call to undefined function cms_user_tag_favicon() in /home/xxxxxxxx/public_html/tmp/templates_c/%%35^350^3509D670%%tpl_head%3A16.php on line 9
[17-Aug-2012 13:50:19] PHP Fatal error: Call to undefined function cms_user_tag_favicon() in /home/xxxxxxxx/public_html/tmp/templates_c/%%35^350^3509D670%%tpl_head%3A16.php on line 9
[17-Aug-2012 13:50:27] PHP Fatal error: Call to undefined function cms_user_tag_favicon() in /home/xxxxxxxx/public_html/tmp/templates_c/%%35^350^3509D670%%tpl_head%3A16.php on line 9
Any help would be much appreciated!
Felix
[Solved] 500 Internal Server Error
[Solved] 500 Internal Server Error
Last edited by Felix on Tue Aug 21, 2012 8:22 am, edited 1 time in total.
Re: 500 Internal Server Error
You could try to rename the directory of the Printing module in root/modules/
That way you disable the Printing module and hopefully it reduces some errors.
That way you disable the Printing module and hopefully it reduces some errors.
Re: 500 Internal Server Error
Check the serverpaths in your config.php. Perhaps something changed...
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: 500 Internal Server Error
Hi Rolf,
Config.php paths all look ok to me.
# CMS Made Simple Configuration File
# Documentation: /doc/CMSMS_config_reference.pdf
#
$config['php_memory_limit'] = '';
$config['process_whole_template'] = false;
$config['debug'] = true;
$config['output_compression'] = false;
$config['timezone'] = 'Australia/Melbourne';
$config['dbms'] = 'mysql';
$config['db_hostname'] = 'localhost';
$config['db_username'] = 'xxxxxxxx_yyyuser';
$config['db_password'] = 'yyyyyyyyy';
$config['db_name'] = 'xxxxxxxx_cms';
$config['db_port'] = 0;
$config['db_prefix'] = 'cms_';
$config['persistent_db_conn'] = '';
$config['use_adodb_lite'] = true;
$config['root_url'] = 'http://www.websitename.com.au';
$config['ssl_url'] = 'https://www.websitename.com.au';
$config['root_path'] = '/home/xxxxxxxx/public_html';
$config['admin_dir'] = 'admin';
$config['previews_path'] = '/home/xxxxxxxx/public_html/tmp/cache';
$config['uploads_path'] = '/home/xxxxxxxx/public_html/uploads';
$config['uploads_url'] = 'http://www.websitename.com.au/uploads';
$config['max_upload_size'] = 20000000;
$config['default_upload_permission'] = '664';
$config['use_smarty_php_tags'] = false;
$config['auto_alias_content'] = true;
$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '';
$config['query_var'] = 'page';
$config['image_manipulation_prog'] = 'GD';
$config['image_transform_lib_path'] = '/usr/bin/ImageMagick/';
$config['image_uploads_path'] = '/home/xxxxxxxx/public_html/uploads/images';
$config['image_uploads_url'] = 'http://www.websitename.com.au/uploads/images';
$config['ssl_uploads_url'] = '/uploads';
$config['locale'] = '';
$config['default_encoding'] = 'utf-8';
$config['admin_encoding'] = 'utf-8';
$config['set_names'] = true;
$config['wiki_url'] = 'http://wiki.cmsmadesimple.org/index.php ... dmin_Panel';
Thanks for the idea!
Cheers,
Felix
Config.php paths all look ok to me.
# CMS Made Simple Configuration File
# Documentation: /doc/CMSMS_config_reference.pdf
#
$config['php_memory_limit'] = '';
$config['process_whole_template'] = false;
$config['debug'] = true;
$config['output_compression'] = false;
$config['timezone'] = 'Australia/Melbourne';
$config['dbms'] = 'mysql';
$config['db_hostname'] = 'localhost';
$config['db_username'] = 'xxxxxxxx_yyyuser';
$config['db_password'] = 'yyyyyyyyy';
$config['db_name'] = 'xxxxxxxx_cms';
$config['db_port'] = 0;
$config['db_prefix'] = 'cms_';
$config['persistent_db_conn'] = '';
$config['use_adodb_lite'] = true;
$config['root_url'] = 'http://www.websitename.com.au';
$config['ssl_url'] = 'https://www.websitename.com.au';
$config['root_path'] = '/home/xxxxxxxx/public_html';
$config['admin_dir'] = 'admin';
$config['previews_path'] = '/home/xxxxxxxx/public_html/tmp/cache';
$config['uploads_path'] = '/home/xxxxxxxx/public_html/uploads';
$config['uploads_url'] = 'http://www.websitename.com.au/uploads';
$config['max_upload_size'] = 20000000;
$config['default_upload_permission'] = '664';
$config['use_smarty_php_tags'] = false;
$config['auto_alias_content'] = true;
$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '';
$config['query_var'] = 'page';
$config['image_manipulation_prog'] = 'GD';
$config['image_transform_lib_path'] = '/usr/bin/ImageMagick/';
$config['image_uploads_path'] = '/home/xxxxxxxx/public_html/uploads/images';
$config['image_uploads_url'] = 'http://www.websitename.com.au/uploads/images';
$config['ssl_uploads_url'] = '/uploads';
$config['locale'] = '';
$config['default_encoding'] = 'utf-8';
$config['admin_encoding'] = 'utf-8';
$config['set_names'] = true;
$config['wiki_url'] = 'http://wiki.cmsmadesimple.org/index.php ... dmin_Panel';
Thanks for the idea!
Cheers,
Felix
Last edited by Felix on Sun Aug 19, 2012 9:17 am, edited 1 time in total.
Re: 500 Internal Server Error
Hi Jos,
Interestingly, there a two printing modules
cmsprinting, and
printing.
So I've renamed them both by adding "_old"
Thanks for your idea.
Just checked it and the server error page is still there for admin and public.
Cheers,
Felix
Interestingly, there a two printing modules
cmsprinting, and
printing.
So I've renamed them both by adding "_old"
Thanks for your idea.
Just checked it and the server error page is still there for admin and public.
Cheers,
Felix
Re: 500 Internal Server Error
Some things you can try:
http://docs.cmsmadesimple.org/troublesh ... rver-error
All lines with a direct path in it can be quoted out. Add a # before lines like
Did you contact your host about this?
PS. Clear cache by removing all files in folder /tmp/templates_c/
change to $config['debug'] = false;
http://docs.cmsmadesimple.org/troublesh ... rver-error
All lines with a direct path in it can be quoted out. Add a # before lines like
Looks like a UDT isn't available anymore:#$config['previews_path'] = '/home/xxxxxxxx/public_html/tmp/cache';
#$config['uploads_path'] = '/home/xxxxxxxx/public_html/uploads';
Rename root .htaccess file to htaccess.txtCall to undefined function cms_user_tag_favicon()
Did you contact your host about this?
PS. Clear cache by removing all files in folder /tmp/templates_c/
change to $config['debug'] = false;
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: 500 Internal Server Error
Hi Rolf and Jos,
Thanks for the assistance, your time and suggestions.
Our website host have restored the site, but couldn't/wouldn't explain what caused the issue.
On the initial call to them, the first level support person told me that it looked like all the folders had somehow been shuffled. I have no idea what they meant because I logged in to cpanel and they all looked fine to me.
I've checked over the website and the only thing that seems to not be working is the Slideshow on the front page, so I've disabled that for the moment.
I also noted that there are 10 modules that need to be upgraded and slideshow is one of them.
Anyway - all is sweet at the moment, but thank you for your help. CMSMS is great and the support forums are very much part of that!
Cheers,
Felix
Thanks for the assistance, your time and suggestions.
Our website host have restored the site, but couldn't/wouldn't explain what caused the issue.
On the initial call to them, the first level support person told me that it looked like all the folders had somehow been shuffled. I have no idea what they meant because I logged in to cpanel and they all looked fine to me.
I've checked over the website and the only thing that seems to not be working is the Slideshow on the front page, so I've disabled that for the moment.
I also noted that there are 10 modules that need to be upgraded and slideshow is one of them.
Anyway - all is sweet at the moment, but thank you for your help. CMSMS is great and the support forums are very much part of that!
Cheers,
Felix
Re: 500 Internal Server Error
Sounds to me like they moved it to a new server...