Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues
Author Message
dad7732
RavenNuke(tm) Development Team



Joined: Mar 18, 2007
Posts: 1242

PostPosted: Tue Nov 03, 2009 1:50 pm Reply with quote

Don't know if this has anything to do with RN 2.4 but there seems to be a bug in the ContentPlus that ships with 2.4

When sharing or emailing from the share icon, the link that is sent is missing a trailing slash after the domain, such as:

Code:
http://www.MyDomain.commodules.php/?name=Content&pa=showpage&pid=19


Note the missing / after .com

Mailing from the envelope icon at the top right of the page to be sent DOES have the trailing slash and url is therefore correct.

Jonathan?

Cheers
 
View user's profile Send private message
dad7732







PostPosted: Tue Nov 03, 2009 2:25 pm Reply with quote

Hey!! I found the solution all on my own - no programmer here by any stretch.

In /modules/Content/index.php, find:
Code:
$pageurl = $nukeurl.'modules.php?name='.$module_name.'&pa=showpage&pid='.$pid;


Add a slash:
Code:
$pageurl = $nukeurl.'/modules.php?name='.$module_name.'&pa=showpage&pid='.$pid;


Works .. Smile

Cheers
 
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm



Joined: Aug 13, 2009
Posts: 1123

PostPosted: Tue Nov 03, 2009 2:29 pm Reply with quote

I guess you were faster than me. I was working on it right now but it looks like you were playing around.

Oh, Oh! There is a missing information here. What version of Content Plus are you using? Are you running the last version of RavenNuke?

I checked the index.php and I found this

Code:
$pageurl = $nukeurl.'/modules.php?name='.$module_name.'&pa=showpage&pid='.$pid;


Means, this is already fixed. Rolling Eyes


Last edited by hicuxunicorniobestbuildpc on Tue Nov 03, 2009 2:36 pm; edited 1 time in total 
View user's profile Send private message
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Tue Nov 03, 2009 2:35 pm Reply with quote

dad7732, if you can make a mantis issue for this. If not I will get to it maybe tonight.

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
dad7732







PostPosted: Tue Nov 03, 2009 3:58 pm Reply with quote

Actually my bad ... I had to re-download CP and as it turns out it was v2.2.1RC4 that has the error, the one that ships with RN 2.4 has been fixed from that version.

Really no need for a mantis issue I guess since the later version is error-free.

Cheers
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues

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 ©