PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
kadabram
New Member
New Member


Joined: Oct 29, 2007
Posts: 12

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

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: 7458
Location: Arizona

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

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 )
View user's profile Send private message Visit poster's website
kadabram
New Member
New Member


Joined: Oct 29, 2007
Posts: 12

PostPosted: Mon Feb 04, 2008 8:14 pm Reply with quote Back to top

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?
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4853

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

Have you used a source comparison tool to see what changes between releases for the modules/Content directory?
View user's profile Send private message
kadabram
New Member
New Member


Joined: Oct 29, 2007
Posts: 12

PostPosted: Mon Feb 04, 2008 8:43 pm Reply with quote Back to top

No, I didn't. I even didn't know such a tool exists.
View user's profile Send private message
evaders99
Moderator


Joined: Apr 30, 2004
Posts: 2847

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

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.
View user's profile Send private message Visit poster's website
kadabram
New Member
New Member


Joined: Oct 29, 2007
Posts: 12

PostPosted: Tue Feb 05, 2008 7:17 pm Reply with quote Back to top

Thanks again to everyone!

You can take a look at
Only registered users can see links on this board!
Get registered or login to the forums!
. 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 to the forums!
...

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
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


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

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

It looks like you've gotten extra amps in your database. You'll probably have to go into your database and remove them.
View user's profile Send private message
kadabram
New Member
New Member


Joined: Oct 29, 2007
Posts: 12

PostPosted: Wed Feb 06, 2008 7:01 pm Reply with quote Back to top

How do I do to go into my database and remove them? Confused It is probably in the MySQL database?
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


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

PostPosted: Wed Feb 06, 2008 7:08 pm Reply with quote Back to top

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.
View user's profile Send private message
kadabram
New Member
New Member


Joined: Oct 29, 2007
Posts: 12

PostPosted: Wed Feb 06, 2008 8:05 pm Reply with quote Back to top

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
View user's profile Send private message
kadabram
New Member
New Member


Joined: Oct 29, 2007
Posts: 12

PostPosted: Wed Feb 06, 2008 8:15 pm Reply with quote Back to top

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 to the forums!
(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
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


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

PostPosted: Thu Feb 07, 2008 8:39 am Reply with quote Back to top

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
View user's profile Send private message
kadabram
New Member
New Member


Joined: Oct 29, 2007
Posts: 12

PostPosted: Thu Feb 07, 2008 6:05 pm Reply with quote Back to top

In fact, I am seriously thinking of switching to RavenNuke...
View user's profile Send private message
kadabram
New Member
New Member


Joined: Oct 29, 2007
Posts: 12

PostPosted: Thu Feb 07, 2008 6:41 pm Reply with quote Back to top

Turning the WYSIWYG editor off did change nothing Sad
View user's profile Send private message
montego
Site Admin


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

PostPosted: Fri Feb 08, 2008 6:05 am Reply with quote Back to top

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
View user's profile Send private message Visit poster's website
kadabram
New Member
New Member


Joined: Oct 29, 2007
Posts: 12

PostPosted: Fri Feb 08, 2008 4:55 pm Reply with quote Back to top

Ok, I will install it this week-end. Smile
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum