11
wcrwcr
Re: tell a friend in all modules creating wrong url
  • 2004/9/14 22:37

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Hey Barton

The most amazing is that no one have noticed this bug.
Where are the friends, lol ?

I did a check on a old 205 version, and guess what?
The same happens.....

On a test site running 207, the same thing

Well, let?s open something around 18 php files, search and replace Quote:
"&_amp" for just "&".


As u know, the _ character is only for viewing here.

Must works

12
wcrwcr
Re: tell a friend in all modules creating wrong url
  • 2004/9/15 13:14

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Any other quick fix?

13
jlm69
Re: tell a friend in all modules creating wrong url
  • 2004/9/15 13:58

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


I'll try.

If you are talking about the mydownloads module, look in the file

mydownloads/singlefile.php

around line 76

rawurlencode(sprintf(_MD_INTFILEFOUND,$xoopsConfig['sitename']).': '.XOOPS_URL.'/modules/mydownloads/singlefile.php?cid='.$cid.'&_amp;lid='.$lid)));

try changing the &_amp; to & I think that will do it.

14
barton
Re: tell a friend in all modules creating wrong url
  • 2004/9/15 15:05

  • barton

  • Just popping in

  • Posts: 33

  • Since: 2004/4/25


this isn't working for me. How about you?

15
jlm69
Re: tell a friend in all modules creating wrong url
  • 2004/9/15 15:13

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


O.K. I think I got it this time.

I didn't think the amp; was the problem so I installed mydownloads and tried it myself, this is what I found.

In the file mydownloads/index.php

around line 129 look for this line
'.XOOPS_URL.'/modules/mydownloads/singlefile.php?cid='.$cid.'&_amp;lid='.$lid)));

and change it to

'.XOOPS_URL.'/modules/mydownloads/singlefile.php?lid='.$lid)));

maybe make this same change in the singlefile.php file like I mentioned in the last post.

This worked for me.

16
wcrwcr
Re: tell a friend in all modules creating wrong url
  • 2004/9/15 15:14

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


I guess we have to do the long way.

Due a lot of references found in "n" php files.

17
barton
Re: tell a friend in all modules creating wrong url
  • 2004/9/15 15:18

  • barton

  • Just popping in

  • Posts: 33

  • Since: 2004/4/25


brilliant, it worked. I thought that I had done this before but I must have missed that one file,the one that worked of course.

Thanks for the help.

18
wcrwcr
Re: tell a friend in all modules creating wrong url
  • 2004/9/15 15:22

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


With the "long way" It?s fixed.

Look at http://www.bandleader.com.br

19
wcrwcr
Re: tell a friend in all modules creating wrong url
  • 2004/9/15 15:27

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Hey BArton

Let?s keep in touch.
It seems that we have some brothers sites and interests,

Login

Who's Online

209 user(s) are online (53 user(s) are browsing Support Forums)


Members: 0


Guests: 209


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits