 |
phpBB2 Mods A demo forum demonstrating my mods
|
| View previous topic :: View next topic |
| Author |
Message |
femu
Joined: 31 Aug 2006 Posts: 5
|
Posted: Thu Aug 31, 2006 1:16 pm Post subject: Bug with link? |
|
|
Hi Marc,
I just installed Autolink 2.1.3. Looks fine so far, but when clicking on an Autolink, I get could not found page from my server. So in the bottom, it shows the correct link, but in the address line of the new window, you will find the link as:
| Code: | | http://www.die-muellers.org/index?lurl=http%3A%2F%2Fwww.mysqldumper.de&lid=1 |
Any idea?
EDIT: Just played around a bit. The .php in the link is missing (after the /index). So I just need to know, where I need to change it, that it will appear in the final link ...
EDIT 2: Ok. Th error seems to be in the funktions.php part at this point:
| Code: | | append_sid(index.$phpEx) . '?lurl=' . urlencode($row[ |
So the append_sid seems to be wrong ....
EDIT 3 Ok. I fixed it this way (although I'm sure, that it isn't the correct programmers way (and I am no programmer). I replaced above one with following:
| Code: | | append_sid('index.php') . '?lurl=' . urlencode($row[ |
This works.
Thanks,
Felix |
|
| Back to top |
|
 |
Afkamm Site Admin
Joined: 22 Sep 2004 Posts: 568 Location: Scotland
|
Posted: Fri Sep 01, 2006 10:42 am Post subject: |
|
|
You know it's weird. You test things and they work, but then when somebody has a problem you test again and it doesn't. Nobody else seems to have this problem, but I've spotted my mistake and fixed it.
| Code: | #
#----[ OPEN ]-----
#
includes/functions.php
#
#----[ FIND ]-----
#
function obtain_autolink_list(&$orig_autolink, &$replacement_autolink, $forum_id)
{
global $db, $userdata;
#
#----[ INLINE, FIND ]-----
#
$userdata
#
#----[ AFTER ADD ]-----
#
, $phpEx
#
#----[ FIND ]-----
#
append_sid(index.$phpEx) . '?lurl='
#
#----[ REPLACE WITH ]-----
#
append_sid("index.$phpEx") . '?lurl='
#
#----[ SAVE/CLOSE FILE ]-----
#
|
Thanks for coming back (several times heh) and posting about the problem and a fix. Cheers.  _________________ Marc
Remember, Google is your friend. |
|
| Back to top |
|
 |
femu
Joined: 31 Aug 2006 Posts: 5
|
Posted: Fri Sep 01, 2006 1:42 pm Post subject: |
|
|
I know Whatever you do, there's always someone, who found something not working.
So I just played around and checked, how other parts call a program and then found, where the error occures.
So after that I just have to say a great MOD and a good job!
Thanks and have a good upcoming weekend!
Felix |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|