Plugin problem after upgrade to 2.1

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
moorezilla
Forum Members
Forum Members
Posts: 24
Joined: Mon May 19, 2014 5:08 pm

Plugin problem after upgrade to 2.1

Post by moorezilla »

PHP Fatal error: Call to a member function GetConfig() on null in plugins/function.csv.php on line 11, referer:

Using the function.csv.php plugin to generate a table from a csv list, but this plugin doesn't seem to work with 2.1. Having a call to it in a page just breaks the page completely and throws the above error.

Any help in getting it to work again would be appreciated. Sys info below:

----------------------------------------------
Cms Version: 2.1
Installed Modules:
CMSMailer: 5.2.4
FileManager: 1.5.1
MenuManager: 1.50.1
News: 2.50.3
Search: 1.50.2
ThemeManager: 1.1.8
CGExtensions: 1.50
DesignManager: 1.1
ModuleManager: 2.0.1
CGBlog: 1.13.2
CGSimpleSmarty: 2.0.2
Gallery: 2.0.3
SiteMapMadeSimple: 1.2.8
AdminSearch: 1.0
JQueryTools: 1.3.7
LISEchsCourses: 1.1
AdminIPLock: 1.0
CMSContentManager: 1.0.2
LISE: 1.1
MicroTiny: 2.0.2
Navigator: 1.0.1

Config Information:
php_memory_limit:
max_upload_size: 100000000
url_rewriting: mod_rewrite
page_extension: .htm
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: America/New_York
permissive_smarty: false

Php Information:
phpversion: 5.6.16
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
memory_limit: 200M
max_execution_time: 90
register_globals: Off (False)
output_buffering: 4096
disable_functions:
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 100M
upload_max_filesize: 100M
session_save_path: /var/lib/php/session (0770)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
check_ini_set: On (True)
curl: On

Performance Information:
allow_browser_cache: On (True)
browser_cache_expiry: 15
php_opcache: On (True)
smarty_cache: Off (False)
smarty_compilecheck: Off (False)
smarty_cache_udt: Off (False)
auto_clear_cache_age: On (True)
Server Information:
Server Software: Apache/2.2.17 (EL)
Server Api: apache2handler
Server Os: Linux 2.6.32-042stab104.1 On i686
Server Db Type: MySQL (mysql)
Server Db Version: 5.5.46
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable

Permission Information:
tmp: /var/www/html/cps/tmp (0770)
tmp_cache: /var/www/html/cps/tmp/cache (0770)
templates_c: /var/www/html/cps/tmp/templates_c (0770)
modules: /var/www/html/cps/modules (0770)
uploads: /var/www/html/cps/uploads (0770)
File Creation Mask (umask): /var/www/html/cps/tmp/cache (0770)
config_file: 0440
----------------------------------------------
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Plugin problem after upgrade to 2.1

Post by calguy1000 »

Your post was moved to the lounge because you are reporting a problem with a plugin that is not part of the CMSMS core.
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.
moorezilla
Forum Members
Forum Members
Posts: 24
Joined: Mon May 19, 2014 5:08 pm

Re: Plugin problem after upgrade to 2.1 (solved)

Post by moorezilla »

The LOUNGE? Lol... at least I can get a martini!

If anyone else runs into an issue with this plugin, here's a rough hack to get it working again... just have to comment out global and anything that relies on it. For this plugin, it's pretty easy to work around:

code removed by moderator as per forum rules.
Post Reply

Return to “The Lounge”