miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Specific miniBB Support Forums / Specific /   

Warning: substr_count() [function.substr-count]: Empty substring... error

Author BBG
Registered
#1 | Posted: 15 Mar 2010 13:24 | Edited by: BBG 
Ok I looked at the post and I have a new install
I have tried the NotePad2 and I have looked to see what may or may not be right.

Please take a look by signing up on the site and see what I see http://bondbunnygaming.info/index.php

This is what I get:

Warning: substr_count() [function.substr-count]: Empty substring in /home/bunny/public_html/index.php on line 46

Warning: Cannot modify header information - headers already sent by (output started at /home/bunny/public_html/index.php:46) in /home/bunny/public_html/bb_cookie.php on line 101

Warning: Cannot modify header information - headers already sent by (output started at /home/bunny/public_html/index.php:46) in /home/bunny/public_html/bb_cookie.php on line 87

Warning: Cannot modify header information - headers already sent by (output started at /home/bunny/public_html/index.php:46) in /home/bunny/public_html/bb_functions.php on line 293

Warning: Cannot modify header information - headers already sent by (output started at /home/bunny/public_html/index.php:46) in /home/bunny/public_html/bb_functions.php on line 294


Please help me I really like to get this started up.

Oyea I used miniBB Compiler to get my files , this might help to get something fixed.

Author Paul
Lead Developer
#2 | Posted: 15 Mar 2010 14:29 | Edited by: Paul 
In general, substr_count() function of PHP may give this error, if its second parameter (i.e. 'needle') is empty / has no value. And because this function gives an error, you get all the other headers-related errors after all.

For your case, it appears you didn't set up $main_url setting of setup_options.php properly.

You should have set it without ending slash.

Author BBG
Registered
#3 | Posted: 16 Mar 2010 07:50 
wow I put it in but forgot to save, thanks it is working so far.

Ok 2 main last main questions?

1) Where do I change the "You are not allowed to perform this action." ?

2) Where do I charge the Email Message ?

miniBB is looking good, Thanks again

Author Paul
Lead Developer
#4 | Posted: 16 Mar 2010 09:20 
1) Here is How to find where to edit this and that . It's under language pack (lang/eng.php).

2) It's under templates/email_*... depends on what kind of email you would like to change.

Author BBG
Registered
#5 | Posted: 16 Mar 2010 10:58 
Thanks a bunches

Specific miniBB Support Forums / Specific / Warning: substr_count() [function.substr-count]: Empty substring... error Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB