miniBB Support Forums | 15 years on The Web
miniBB ®

miniBB

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

Notice: Undefined offset: 1 in C:\wamp\www\forums\bb_plugins.php on line 126

 
Author manas
Partaker
#1 | Posted: 8 Jun 2010 05:53 
I am working on "Unread messages indicator add-on". I have added /modify accordingly as per instruction. But I am gettin the error: Notice: Undefined offset: 1 in C:\wamp\www\forums\bb_plugins.php on line 126

And the line no. 126 is: $readTopics[$q[0]]=$q[1];

Any help to resolve this issue?

Author manas
Partaker
#2 | Posted: 8 Jun 2010 06:13 
Also I am getting error: -
Warning: substr() expects parameter 2 to be long, string given in C:\wamp\www\forums\bb_plugins.php on line 47


And the line no: 47 :-

if(substr($_COOKIE[$cookiename.'_tread'], '_')==0) {

Author Paul
Lead Developer
#3 | Posted: 8 Jun 2010 07:26 
Use Compiler to compile this add-on and re-install your package, it has very difficult installation. What I could say definitely, is that it doesn't contain such error by default. There is some mistake on your end, which is impossible to determine without debugging and seeing your forum.

Author Prince
Partaker
#4 | Posted: 8 Jun 2010 09:40 
I don't understand.. today when I clicked on Advanced latest discussions on my forum..
I saw this error?
I didn't touch anything for long time in my forum.. I don't know what's wrong then?
on this line:


$pageNavEx=pageNav($page, $numRows, "http://www.minibb.com/forums/{$indexphp}action=advld", $viewlastdiscussions, FALSE, 'Gen');

but now it's ok.. how it happens?

Author Paul
Lead Developer
#5 | Posted: 8 Jun 2010 13:43 
Please copy the error message, without seeing it hard to tell what you are about ;-)

Specific miniBB Support Forums / Specific /
 Notice: Undefined offset: 1 in C:\wamp\www\forums\bb_plugins.php on line 126
 Share Topic's Link

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


 ?
You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.


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  Contact Us
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
↑ TOP