miniBB ® miniBB®
miniBB Support Forums
 | 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
Registered
#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
Registered
#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
Registered
#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, "{$main_url}/{$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 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
Proceed with the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB