Site running Joomla 1.0.15. PHP version 5.4.41

Need help with the Administration of your Joomla! site? Pop your questions in here.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
burlington
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Tue Nov 15, 2011 3:21 pm

Site running Joomla 1.0.15. PHP version 5.4.41

Post by burlington » Tue Jun 09, 2015 9:05 am

I am not a Joomla expert in any shape or form but I have been asked to help someone whose Joomla site not longer shows any page content.
The site is running on (see topic title) and the full site configuration is shown at the end of this message.
The website Host reports error messages as follows:
<quote>
[Sat Jun 06 15:32:16 2015] [warn] mod_fcgid: stderr: PHP Strict Standards: Non-static method mosMainFrame::getBasePath() should not be called statically in /home/linweb01/b/xxx.org/user/htdocs/modules/mod_events_latest.lib.php on line 22
[Sat Jun 06 15:32:16 2015] [warn] mod_fcgid: stderr: PHP Strict Standards: Non-static method EventsHelper::loadLanguage() should not be called statically in /home/linweb01/b/xxx.org/user/htdocs/modules/mod_events_latest.lib.php on line 30
[Sat Jun 06 15:32:16 2015] [warn] mod_fcgid: stderr: PHP Strict Standards: Non-static method JEventsLatest::getInstance() should not be called statically in /home/linweb01/b/xxx.org/user/htdocs/modules/mod_events_latest.php on line 107
[Sat Jun 06 15:32:16 2015] [warn] mod_fcgid: stderr: PHP Strict Standards: Non-static method EventsConfig::getInstance() should not be called statically, assuming $this from incompatible context in /home/linweb01/b/xxx.org/user/htdocs/modules/mod_events_latest.lib.php on line 78
[Sat Jun 06 15:32:16 2015] [warn] mod_fcgid: stderr: PHP Strict Standards: Non-static method EventsConfig::_getDefaultINIfilePath() should not be called statically, assuming $this from incompatible context in /home/linweb01/b/xxx.org/user/htdocs/administrator/components/com_events/lib/config.php on line 144
[Sat Jun 06 15:32:16 2015] [warn] mod_fcgid: stderr: PHP Strict Standards: Non-static method mosCache::getCache() should not be called statically in /home/linweb01/b/xxx.org/user/htdocs/includes/frontend.php on line 133
[Sat Jun 06 15:32:29 2015] [warn] mod_fcgid: stderr: PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/linweb01/b/xxx.org/user/htdocs/administrator/index.php on line 163
[Sat Jun 06 15:32:29 2015] [warn] mod_fcgid: stderr: PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/linweb01/b/xxx.org/user/htdocs/includes/joomla.php on line 836
[Sat Jun 06 15:32:29 2015] [warn] mod_fcgid: stderr: PHP Strict Standards: Non-static method mosProfiler::getmicrotime() should not be called statically in /home/linweb01/b/xxx.org/user/htdocs/administrator/templates/joomla_admin/login.php on line 17
</quote>

I have 'dealt' with the problems with 'PHP Strict Standards' using advice on this Forum, but to no avail. My initial reaction when asked to help was to think that the Joomla version running this site is so out of date that I was surprised it was still running at all!

However, this may not be the case as it was working Ok until a few days ago.

Any help would be gratefully appreciated.

Regards & thanks

Martin

Full program config is, with the site title etc being changed to xxx for security purposes:
<quote>
Linux linweb01.linvh1.fasthosts.co.uk 2.6.18-400.1.1.el5.centos.plus #1 SMP Thu Dec 18 08:14:55 EST 2014 x86_64
Database Version: 5.0.95-log
PHP Version: 5.4.41
Web Server: Apache
WebServer to PHP interface: cgi-fcgi
Joomla! Version: Joomla! 1.0.15 Stable [ Daytime ] 22 February 2008 23:00 UTC
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36
Relevant PHP Settings:
Joomla! Register Globals Emulation: OFF
Register Globals: OFF
Magic Quotes: OFF
Safe Mode: OFF
File Uploads: ON
Session auto start: OFF
Session save path: /tmp/
Short Open Tags: ON
Output Buffering: OFF
Open basedir: none
Display Errors: OFF
XML enabled: Yes
Zlib enabled: Yes
Disabled Functions: shell_exec,exec,system,popen,set_time_limit
Configuration File: <?php
if(!defined('RG_EMULATION')) { define( 'RG_EMULATION', 0 ); }
$mosConfig_MetaAuthor = '1';
$mosConfig_MetaDesc = 'xxx .';
$mosConfig_MetaKeys = '';
$mosConfig_MetaTitle = '1';
$mosConfig_absolute_path = '/home/linweb01/b/xxx.org/user/htdocs';
$mosConfig_admin_expired = '1';
$mosConfig_allowUserRegistration = '1';
$mosConfig_back_button = '1';
$mosConfig_cachepath = '/home/linweb01/b/xxx.org/user/htdocs/cache';
$mosConfig_cachetime = '900';
$mosConfig_caching = '0';
$mosConfig_db = 'xxxxxx'
$mosConfig_dbprefix = 'jos_';
$mosConfig_debug = '0';
$mosConfig_dirperms = '';
$mosConfig_editor = 'tinymce';
$mosConfig_enable_log_items = '0';
$mosConfig_enable_log_searches = '0';
$mosConfig_enable_stats = '0';
$mosConfig_error_message = 'This site is temporarily unavailable.<br /> Please notify the System Administrator';
$mosConfig_error_reporting = '-1';
$mosConfig_favicon = 'favicon.ico';
$mosConfig_fileperms = '';
$mosConfig_fromname = 'xxx';
$mosConfig_frontend_login = '1';
$mosConfig_frontend_userparams = '1';
$mosConfig_gzip = '0';
$mosConfig_helpurl = 'http://help.joomla.org';
$mosConfig_hideAuthor = '0';
$mosConfig_hideCreateDate = '0';
$mosConfig_hideEmail = '0';
$mosConfig_hideModifyDate = '0';
$mosConfig_hidePdf = '0';
$mosConfig_hidePrint = '0';
$mosConfig_hits = '1';
$mosConfig_host = 'xxxxxx'
$mosConfig_icons = '1';
$mosConfig_item_navigation = '1';
$mosConfig_itemid_compat = '0';
$mosConfig_lang = 'english';
$mosConfig_lifetime = '900';
$mosConfig_link_titles = '0';
$mosConfig_list_limit = '30';
$mosConfig_live_site = 'http://www.xxx.org';
$mosConfig_locale = 'en_GB';
$mosConfig_mailer = 'mail';
$mosConfig_mailfrom = '[email protected]';
$mosConfig_multilingual_support = '0';
$mosConfig_multipage_toc = '1';
$mosConfig_offline = '0';
$mosConfig_offline_message = 'This site is down for maintenance.<br /> Please check back again soon.';
$mosConfig_offset = '-1';
$mosConfig_offset_user = '0';
$mosConfig_pagetitles = '1';
$mosConfig_password = 'xxxxxx'
$mosConfig_readmore = '1';
$mosConfig_secret = '';
$mosConfig_sef = '0';
$mosConfig_sendmail = '/usr/sbin/sendmail';
$mosConfig_session_life_admin = '1800';
$mosConfig_session_type = '0';
$mosConfig_shownoauth = '0';
$mosConfig_sitename = 'xxx plus forum';
$mosConfig_smtpauth = '0';
$mosConfig_smtphost = 'localhost';
$mosConfig_smtppass = '';
$mosConfig_smtpuser = '';
$mosConfig_uniquemail = '1';
$mosConfig_user = 'xxxxxx'
$mosConfig_user = 'xxxxxx'
$mosConfig_vote = '0';
setlocale (LC_TIME, $mosConfig_locale);
</quote>
Last edited by mandville on Tue Jun 09, 2015 9:19 am, edited 1 time in total.
Reason: moved to more suitable forum

burlington
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Tue Nov 15, 2011 3:21 pm

Re: Site running Joomla 1.0.15. PHP version 5.4.41

Post by burlington » Tue Jun 09, 2015 3:10 pm

Which forum please as I can't find it.

Thanks.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17319
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Site running Joomla 1.0.15. PHP version 5.4.41

Post by toivo » Tue Jun 09, 2015 4:09 pm

Which forum please as I can't find it.
If you are running version 1.0.15, the current forum is the best one for the question.
it was working Ok until a few days ago
Your hosting provider may have upgraded PHP to PHP 5.4 from 5.2 or 5.3, ref. http://www.joomla.org/technical-requirements.html

Code: Select all

$mosConfig_error_reporting = '-1'; 
Change the above value from -1 to 0.

Edit the file index.php in the main Joomla folder and in the administrator folder and add two lines after the initial comments. These settings will display real errors but filter non-essential notices, warnings, deprecated and strict standards messages:

Code: Select all

* See COPYRIGHT.php for copyright notices and details.
*/

ini_set( 'display_errors', true);
error_reporting(E_ALL & ~(E_STRICT | E_DEPRECATED | E_NOTICE | E_WARNING));
There is no guarantee that this will work for all extensions because some of them may overwrite the error reporting configuration. Therefore it is time to seriously look at migrating to a supported version.
Toivo Talikka, Global Moderator

burlington
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Tue Nov 15, 2011 3:21 pm

Re: Site running Joomla 1.0.15. PHP version 5.4.41

Post by burlington » Tue Jun 09, 2015 6:38 pm

Thanks everyone.
I have decided, and told the site owner this, that the site is so old that a complete re-think is required because the time, effort & cost to sort out a very old system is, frankly, not worth the candle.

A redesign in the modern idiom is required. The owner knows this, I know it and I am sure everyone reading this message knows it as well.

Question: For how long can you keep on flogging a dead horse?

Regards & thanks

Martin

User avatar
ribo
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3507
Joined: Sun Jan 03, 2010 8:47 pm
Contact:

Re: Site running Joomla 1.0.15. PHP version 5.4.41

Post by ribo » Tue Jun 09, 2015 6:59 pm

my opinion is that you must move on. joomla , php, mysql and everything in technology move on. That s why the update is good. You must convince the site owner for this. Everything move on in our life not only in websites
chat room spontes : http://www.spontes.com


Locked

Return to “Administration - 1.0.x”