 |

Berkowitz
User
Mar 18, 2008, 4:56 AM
Post #1 of 4
(247 views)
Shortcut
|
|
bug bug ... I think I found a bug
|
Can't Post
|
|
hi, I think i found a bug in your otherwise very good software . Whenever you have a number in the pageview php filename. For example department1Page.php it only shows that recordnumber and nothing else. I had a department1Page.php with several items in the listview. But it didn't matter wich one i clicked he always showed the first one in the list. When I changed it to departmentonePage.php the problem was solved. Maybe there's something in your code that thinks whenever he sees a number in the filename it's automaticly a recordnumber? Best regards, Berkowitz
|
|
|  |
 |

Dave
Staff
/ Moderator

Mar 18, 2008, 9:21 AM
Post #2 of 4
(240 views)
Shortcut
|
|
Re: [Berkowitz] bug bug ... I think I found a bug
[In reply to]
|
Can't Post
|
|
That's a good find! Thanks for reporting that. I've scheduled it on the list to be fixed for an upcoming version. Do you need a workaround for right now? If so let me know and I'll post something. Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

Dave
Staff
/ Moderator

Mar 20, 2008, 4:04 PM
Post #3 of 4
(222 views)
Shortcut
|
|
Re: [Berkowitz] bug bug ... I think I found a bug
[In reply to]
|
Can't Post
|
|
I think I have a fix for this. Can you test it out for us? Edit /lib/viewer_functions.php and search for "QUERY_STRING". Add this code above the line you find:
if (@$_SERVER["PATH_INFO"] == @$_SERVER["PHP_SELF"]) { $_SERVER["PATH_INFO"] = ""; } $urlDataFields = array(@$_SERVER["PATH_INFO"], $_SERVER["QUERY_STRING"]);
Let me know if that fixes it. Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

Berkowitz
User
Mar 21, 2008, 4:07 AM
Post #4 of 4
(216 views)
Shortcut
|
|
Re: [Dave] bug bug ... I think I found a bug
[In reply to]
|
Can't Post
|
|
hi, yes that seems to be doing the trick. I added your code line en tested it and it works fine now. Thanks for the fast fix. Saved me alot of thinking about re-ordering the Items. Berkowitz.
|
|
|  |
|