Author |
Message |
kadabram
Hangin' Around

Joined: Oct 29, 2007
Posts: 30
|
Posted:
Sun Feb 03, 2008 9:46 pm |
|
Hello !
I had PHPNuke v7.9 and all was fine. Now that I upgraded to 8.0, the Content Module adds after 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
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 |
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Mon Feb 04, 2008 6:16 am |
|
I don't understand. There is nothing wrong with that link. What are you using to shorten your links? (See my signature line below... ) |
_________________ 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! |
|
|
 |
kadabram

|
Posted:
Mon Feb 04, 2008 8:14 pm |
|
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 after each character and so they don't work
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: 6437
|
Posted:
Mon Feb 04, 2008 8:31 pm |
|
Have you used a source comparison tool to see what changes between releases for the modules/Content directory? |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
 |
kadabram

|
Posted:
Mon Feb 04, 2008 8:43 pm |
|
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
|
Posted:
Tue Feb 05, 2008 12:24 am |
|
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! |
|
|
 |
kadabram

|
Posted:
Tue Feb 05, 2008 7:17 pm |
|
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)
 |
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
|
Posted:
Tue Feb 05, 2008 8:31 pm |
|
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 |
|
|
 |
kadabram

|
Posted:
Wed Feb 06, 2008 7:01 pm |
|
How do I do to go into my database and remove them? It is probably in the MySQL database? |
|
|
|
 |
Gremmie

|
Posted:
Wed Feb 06, 2008 7:08 pm |
|
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

|
Posted:
Wed Feb 06, 2008 8:05 pm |
|
Thanks. Here is what I have. I hope it will help, because I don't understand nothing at this
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
|
 |
Last edited by kadabram on Wed Feb 20, 2008 9:55 pm; edited 1 time in total |
|
|
 |
kadabram

|
Posted:
Wed Feb 06, 2008 8:15 pm |
|
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

|
Posted:
Thu Feb 07, 2008 8:39 am |
|
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'.  |
|
|
|
 |
kadabram

|
Posted:
Thu Feb 07, 2008 6:05 pm |
|
In fact, I am seriously thinking of switching to RavenNuke... |
|
|
|
 |
kadabram

|
Posted:
Thu Feb 07, 2008 6:41 pm |
|
Turning the WYSIWYG editor off did change nothing  |
|
|
|
 |
montego

|
Posted:
Fri Feb 08, 2008 6:05 am |
|
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.  |
|
|
|
 |
kadabram

|
Posted:
Fri Feb 08, 2008 4:55 pm |
|
Ok, I will install it this week-end.  |
|
|
|
 |
|