Page 1 of 1

[Solved]Errors from News Mod during upgrade from 1.10.3

Posted: Mon Mar 03, 2014 11:43 pm
by LadyHLG
I have been trying to upgrade two different CMSMS installs and for both I keep running into the following error:

Fatal error: Class 'news_admin_ops' not found in C:\xampp\htdocs\sandbox\mycmsms\modules\News\News.module.php on line 374

On one of the installs I was able to get past this error by renaming the News folder and running the upgrades up to 1.11.2, I then had to be sure I set my admin to the newer admin template and then copied over the News folder from the full download of 1.11.2.

This seemed to do the trick and I was finally able to complete the upgrade all the way to 1.11.10.

This does not seem to be working for the other install.

Here is the info on that install

----------------------------------------------

Cms Version: 1.10.3

Installed Modules:

CMSMailer: 2.0.2
FileManager: 1.2.0
MenuManager: 1.7.7
ModuleManager: 1.5.3
News: 2.12.3
Printing: 1.1.2
Search: 1.7
ThemeManager: 1.1.4
TinyMCE: 2.9.11
CGSimpleSmarty: 1.5.2
CGExtensions: 1.29.1
FormBuilder: 0.7.2
Gallery: 1.6
CGFeedMaker: 1.0.16
FrontEndUsers: 1.17.6
HostedVideoAlbums: 2.3.1
CustomContent: 1.8.3
FormBrowser: 0.4.1
Questions: 1.0.3
CMSSimplepie: 1.0
Uploads: 1.14.2
CGBlog: 1.9.8
CMSPrinting: 1.0
MicroTiny: 1.1.1


Config Information:

php_memory_limit:
process_whole_template: false
output_compression: false
max_upload_size: 128000000
default_upload_permission: 664
url_rewriting: mod_rewrite
page_extension: .php
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.2.17
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
memory_limit: 256M
max_execution_time: 30
output_buffering: On
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 64M
upload_max_filesize: 64M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)


Server Information:

Server Api: cgi-fcgi
Server Db Type: MySQL (mysql)
Server Db Version: 5.5.33


----------------------------------------------

Any suggestions would be appreciated!
Thanks

LadyHLG

Re: Errors from News Mod during upgrade from 1.10.3

Posted: Tue Mar 04, 2014 12:44 am
by JohnnyB
phpversion: 5.2.17
Somewhere in the 1.11.x versions before the 1.11.9 release, there was a PHP 5.3 dependency. Not sure if that might be the problem but it was fixed in 1.11.9 and .10.

Also, there are several modules that now require PHP 5.3 and that also may be a problem for you. I would upgraded to latest most stable version of php 5.3 as soon as possible. There are lots of improvements and security fixes.

Re: Errors from News Mod during upgrade from 1.10.3

Posted: Tue Mar 04, 2014 3:04 pm
by LadyHLG
JohnnyB thanks for the reply!
I have to apologize, I posted the wrong server info. That was the info for our live server, I am testing the upgrade on an in-house test server here is the info:
----------------------------------------------

Cms Version: 1.10.3

Installed Modules:

CMSMailer: 2.0.2
FileManager: 1.2.0
MenuManager: 1.7.7
ModuleManager: 1.5.3
News: 2.12.3
Printing: 1.1.2
Search: 1.7
ThemeManager: 1.1.4
TinyMCE: 2.9.11
CGSimpleSmarty: 1.5.2
CGExtensions: 1.29.1
FormBuilder: 0.7.2
Gallery: 1.6
CGFeedMaker: 1.0.16
FrontEndUsers: 1.17.6
HostedVideoAlbums: 2.3.1
CustomContent: 1.8.3
FormBrowser: 0.4.1
Questions: 1.0.3
CMSSimplepie: 1.0
Uploads: 1.14.2
CGBlog: 1.9.8
CMSPrinting: 1.0
MicroTiny: 1.1.1


Config Information:

php_memory_limit:
process_whole_template: false
output_compression: false
max_upload_size: 128000000
default_upload_permission: 664
url_rewriting: mod_rewrite
page_extension: .php
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.4.7
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: 120
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 10M
upload_max_filesize: 20M
session_save_path: C:\xampp\tmp (0777)
session_use_cookies: On (True)
xml_function: On (True)


Server Information:

Server Api: apache2handler
Server Db Type: MySQL (mysql)
Server Db Version: 5.5.27

----------------------------------------------
Any other ideas?

LadyHLG

Re: Errors from News Mod during upgrade from 1.10.3

Posted: Tue Mar 04, 2014 10:17 pm
by Dr.CSS
At some point there was a problem with upgrading and News, rename News folder, run upgrade, rename back to News, go to admin > extensions > modules and run upgrade on News if needed...

Re: Errors from News Mod during upgrade from 1.10.3

Posted: Thu Mar 06, 2014 7:57 pm
by LadyHLG
I was finally able to complete the upgrade. I ended up deleting the News folder completely and uploading a copy from the full 1.11.2 download.

Thanks for the help

LadyHLG