Decrease
Reset
Increase

JoomlaLMS Learning Management System - Support Forum

  #1  
Old 06-25-2007, 10:01 PM
olo olo is offline
Junior Member
 
Join Date: Jan 2007
Posts: 29
Default 1.0.3 trial - bugs

1. after installing 1.0.3 trial version I have problems with login and logout,
following error appears:

Illegal variable _files or _env or _get or _post or _cookie or _server or _session or globals passed to script.

2. there is also problem with dates in subscription list:
"start date" and "end date" are the same

I changed "end date" manually in database, so payment processor is now working very well

3. student can subscribe multiple times to one course, there shouldn't be such possibility

3.1. I noticed there is a new icon "Subscriptions" at front-end, but I don't know what is the purpose of it. Right now student can subscribe again to the same course using it.

Last edited by olo; 06-25-2007 at 10:21 PM.
Reply With Quote
  #2  
Old 06-26-2007, 06:44 AM
den den is offline
developer
 
Join Date: Dec 2006
Posts: 2,506
Default

Quote:
Originally Posted by olo View Post
Illegal variable _files or _env or _get or _post or _cookie or _server or _session or globals passed to script.
What version of Joomla! do you using? Try to update to Joomla 1.0.12.
Check that globals.php file in the Joomla root has the following code (pay attention to line 8 from my example):
PHP Code:
function checkInputArray( &$array$globalise=false ) {
    static 
$banned = array( '_files''_env''_get''_post''_cookie''_server''_session''globals' );

    foreach (
$array as $key => $value) {
        
$intval intval$key );
        
// PHP GLOBALS injection bug 
        
$failed in_arraystrtolower$key ), $banned );
        
// PHP Zend_Hash_Del_Key_Or_Index bug
        
$failed |= is_numeric$key );
        if (
$failed) {
            die( 
'Illegal variable <b>' implode'</b> or <b>'$banned ) . '</b> passed to script.' );
        }
        if (
$globalise) {
            
$GLOBALS[$key] = $value;
        }
    }

For security reasons RG_EMULATION in globals.php should be disabled.
Reply With Quote
  #3  
Old 06-26-2007, 06:59 AM
den den is offline
developer
 
Join Date: Dec 2006
Posts: 2,506
Default

Quote:
Originally Posted by olo View Post
3. student can subscribe multiple times to one course, there shouldn't be such possibility
If student was subscribed to the course for a period and he would like to re-subscribe to the course for a fulltime. In this case he should select another (fulltime) subscription with the same course.
Quote:
Originally Posted by olo View Post
3.1. I noticed there is a new icon "Subscriptions" at front-end, but I don't know what is the purpose of it. Right now student can subscribe again to the same course using it.
You can disable this menu item at the Admin BackEnd.
Reply With Quote
  #4  
Old 06-26-2007, 11:15 AM
olo olo is offline
Junior Member
 
Join Date: Jan 2007
Posts: 29
Default

I have joomla 1.0.12 installed with Joomla-SMF bridge by Joomlahacks and CB, maybe there is the problem.

RG emulation is set off
Reply With Quote
  #5  
Old 06-26-2007, 12:37 PM
den den is offline
developer
 
Join Date: Dec 2006
Posts: 2,506
Default

Can you check the code of checkInputArray() function in the globals.php file?
This error can appears in this function. On some PHP builds Zend Hash Keys (which are required for loading encoded scripts) may produce this error.
Another suggestions: Try to update your PHP or ioncube loader.

Editing:
Version 1.0.2 is works well?
If you are using another Joomla<->SMF bridge, try to disable JoomlaLMS mambot (it for synchronizing users between JoomlaLMS and SMF).

Last edited by den; 06-26-2007 at 12:39 PM.
Reply With Quote
  #6  
Old 06-26-2007, 01:10 PM
olo olo is offline
Junior Member
 
Join Date: Jan 2007
Posts: 29
Default

Code from my globals.php:
PHP Code:
function checkInputArray( &$array$globalise=false ) {
    static 
$banned = array( '_files''_env''_get''_post''_cookie''_server''_session''globals' );

    foreach (
$array as $key => $value) {
        
$intval intval$key );
        
// PHP GLOBALS injection bug 
        
$failed in_arraystrtolower$key ), $banned );
        
// PHP Zend_Hash_Del_Key_Or_Index bug
        
$failed |= is_numeric$key );
        if (
$failed) {
            die( 
'Illegal variable <b>' implode'</b> or <b>'$banned ) . '</b> passed to script.' );
        }
        if (
$globalise) {
            
$GLOBALS[$key] = $value;
        }
    }

JoomlaLMS 1.0.2 worked very well

I have PHP 5.2.1 and ionCube PHP Loader v3.1.29

edit:

I've just noticed that in learning paths is bug:
"line sub" and "sub" texts shows near all steps

Last edited by olo; 06-26-2007 at 01:31 PM.
Reply With Quote
  #7  
Old 06-26-2007, 04:07 PM
den den is offline
developer
 
Join Date: Dec 2006
Posts: 2,506
Default

PHP config setting 'register_globals' is 'Off' too?
Reply With Quote
  #8  
Old 06-26-2007, 06:12 PM
olo olo is offline
Junior Member
 
Join Date: Jan 2007
Posts: 29
Default

yes, register_globals is also off

edit:

there is also this error:
Code:
Fatal error: Cannot redeclare md5_hmac() in /forum/Sources/LogInOut.php on line 476
edit 2:

OK, I've found the solution:
I unpublished JoomlaLMS system bot (jlms.systembot) and everything works great

Last edited by olo; 06-26-2007 at 08:54 PM.
Reply With Quote
  #9  
Old 07-01-2007, 04:17 PM
olo olo is offline
Junior Member
 
Join Date: Jan 2007
Posts: 29
Default

well, I think there's still a problem with dates in payments and subscriptions.

For example:
I have enrolled a new user today and from backend it shows that his subsription starts 25 june (?) and end 15 july. Subscription type is 20 days access.
His access should start today and last 20 days.

Would you please take a look at the dates in subscription and payments?

Thanks in advance
Reply With Quote
  #10  
Old 07-02-2007, 12:45 PM
den den is offline
developer
 
Join Date: Dec 2006
Posts: 2,506
Default

Thanks.
I can reproduce the bug with dates in subscription type 'X days access'. It will be fixed soon.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT. The time now is 07:06 PM.

RSS