miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | 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, "https://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


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Check out the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑