[#9830] Critical error after update from 1.3.2 to 1.4.1

Created By: T. Ribbrock (emgaron)
Date Submitted: Mon Feb 10 12:07:38 -0500 2014

Assigned To:
Version: 1.4.1
CMSMS Version: None
Severity: Critical
Resolution: Invalid
State: Open
Critical error after update from 1.3.2 to 1.4.1
Detailed Description:
I just attempted to upgrade my ListIt2 module from 1.3.2 to 1.4.1 using the XML
file (the server is on an inernal network w/o external connections). After the
upgrade, I got the following critical error:

--- Quote ---
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in
/var/www/SITE/modules/ListIt2/ListIt2.module.php on line 116

Parse error: syntax error, unexpected T_STRING in
/var/www/SITE/modules/ListIt2/ListIt2.module.php on line 116
--- End Quote ---

Given that the whole site was down, I used the brute force method to resolve
this for now until this can be fixed properly: I commented out line 116
completely. Line 116 reads:

$smarty->assign('idt_module_help', ListIt2\IDT::getModuleHelp());

My PHP isn't strong enough to allow me suggesting an instant solution, but maybe
you can see what's the problem here. Funny enough, the module *seems* to operate
normally even without that line.

BTW: CMSMS: 1.11.4 - if that's got anything to do with this problem, please let
me know.



Date: 2014-02-10 12:11
Posted By: Goran Ilic (uniqu3)

And your PHP Version is?
Date: 2014-02-10 12:11
Posted By: Tapio Löytty (Stikki)

Upgrade your PHP to 5.3, support for 5.2 was announced in changelog long time

Currently only help section uses namespaces, but with next version you will
surely have problems.
Date: 2014-02-10 12:18
Posted By: T. Ribbrock (emgaron)

PHP is 5.2, of course <sigh> - thanks for pointing that one out. Thanks also for
giving me another lever to hopefully get resources to change that situation -
update priority is somewhat low on that machine as it has no external
connections. Thanks thirdly for the blindingly fast reaction!

BTW: Can I get away with having that one line commented out for now until I
rectify the software situation?
Date: 2014-02-10 12:22
Posted By: Tapio Löytty (Stikki)

Well it just affects help section, so it wont break any critical parts of LI

But i really suggest you upgrading to 5.3 in order to continue this module.
Date: 2014-02-10 12:23
Posted By: Tapio Löytty (Stikki)

*Continue using this module....
Date: 2014-02-10 12:28
Posted By: T. Ribbrock (emgaron)

As I said, this is just another reason to get this done (especially as I like
ListIt2 a lot...). Thanks again for your response and sorry for the noise!
Date: 2014-02-10 12:48
Posted By: Tapio Löytty (Stikki)

Don't close this yet. Someone might have same issue, so they don't file

Thanks. And no problems.

Updated: 2014-02-10 12:48
state: Closed => Open

Updated: 2014-02-10 12:29
state: Open => Closed

Updated: 2014-02-10 12:11
resolution_id: 5 => 9

Updated: 2014-02-10 12:11
resolution_id: => 5