Old website has started showing deprecated errors

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
ukmgranger
Forum Members
Forum Members
Posts: 72
Joined: Wed Apr 04, 2007 9:54 am

Old website has started showing deprecated errors

Post by ukmgranger »

Hi all,

I have a site that I created a couple of years ago ( http://www.groovy-entertainment.co.uk ).

My client has called me to inform me that there are errors on the site.

Can anyone shed some light on how I can correct this?

I tried updating to the latest version, but that made things worse, so I went back to a backup.

The errors are:

Code: Select all

Deprecated: Assigning the return value of new by reference is deprecated in /home/wwwgroo/public_html/lib/classes/class.contentoperations.inc.php on line 61

Deprecated: Assigning the return value of new by reference is deprecated in /home/wwwgroo/public_html/lib/classes/class.contentoperations.inc.php on line 540

Deprecated: Function split() is deprecated in /home/wwwgroo/public_html/lib/classes/class.contentoperations.inc.php on line 850

Deprecated: Assigning the return value of new by reference is deprecated in /home/wwwgroo/public_html/lib/classes/class.templateoperations.inc.php on line 80

Deprecated: Function ereg_replace() is deprecated in /home/wwwgroo/public_html/plugins/function.stylesheet.php on line 57
cmsms version 1.3
PHP 5.3.9
MySQL client version: 5.0.92
Running on a Linux system

Installed modules:
Album
CMSMailer
FileManager
MenuManager
ModuleManager
News
nuSOAP
Printing
Search
ThemeManager
TinyMCE
TruetypeText
Last edited by ukmgranger on Thu Jan 26, 2012 7:42 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Old website has started showing deprecated errors

Post by calguy1000 »

Please follow forum rules and post sufficient information for us to be able to help.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
ukmgranger
Forum Members
Forum Members
Posts: 72
Joined: Wed Apr 04, 2007 9:54 am

Re: Old website has started showing deprecated errors

Post by ukmgranger »

Sorry about that. totally in a rush! - more detail:
cmsms version 1.3
PHP 5.3.9
MySQL client version: 5.0.92
Running on a Linux system

Installed modules:
Album
CMSMailer
FileManager
MenuManager
ModuleManager
News
nuSOAP
Printing
Search
ThemeManager
TinyMCE
TruetypeText
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Old website has started showing deprecated errors

Post by Dr.CSS »

1.3 and the server has been updated to the latest PHP, have you thought about maybe upgrading the CMSMS also?...
ukmgranger
Forum Members
Forum Members
Posts: 72
Joined: Wed Apr 04, 2007 9:54 am

Re: Old website has started showing deprecated errors

Post by ukmgranger »

Dr.CSS wrote:1.3 and the server has been updated to the latest PHP, have you thought about maybe upgrading the CMSMS also?...
As I mentioned in the first post, I upgraded the cms to v1.10 ish. This seemed to destroy all styling on the site and still had multiple errors.

Do you think I would be better off upgrading the cms to the latest again, then go from there?

Also - should I just upgrade from 1.3 to 1.10 or should I use another version as a stepping stone?
ukmgranger
Forum Members
Forum Members
Posts: 72
Joined: Wed Apr 04, 2007 9:54 am

Re: Old website has started showing deprecated errors

Post by ukmgranger »

So I have now updated the site to version 1.10.3.

The only error that I am now getting is:

Code: Select all

Deprecated: Function ereg_replace() is deprecated in /home/wwwgroo/public_html/plugins/function.stylesheet.php on line 104
The front end however looks as though it has no styling what so ever.

HEEEeeeeelp :D
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Old website has started showing deprecated errors

Post by Dr.CSS »

Some how you broke the old {stylesheet} function, easiest way to fix is to use {cms_stylesheet} tag and in all image calls use url([[root_url]]/
ukmgranger
Forum Members
Forum Members
Posts: 72
Joined: Wed Apr 04, 2007 9:54 am

Re: Old website has started showing deprecated errors

Post by ukmgranger »

Thanks for that DrCSS.

I still have some problems though!

I have managed to get the site looking vaguely like normal by saving the CSS files as individual files on the server and just linking to them.

I am getting all sorts of errors in the back end though!

First things first.
The gallery doesn't seem to be working, so I thought I'd uninstall and re-install that module - no go!

When I try to uninstall, I get this message:

Code: Select all

Notice: Indirect modification of overloaded property CmsObject::$db has no effect in /home/wwwgroo/public_html/modules/Album/method.uninstall.php on line 22

Notice: Trying to get property of non-object in /home/wwwgroo/public_html/lib/adodb_lite/adodb.inc.php on line 156

Warning: include_once(/home/wwwgroo/public_html/lib/adodb_lite/adodbSQL_drivers//_datadict.inc) [function.include-once]: failed to open stream: No such file or directory in /home/wwwgroo/public_html/lib/adodb_lite/adodb.inc.php on line 158

Warning: include_once() [function.include]: Failed opening '/home/wwwgroo/public_html/lib/adodb_lite/adodbSQL_drivers//_datadict.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/wwwgroo/public_html/lib/adodb_lite/adodb.inc.php on line 158

Fatal error: Class 'ADODB2_' not found in /home/wwwgroo/public_html/lib/adodb_lite/adodb.inc.php on line 161
The system is clearly having major problems! Any more ideas??
mcDavid
Power Poster
Power Poster
Posts: 377
Joined: Tue Mar 31, 2009 8:45 pm
Location: Delft, Netherlands

Re: Old website has started showing deprecated errors

Post by mcDavid »

Did you follow the update procedure to 1.10 at all?

http://forum.cmsmadesimple.org/viewtopi ... =1&t=57370
Users wishing to upgrade to CMSMS 1.10 should follow two similar, but different paths depending upon their sites current version of CMSMS.

It is always important to have a backup of your site, including the database and all relative files before proceeding with an upgrade.
If the version of CMSMS is less than 1.9.3:
a) Perform an upgrade to CMSMS 1.9.4.3 and verify that everything is working fine.
b) Backup your site again. It is always important to have a known-good-backup.

For all users upgrading to CMSMS 1.10:
c: Upgrade all modules to the latest available version.
d: Look at all of the third party plugins you have installed into your sites plugins directory and ensure that they should be compatible with CMSMS 1.10 (you may need to refer to the information below or to the forum for this).
e: Look at all of your User Defined Tags (UDT’s) to insure that they should be compatible with CMSMS 1.10. See the technical information below to see what has changed.
e: Ensure that each module that your site requires is compatible with CMSMS 1.10. As some modules have needed revisions to be compatible. If your site is using some older or less used modules, you may have to contact the modules author or enquire in the CMSMS forum to see if the module is compatible.
Post Reply

Return to “CMSMS Core”