Forum Activity for @ultrajam

SteveX
@ultrajam
12/04/13 01:47:14AM
2,589 posts

Query Error after upgrade to 5.1.4


Using Jamroom

I have a local dev site which I have tried to upgrade this morning, 5.1.2 to 5.1.4, and after installing upgrades (not using the marketplace) I get a query error on an otherwise blank page.

Quote: CRI: Query Error: Table 'fuse.jr_jrcore_play_key' doesn't exist

Tried deleting the cache, the form_session table, but still the same error.

This is what appears in the debug log:
Quote: (2013-12-04T09:42:58+00:00 0.23669600)-(mem: 11534336)-(pid: 1036)-(uri: /)
|Query Error: Table 'fuse.jr_jrcore_play_key' doesn't exist|

(2013-12-04T09:42:58+00:00 0.23669600)-(mem: 11534336)-(pid: 1036)-(uri: /)
|INSERT INTO jr_jrcore_play_key (key_time, key_code) VALUES (UNIX_TIMESTAMP(), 'AEIz30CxFGyC') ON DUPLICATE KEY UPDATE key_time = UNIX_TIMESTAMP()|

Any idea what I need to do to get around this and log in?

Thanks
updated by @ultrajam: 01/05/14 02:07:12AM
SteveX
@ultrajam
12/03/13 06:05:10AM
2,589 posts

jrUser_is_power_user in forms


Using Jamroom

I had an empty form table. But it's working now with group so I'm happy. I'll post here if I see the problem I was having again.

Thanks
SteveX
@ultrajam
12/03/13 03:33:30AM
2,589 posts

jrUser_is_power_user in forms


Using Jamroom

I'm not sure if this is a problem, but after trying to use it in a similar form I found that jrUser_is_power_user() did not prevent the form from being shown to non-power users. Adding "'group' => 'power'," worked for me, but jrUser_is_power_user() didn't, I guess because the field is saved to the form table.

This is similar code from jrProfile/index.php:
    if (jrUser_is_power_user()) {

        // Profile Quota (power users only)
        $_tmp = array(
            'name'          => 'profile_quota_id',
            'label'         => 'profile quota',
            'help'          => 'What Quota should this profile be part of?',
            'type'          => 'select',
            'options'       => 'jrProfile_get_settings_quotas',
            'value'         => $_profile['profile_quota_id'],
            'required'      => true,
            'group'         => 'power',
            'validate'      => 'number_nz',
            'form_designer' => false // We do not allow the form designer to override this field
        );
        jrCore_form_field_create($_tmp);
    }

updated by @ultrajam: 01/03/14 01:28:03AM
SteveX
@ultrajam
12/01/13 02:34:02AM
2,589 posts

Skin style editor bug with id selectors


Using Jamroom

There's a bug in the style editor which an be seen when an id is part of a selector with a color rule.

Whilst a color change will be recorded to the db, it is not possible to reset to the default if an id is present.

It seems to be fixed by urlencoding and decoding the selector between

line 5593 jrCore/index.php
jrCore_show_skin_style
Add $name = urlencode($name);

line 3669 jrCore/index.php
jrCore_css_reset_save
Add $_post['tag'] = urldecode($_post['tag']);



Also, any rule with !important in it will break the colorpicker js display:
background-color: #aaa !important;



Also, not having color selection for background and border is inconvenient.
  background: #bbb;
  border-bottom: 1px solid #00d;



I've spotted a couple of typos as well:

line 5219 typo: jrCore_notice_page('error', 'There do not appear to be aby CSS files for this skin!');
5432 typo // Our tag is used te let the user know what they are changing

updated by @ultrajam: 02/03/14 01:34:58PM
SteveX
@ultrajam
11/30/13 04:33:24AM
2,589 posts

Marketplace upload - Possible stray fdebug() false positive


Using Jamroom

On the "create new marketplace item" form I uploaded the zip and received the error:
Quote: Possible stray fdebug() call found in file: index.php on line 233.
If this fdebug call is needed, add "// OK" as a comment on the same line as the fdebug() call.

There is an fdebug on that line, but it is commented out.
updated by @ultrajam: 01/01/14 04:29:08AM
SteveX
@ultrajam
11/29/13 06:24:52PM
2,589 posts

sign up login issue


Off Topic

I think you may have accidentally enabled your Readable Forum Post setting as well.
SteveX
@ultrajam
11/28/13 10:06:20AM
2,589 posts

Happy Thanksgiving!


Off Topic

Happy Thanksgiving Brian, and everyone who is enjoying the day.
SteveX
@ultrajam
11/27/13 12:09:08PM
2,589 posts

Future Module Request - Poll


Suggestions

@Dazed If a feature request is accepted it appears in the tracker, where you can vote on it.
SteveX
@ultrajam
11/25/13 02:52:43PM
2,589 posts

Profile Index on profile tweaks form


Using Jamroom

I'll try that out later in the week.
  222