• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: [Solved] 500 Internal Server Error
PostPosted: Sun Aug 19, 2012 8:13 am 
Offline
Forum Members
Forum Members

Joined: Wed Oct 31, 2007 11:32 pm
Posts: 45
Location: Melbourne, Australia
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


Last edited by Felix on Tue Aug 21, 2012 8:22 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: 500 Internal Server Error
PostPosted: Sun Aug 19, 2012 8:21 am 
Offline
Power Poster
Power Poster
User avatar

Joined: Wed Sep 05, 2007 8:03 pm
Posts: 3652
Location: The Netherlands
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.

_________________
Get nice guestbook messages from your site visitors with the brand new Gbook module.
Integrate Piwik Web Analytics in your site admin with the Piwik module.
Extend your global site settings with the Custom Global Settings module.
The Fourth Dutch CMS Made Simple Workshop on April 9 2011 was great fun! Read all about it here
Announcement: The Fifth Dutch CMS Made Simple Workshop coming up?


Top
 Profile  
 
 Post subject: Re: 500 Internal Server Error
PostPosted: Sun Aug 19, 2012 8:52 am 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Apr 23, 2008 7:53 am
Posts: 5086
Location: The Netherlands
Check the serverpaths in your config.php. Perhaps something changed...

_________________
Dutch CMSMS community website cmsms.nl and Wiki wiki.cmsms.nl
--------------------------
My CMSMS Tips and Tricks Weblog and website about Pneumatic Tube Systems / Rohrpost
My other (Dutch) website: Smakelijk eten zonder zout (Design: Compufairy)


Top
 Profile  
 
 Post subject: Re: 500 Internal Server Error
PostPosted: Sun Aug 19, 2012 9:10 am 
Offline
Forum Members
Forum Members

Joined: Wed Oct 31, 2007 11:32 pm
Posts: 45
Location: Melbourne, Australia
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/User_Handbook/Admin_Panel';

Thanks for the idea!

Cheers,

Felix


Last edited by Felix on Sun Aug 19, 2012 9:17 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: 500 Internal Server Error
PostPosted: Sun Aug 19, 2012 9:16 am 
Offline
Forum Members
Forum Members

Joined: Wed Oct 31, 2007 11:32 pm
Posts: 45
Location: Melbourne, Australia
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


Top
 Profile  
 
 Post subject: Re: 500 Internal Server Error
PostPosted: Sun Aug 19, 2012 12:30 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Apr 23, 2008 7:53 am
Posts: 5086
Location: The Netherlands
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
Quote:
#$config['previews_path'] = '/home/xxxxxxxx/public_html/tmp/cache';
#$config['uploads_path'] = '/home/xxxxxxxx/public_html/uploads';

Looks like a UDT isn't available anymore:
Quote:
Call to undefined function cms_user_tag_favicon()

Rename root .htaccess file to htaccess.txt

Did you contact your host about this?

PS. Clear cache by removing all files in folder /tmp/templates_c/

change to $config['debug'] = false;

_________________
Dutch CMSMS community website cmsms.nl and Wiki wiki.cmsms.nl
--------------------------
My CMSMS Tips and Tricks Weblog and website about Pneumatic Tube Systems / Rohrpost
My other (Dutch) website: Smakelijk eten zonder zout (Design: Compufairy)


Top
 Profile  
 
 Post subject: Re: 500 Internal Server Error
PostPosted: Mon Aug 20, 2012 6:33 am 
Offline
Forum Members
Forum Members

Joined: Wed Oct 31, 2007 11:32 pm
Posts: 45
Location: Melbourne, Australia
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


Top
 Profile  
 
 Post subject: Re: 500 Internal Server Error
PostPosted: Mon Aug 20, 2012 11:08 pm 
Offline
Administrator
Administrator
User avatar

Joined: Thu Mar 09, 2006 5:32 am
Posts: 11818
Location: Arizona
Sounds to me like they moved it to a new server...

_________________
Extensions » Modules/Tags click the name of the module/tag or Help to the right to get its parameters.
Right click and view source is a great way to see what you have to work with.
Check ver. CMSMS, PHP, server OS, in System Information page.
Default content http://multiintech.com/defaultcontent/
People are Wonderful
Business is Great
Life is Terrific
Ever wonder what happened to the Album module? Well it is alive and well.
http://album.multiintech.com/
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Arvixe - A CMSMS Partner