Snowflakes Not working

Started by Ronald, December 04, 2018, 02:07:34 pm

Previous topic - Next topic

bigguy

December 06, 2018, 10:17:15 pm #15 Last Edit: December 06, 2018, 10:20:43 pm by bigguy
I changed permissions. Everyone should see them now. I do get an error when trying to turn them off in my profile. This is the message I get in my profile:

Primary Key field missing in insert call

In the error log I get errors. See next post.

bigguy

Here is the one error, backtrace to come:

Change the method of db insert to insert or add the pk field to the columns array
Function: smf_snowflakes_user_profile

Backtrace:



Code Select
    Type of error: Critical
    Error message: Change the method of db insert to insert or add the pk field to the columns array
    Function: smf_snowflakes_user_profile
    File: /home/****/public_html/Sources/snowflakesSMF.php
    Line: 1255
    URL of page causing the error: https://www.whatsurbeef.net/index.php?action=profile;area=snowflakes;u=1



 
Code Select
   #0: smf_db_error_backtrace()
    Called from /home/*****/public_html/Sources/Subs-Db-mysql.php on line 782
    #1: smf_db_insert()
    Called from /home/*****/public_html/Sources/snowflakesSMF.php on line 1255
    #2: smf_snowflakes_user_profile()
    Called from /home/*****/public_html/Sources/Profile.php on line 758
    #3: ModifyProfile()
    Called from /home/*****/public_html/index.php on line 150



Chen Zhen


I did see that error myself earlier today.
Thanks for the report.

Version 1.42 was just released which includes a fix for what you reported.
Read its changelog because one of the admin option's behavior has been changed.

Please let me know of any other errors or problems.

bigguy


SychO

snowstorm is not defined

Code Select
<!-- // --><![CDATA[
$(window).on("load", function(){
snowStorm.snowColor = "#ffffff";
snowStorm.flakesMaxActive = 64;
snowStorm.useTwinkleEffect = true;
snowStorm.snowCharacter = "&bull;";
snowStorm.zIndex = 999;

snowStorm.followMouse = true;
snowStorm.useMeltEffect = true;
snowStorm.snowStick = true;
snowStorm.excludeMobile = true;
snowStorm.flakesMaxActive = 64;
snowStorm.vMaxX = 4;
snowStorm.vMaxY = 5;
snowstorm.flakeWidth = 0;
snowstorm.flakeHeight = 0;
});
// ]]>

snowstorm.flakeWidth = 0;
snowstorm.flakeHeight = 0;

Needs to be snowStorm

Chen Zhen


Thanks a lot for the report.
I will wait a few days to see if anything else is reported prior to rolling out v1.51 with that fix.