Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Bug Fixes
Author Message
kadabram
Hangin' Around


Joined: Oct 29, 2007
Posts: 30

PostPosted: Sun Feb 03, 2008 9:46 pm Reply with quote

Hello !

I had PHPNuke v7.9 and all was fine. Now that I upgraded to 8.0, the Content Module adds
Code:
amp;
after
Code:
&
in the url.

Yes! The url are rewrited, and the page is not displayed...

For example, an url without amp;
becomes
modules.php?name=Content&pa=showpage&pid=14

Shocked
I don't know what to do. Please, help me! How can I remove these "amp;" after the "&" ?


Last edited by kadabram on Mon Feb 04, 2008 8:16 pm; edited 2 times in total 
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9453
Location: Arizona

PostPosted: Mon Feb 04, 2008 6:16 am Reply with quote

I don't understand. There is nothing wrong with that link. What are you using to shorten your links? (See my signature line below... Wink )

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
kadabram
PostPosted: Mon Feb 04, 2008 8:14 pm Reply with quote

Thank you for your answer.

I don't use nothing to shorten and/or to rewrite the links, and that's the problem. Since the upgrade, all my links now contain
Code:
amp;
after each
Code:
&
character and so they don't work Crying or Very sad

The Content module generates "& amp;" (without the space between the & and the amp;) instead of just "&". With "&" it works. Do you know how to remove these amp; in the urls?
 
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6383

PostPosted: Mon Feb 04, 2008 8:31 pm Reply with quote

Have you used a source comparison tool to see what changes between releases for the modules/Content directory?

_________________
I google, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
kadabram
PostPosted: Mon Feb 04, 2008 8:43 pm Reply with quote

No, I didn't. I even didn't know such a tool exists.
 
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Tue Feb 05, 2008 12:24 am Reply with quote

Can you show us on your site? Generally & characters will work as long as they are embedded as an HTML link. That is proper syntax - my guess is that the WYSIWYG editor tries to correct such syntax for compliance.

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
kadabram
PostPosted: Tue Feb 05, 2008 7:17 pm Reply with quote

Thanks again to everyone!

You can take a look at Only registered users can see links on this board! Get registered or login!. If you click on the first link, you should see this page: Only registered users can see links on this board! Get registered or login!...

I am not sure this is the WYSIWYG editor, because, if I take a look at the generated HTML code (I click on "Edit HTML Source", in the Content WYSIWYG editor), I see:

<a href="modules.php ? name = Content&pa = showpage & pid = 40">D'ABI<br />
(without the spaces)
Rolling Eyes


Last edited by kadabram on Wed Feb 20, 2008 9:54 pm; edited 1 time in total 
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Tue Feb 05, 2008 8:31 pm Reply with quote

It looks like you've gotten extra amps in your database. You'll probably have to go into your database and remove them.

_________________
Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module 
View user's profile Send private message
kadabram
PostPosted: Wed Feb 06, 2008 7:01 pm Reply with quote

How do I do to go into my database and remove them? Confused It is probably in the MySQL database?
 
Gremmie
PostPosted: Wed Feb 06, 2008 7:08 pm Reply with quote

Look at your content table in phpMyAdmin if you have access to that. You should be able to tell if they are in your database by doing that.
 
kadabram
PostPosted: Wed Feb 06, 2008 8:05 pm Reply with quote

Thanks. Here is what I have. I hope it will help, because I don't understand nothing at this Razz
Code:
SELECT * 

FROM `..._nuke`.`nuke_pages`
WHERE (
`pid` LIKE '%amp;%'
OR `cid` LIKE '%amp;%'
OR `title` LIKE CONVERT( _utf8 '%amp;%'
USING latin1 )
COLLATE latin1_swedish_ci
OR `subtitle` LIKE CONVERT( _utf8 '%amp;%'
USING latin1 )
COLLATE latin1_swedish_ci
OR `active` LIKE '%amp;%'
OR `page_header` LIKE CONVERT( _utf8 '%amp;%'
USING latin1 )
COLLATE latin1_swedish_ci
OR `text` LIKE CONVERT( _utf8 '%amp;%'
USING latin1 )
COLLATE latin1_swedish_ci
OR `page_footer` LIKE CONVERT( _utf8 '%amp;%'
USING latin1 )
COLLATE latin1_swedish_ci
OR `signature` LIKE CONVERT( _utf8 '%amp;%'
USING latin1 )
COLLATE latin1_swedish_ci
OR `date` LIKE '%amp;%'
OR `counter` LIKE '%amp;%'
OR `clanguage` LIKE CONVERT( _utf8 '%amp;%'
USING latin1 )
COLLATE latin1_swedish_ci
)
LIMIT 0 , 30


Shocked


Last edited by kadabram on Wed Feb 20, 2008 9:55 pm; edited 1 time in total 
kadabram
PostPosted: Wed Feb 06, 2008 8:15 pm Reply with quote

Mmmh!! Ok! I could remove the amps directly with editing my text in PHPMyAdmin... So, that's great!!!

But the best would be that these amps never come again in the urls. Because, I will always have the same problem!

Look at this link:
Only registered users can see links on this board! Get registered or login! (I did a test, with a new page).

Do you have an idea how to remove the problem definitly?


Last edited by kadabram on Wed Feb 20, 2008 9:55 pm; edited 1 time in total 
Gremmie
PostPosted: Thu Feb 07, 2008 8:39 am Reply with quote

I think it is probably a bug with PHP-Nuke 8.0 (which we aren't too fond of around here). Are you using the PHP-Nuke WYSIWYG editor to type in the content? You could try turning that off.

You might also consider switching to RavenNuke....new version coming out "soon'. Wink
 
kadabram
PostPosted: Thu Feb 07, 2008 6:05 pm Reply with quote

In fact, I am seriously thinking of switching to RavenNuke...
 
kadabram
PostPosted: Thu Feb 07, 2008 6:41 pm Reply with quote

Turning the WYSIWYG editor off did change nothing Sad
 
montego
PostPosted: Fri Feb 08, 2008 6:05 am Reply with quote

kadabram, it really is a "no brainer":

PHP-Nuke 8.0 --> no support from the author

RavenNuke --> incredible support from ALL the authors right here!

The "math" sure seems to add up to me. Laughing
 
kadabram
PostPosted: Fri Feb 08, 2008 4:55 pm Reply with quote

Ok, I will install it this week-end. Smile
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Bug Fixes

View next topic
View previous topic
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 can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©