problem with snicker
-
- Jr. Bludit
- Posts: 2
- Joined: Tue Sep 20, 2022 9:24 am
First a hello from a new member,
which also comes with a problem.
the snicker-plugin gives me some problems:
Always after I have activated the plugin I get when calling my page nothing displayed, the page remains empty
Bludit version: 3.14.1
PHP: 5.6, 7.4 and 8.1 tested
Theme; alternate
The installation is the unchanged basic version with only snicker additionally activated.
I have installed it at a Freehoster (limacity.de) also to test, because I can switch PHP versions there and also generate detailed error messages.
Here the error message:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function Session::start(), 0 passed in /home/webpages/lima-city/myname/cms/bl-plugins/snicker-0.1.2/plugin.php on line 803 and exactly 2 expected in /home/webpages/lima-city/myname/cms/bl-kernel/helpers/session.class.php:8 Stack trace: #0 /home/webpages/lima-city/myname/cms/bl-plugins/snicker-0.1.2/plugin.php(803): Session::start() #1 /home/webpages/lima-city/myname/cms/bl-kernel/helpers/theme.class.php(233): SnickerPlugin->beforeSiteLoad() #2 /home/webpages/lima-city/myname/cms/bl-kernel/boot/site.php(17): Theme::plugins('beforeSiteLoad') #3 /home/webpages/lima-city/myname/cms/index.php(42): require('/home/webpages/...') #4 {main} thrown in /home/webpages/lima-city/myname/cms/bl-kernel/helpers/session.class.php on line 8
May I get some help? Thx
Sry my bad english
which also comes with a problem.
the snicker-plugin gives me some problems:
Always after I have activated the plugin I get when calling my page nothing displayed, the page remains empty
Bludit version: 3.14.1
PHP: 5.6, 7.4 and 8.1 tested
Theme; alternate
The installation is the unchanged basic version with only snicker additionally activated.
I have installed it at a Freehoster (limacity.de) also to test, because I can switch PHP versions there and also generate detailed error messages.
Here the error message:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function Session::start(), 0 passed in /home/webpages/lima-city/myname/cms/bl-plugins/snicker-0.1.2/plugin.php on line 803 and exactly 2 expected in /home/webpages/lima-city/myname/cms/bl-kernel/helpers/session.class.php:8 Stack trace: #0 /home/webpages/lima-city/myname/cms/bl-plugins/snicker-0.1.2/plugin.php(803): Session::start() #1 /home/webpages/lima-city/myname/cms/bl-kernel/helpers/theme.class.php(233): SnickerPlugin->beforeSiteLoad() #2 /home/webpages/lima-city/myname/cms/bl-kernel/boot/site.php(17): Theme::plugins('beforeSiteLoad') #3 /home/webpages/lima-city/myname/cms/index.php(42): require('/home/webpages/...') #4 {main} thrown in /home/webpages/lima-city/myname/cms/bl-kernel/helpers/session.class.php on line 8
May I get some help? Thx
Sry my bad english
Quick and dirty hack for email notification of new comments
Edit the following file:
/bl-plugins/pytesNET-snicker-ae0b804/system/class.comments.php
Go to line 432 (At the end of the add function)
Put the following code above it:
Replace info@mypage.com with your own e-mail address. Enter your own domain at MyPage.com and noreply@mypage.com.
Greetings
Bernie
Edit the following file:
/bl-plugins/pytesNET-snicker-ae0b804/system/class.comments.php
Go to line 432 (At the end of the add function)
Code: Select all
return $uid
Code: Select all
mail("info@mypage.com", "A new comment on MyPage.com", "The new commentary has yet to be reviewed and approved.", "From: noreply@mypage.com");
Greetings
Bernie