The Joomla! Forum ™





Post new topic Reply to topic  [ 13 posts ] 
Author Message
PostPosted: Sat Mar 25, 2006 6:41 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Fri Oct 07, 2005 3:54 pm
Posts: 50
I am using 1.0.8 .. when I try to put a link in my content to a https:// page it totally messes up my link by putting http://mysite/site/ before the actual https link.... I tried adding correct HTML but that did not work.

I think this problem started once I upgraded from 1.0.4 to 1.0.8

Please help!


Last edited by stingrey on Sun Apr 02, 2006 8:05 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Sat Mar 25, 2006 7:23 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Fri Oct 07, 2005 3:54 pm
Posts: 50
I had to use tinyurl.com to setup a redirect which starts with http:// just to avoid this.. but that is seriously not cool. I use Joomla for the national website of a non-profit....


Top
 Profile  
 
PostPosted: Sat Mar 25, 2006 7:26 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Thu Aug 18, 2005 10:41 am
Posts: 15729
Hi Azeem,

Thanks for the report. Could you post your system info? You can get this from the backend of Joomla, menu System, System info. I'm interested in the first part which is before the configuration.php part. Thanks!

_________________
Regards Robin

http://www.linkedin.com/in/robinmuilwijk - http://twitter.com/i_robin


Top
 Profile  
 
PostPosted: Sun Mar 26, 2006 6:30 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Fri Oct 07, 2005 3:54 pm
Posts: 50
PHP built On:  Linux angus 2.2.24-6.2.3_vw2smp #1 SMP Thu Mar 20 14:01:07 EST 2003 i686
Database Version: 3.23.56
PHP Version: 4.4.1
Web Server: Apache
WebServer to PHP interface: cgi
Joomla! Version: Joomla! 1.0.8 Stable [ Sunshade ] 26-Feb-2006 05:00 UTC
User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
Relevant PHP Settings:
Safe Mode: OFF
Open basedir: none
Display Errors: ON
Short Open Tags: ON
File Uploads: ON
Magic Quotes: ON
Register Globals: ON
Output Buffering: OFF
Session save path: /tmp/php-ses
Session auto start: 0
XML enabled: Yes
Zlib enabled: Yes
Disabled Functions: none
WYSIWYG Editor: No WYSIWYG Editor


Top
 Profile  
 
PostPosted: Sun Mar 26, 2006 6:40 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Thu Aug 18, 2005 10:41 am
Posts: 15729
Nothing odd about this, is the site online so I could have a look at such a link?

_________________
Regards Robin

http://www.linkedin.com/in/robinmuilwijk - http://twitter.com/i_robin


Top
 Profile  
 
PostPosted: Sun Mar 26, 2006 7:25 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Fri Oct 07, 2005 3:54 pm
Posts: 50
I sent you a link through a private message


Top
 Profile  
 
PostPosted: Mon Mar 27, 2006 7:59 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Mon Mar 27, 2006 7:29 am
Posts: 3
Location: Fürstenfeld AUSTRIA
Had some problems with Joomla 1.0.8 and fixed them as follows:
  • Search result lookup
  • Login
  • Logout (using the button) failed,  a logout using the anchor was ok
Common: All cases the user browser was showing something like
Code:
  Not Found
  The requested URL /http:/xxxxx was not found on this server.

Note the slash in front of URL!

The server log showed
[Sun Mar 26 12:43:43 2006] [error] [client 88.116.147.190] File does not exist: /home/virtual/site32/fst/var/www/html/http:, referer....
Note http: at the end

Following fix solved the login/logout problems;
Code:
diff /opt/lampp/htdocs/joomla/index.php .
  153,157c153
  <    if ( $return && !( strpos( $return, 'com_registration' ) || strpos( $return, 'com_login' ) ) ) {
  <    // checks for the presence of a return url
  <    // and ensures that this url is not the registration or login pages
  <       mosRedirect( $return );
  <    } else {
  ---
  >    if ( $return ) {
  175,179c171
  <    if ( $return && !( strpos( $return, 'com_registration' ) || strpos( $return, 'com_login' ) ) ) {
  <    // checks for the presence of a return url
  <    // and ensures that this url is not the registration or logout pages
  <       mosRedirect( $return );
  <    } else {
  ---
  >    if ( $return ) {

Practically the URL is always recreated by that fix in case of login/logout

The Search-Result lookup problem was fixed that way:

Code:
diff /opt/lampp/htdocs/joomla/components/com_search/search.html.php .
  158c158
  <                                                                       <a href="<?php echo sefRelToAbs($row->href); ?>" target="_blank">
  ---
  >                                                                       <a href="<?php echo $row->href; ?>" target="_blank">
  171a172
  >


I dont know how general those changes are as I have a configuration where $mosConfig_live_site represents a linked host (declared as proxy within .htaccess), nevertheless for me it worked. 

_________________
Horst Fiedler


Top
 Profile  
 
PostPosted: Tue Mar 28, 2006 3:37 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Fri Oct 07, 2005 3:54 pm
Posts: 50
Look its doing the exact same thing on a brand new install:

http://mga.icnait.com/

The first content item... its adding the site path to beginning of the url (this only happens to https links)


Top
 Profile  
 
PostPosted: Tue Mar 28, 2006 12:57 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Thu Aug 18, 2005 10:41 am
Posts: 15729
Same problem here http://forum.joomla.org/index.php/topic ... cseen.html

_________________
Regards Robin

http://www.linkedin.com/in/robinmuilwijk - http://twitter.com/i_robin


Top
 Profile  
 
PostPosted: Sun Apr 02, 2006 2:12 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sun Apr 02, 2006 2:01 am
Posts: 2
Okay, mates, I managed to hunt down and solve this pesky bug (this is not a workaround, it's a true to god fix):

In /mambots/content/mossef.php, modify line 68 from:

Code:
$count = explode( 'http://', $replace );


to:

Code:
$count = preg_split( '/http:\/\/|https:\/\//' , $replace );


Top
 Profile  
 
PostPosted: Sun Apr 02, 2006 8:03 am 
User avatar
Joomla! Hero
Joomla! Hero
Offline

Joined: Mon Aug 15, 2005 4:36 pm
Posts: 2756
Location: Marikina, Metro Manila, Philippines
http://forum.joomla.org/index.php/topic,46681.0.html

_________________
Rey Gigataras - Joomlatools Team Member
http://www.joomlatools.eu <-- Joomla extensions that just work
http://path.to/rey.gigataras <-- About Me :)
Online Community Manager, Support Engineer, Web Developer, Event Manager, Sports Coach :D


Top
 Profile  
 
PostPosted: Sun Apr 02, 2006 9:24 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Fri Oct 07, 2005 3:54 pm
Posts: 50
I want to avoid tinkering with code.. can I just wait for the next major release will that include this bug fix?


Top
 Profile  
 
PostPosted: Mon Apr 03, 2006 7:26 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Thu Aug 18, 2005 10:41 am
Posts: 15729
Hi,

Yes the next J!1.0.9. will contain this fix.

_________________
Regards Robin

http://www.linkedin.com/in/robinmuilwijk - http://twitter.com/i_robin


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 



Who is online

Users browsing this forum: No registered users and 0 guests


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 post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group