Disallowed Key Characters in global data

Install and configure FormaLMS and DoceboCE
seriel
Newbie
Posts: 9
Joined: Mon Feb 25, 2013 2:03 am

Disallowed Key Characters in global data

Post by seriel »

Hi to all
My site was running for more than a year and everything ok, but now, recentrly when I login with my account it's tell me that error. "Dissallowed Key Characters in global data".
With every account.
In 3 different machines
With Windows or Linux
With 3 different browsers
I'd search in this forum and found a post viewtopic.php?f=5&t=12037&p=15150&hilit ... ers#p15150 and clean the cookies from my browser... but only present the login page and when I hit the button again with the error.
My password doesn't have any special character only letters and numbers.

In google I found that is about the framework CodeIgniter, it is true or is a hack? How can I fix this? In a few days where back to school
Thanks in advance...
User avatar
canelli
FormaLms Guru
Posts: 496
Joined: Thu Nov 08, 2012 12:21 pm
Version: forma.lms 2.0
Contact:

Re: Disallowed Key Characters in global data

Post by canelli »

Hi seriel

Forma don't use CodeIgniter . It made it's own sanity check on input data

The message "Dissallowed Key Characters in global data" raise when some unallowed charcters (potentially dangeorous) are present in :
input data (post, get), session data, cookie, url, ..

other than cookie and session data, check
course titles, course descriptions and so .
Can you log in as a global administrator ?
if yes , go directly to the administration page, can you see the administration dashboard ?

Claudio
Cercate nel forum le riposte prima di chiedere. Check the forum before posting
---------------
Claudio Anelli
Joint Technologies - Sistemi avanzati per l'information technology

http://www.joint-tech.com
---------------
seriel
Newbie
Posts: 9
Joined: Mon Feb 25, 2013 2:03 am

Re: Disallowed Key Characters in global data

Post by seriel »

Hi Claudio, thanks for your quick answer.

No, I can´t login as administrator. And by any user.
I point to the site. Appears the login page. I write the user, password and click submit. Then, a blank page and the error appears. If I reload, the same message. If I deleted cookie, the login page appear again.

It's strange, because I can backup all my site. I checked the database and the php files. I run in a local server (XAMPP 1.8.3), and I had no problem. All the users, courses and everything is ok. The only thing different is that the welcome page or login page not present the welcome text I put in the translate configuration. I'd check the table and yes, the information is there but not showing in the login page.

I not update to the new forma 1.2.1 (I use 1.0 I think).
Maybe my hosting provider change the php version I really don't know but I'm checking.

I''ll update to the new version and check the php version local and with the hosting. All our courses of 3 years are in there and the exam period is coming. The students begin to report the problem so, it's not only for my computer...

If you can point me in another direction I can search, I'll really appreciate it. Thanks in advance
User avatar
canelli
FormaLms Guru
Posts: 496
Joined: Thu Nov 08, 2012 12:21 pm
Version: forma.lms 2.0
Contact:

Re: Disallowed Key Characters in global data

Post by canelli »

if you can run formalms on a local environment with the production database, it's a server problem or configuration.
check php version and modules.
formalms 1.0 run on php 5.3
formalms 1.2 is certified also for php 5.4

someone reported strange behavior with optimizer or obfuscator modules enabled
Cercate nel forum le riposte prima di chiedere. Check the forum before posting
---------------
Claudio Anelli
Joint Technologies - Sistemi avanzati per l'information technology

http://www.joint-tech.com
---------------
seriel
Newbie
Posts: 9
Joined: Mon Feb 25, 2013 2:03 am

Re: Disallowed Key Characters in global data

Post by seriel »

I think so.
I update from version 1.0 to version 1.2.1 and the same problem. I'll try with another hosting provider just to check.
By the way this is the info of my actual hosting provider:

cPanel 11.42.1 (build24)
Apache version 2.2.27
PHP version 5.3.28
MySQL 5.5.36-cil
Arquitectura X68_64
OS Linux

I'll post if in another hosting is ok or not ... very thank you,
But, how this happend? A few days ago everything was fine... So, something in server configuration change but I'll really want to know what was.. =)
User avatar
canelli
FormaLms Guru
Posts: 496
Joined: Thu Nov 08, 2012 12:21 pm
Version: forma.lms 2.0
Contact:

Re: Disallowed Key Characters in global data

Post by canelli »

apache php and mysql versions are ok.
you must check witch php modules are loaded .
and ask the provider what configuration changed in the last week
Cercate nel forum le riposte prima di chiedere. Check the forum before posting
---------------
Claudio Anelli
Joint Technologies - Sistemi avanzati per l'information technology

http://www.joint-tech.com
---------------
seriel
Newbie
Posts: 9
Joined: Mon Feb 25, 2013 2:03 am

Re: Disallowed Key Characters in global data

Post by seriel »

Hi Claudio,

Just for the record, I upload all my site again with another hosting provider, and yes, no problem. All my users, all my courses, even with the version 1.0 of formalms. So, something change in my first host.

The new host is with this parameters.
Apache ver 2.2.19
PHP version 5.2
MySQL 5.1

I open a support ticket with my provider to ask what change. But I think is important to know with future formalms installations. Is apache version? is php version with new rules? I'll check an inform to you just to consider this. Maybe some other folks will present with same error and the problem is not the software itself but the server configuration. :o

Thanks.
User avatar
canelli
FormaLms Guru
Posts: 496
Joined: Thu Nov 08, 2012 12:21 pm
Version: forma.lms 2.0
Contact:

Re: Disallowed Key Characters in global data

Post by canelli »

HI seriel
Apche 2.2.x is good
PHP 5.2.x , 5.3.x , 5.4.x ( for Forma 1.2 and later )
Mysql 5.0 , 5.1 , 5.5

I think some PHP modules, always a security module, injects extra characters
check PHP modules and configuration with phpinfo from cpanel or upload a page with the phpinfo() function .
Cercate nel forum le riposte prima di chiedere. Check the forum before posting
---------------
Claudio Anelli
Joint Technologies - Sistemi avanzati per l'information technology

http://www.joint-tech.com
---------------
User avatar
alberto
FormaLms Guru
Posts: 1135
Joined: Fri Mar 02, 2012 9:18 am
Contact:

Re: Disallowed Key Characters in global data

Post by alberto »

Hi Seriel, glad you solved! :)
I'm moving this thread to the "installation & configuration" forum since the problem it's not a bug

bye!
seriel
Newbie
Posts: 9
Joined: Mon Feb 25, 2013 2:03 am

Re: Disallowed Key Characters in global data

Post by seriel »

Well is not solved yet. I talked with the support team of my hosting provider and nothing change since last week. They checking the server too but until now, everything is fine (for them, they insist is the application).

So, I don't know what happen. I have an idea and I'm going to test the database. I think maybe the problem is in the database in some fields because is the php files are good, the server good... only the database itself can contain strange characters...
I don't know why in local or other hosintg nothing wrong, so maybe and update of php module is the problem.

Continue checking... Thanks for your support
Post Reply