Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Reply
 
Thread Tools Search this Thread Display Modes
Old Jun 12, 2013, 11:30 AM   #1
rainman::|:|
macrumors 603
 
Join Date: Feb 2002
Location: iowa
Send a message via Yahoo to rainman::|:|
Strange Chrome linking issue in Joomla!

Hi all,

Have a very strange issue on a site I'm helping develop as a volunteer project. I'm pretty familiar with Joomla, but this site is being built to be bilingual, something I've not done before.

In Safari, relative links work just fine, and the /en/ or /es/ is added just as it should be (based on the browser's language setting, or the override option provided). But in Chrome, while it displays the correct URL in the address bar, I get an Error 200 when clicking the "Click here to contact us..." link in the page content (link below).

http://03754ff.netsolhost.com/en/loc...ther-locations

Strangely enough, when I get the Error 200 in Chrome, the URL is correct, and visiting it directly works just fine (you can just hit return in the menu bar on the error page and it loads the proper page).

Any thoughts? Is this a cookie issue, or something in the JSS/CSS?

Thanks much!
rainman::|:| is offline   0 Reply With Quote
Old Jun 12, 2013, 01:13 PM   #2
SrWebDeveloper
macrumors 68000
 
SrWebDeveloper's Avatar
 
Join Date: Dec 2007
Location: Alexandria, VA, USA
 
Looks like a cookie issue, indeed.

The problem is at http://03754ff.netsolhost.com/en/contact

Whatever is detecting the browser language setting the cookie is malformed by the time that page attempts to load.

Note: I am surprised it's not a session only cookie, which is all that's needed for something like this, less issues with stale client side expiry cookies.

Beyond that minor issue, many Joomla users report issues related to language and cookie failures via the "languagefilter" plugin usually found in /plugins/system/languagefilter/languagefilter.php. If you have it, start looking there. This is what happens, regardless of root cause:

Code:
HTTP/1.1 200 OK Date: Wed, 12 Jun 2013 17:58:40 GMT Server: Apache/2.2.22 (Unix) FrontPage/5.0.2.2635 X-Powered-By: PHP/5.3.8 P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM" Expires: Cache-Control: private, no-cache Content-Encoding: gzip X-Content-Encoded-By: Joomla! 2.5 Pragma: no-cache Set-Cookie: 79600db82941586ad8e0462aea30dbf0=en-GB; expires=Thu, 12-Jun-2014 17:58:40 GMT; path=/ Keep-Alive: timeout=3, max=199 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8
But there is a ton of bad characters that follows making the cookie malformed, and the server spits that out that error. As this issue is very proprietary to a Joomla plugin (most likely), you might want to visit forums for that specific plugin if nobody here responds with a known quick fix. Try changing the code to generate and detect a session cookie, you might get better results. I am not saying this is the fix.
__________________
Jim Goldbloom
Sr. Web Developer, owner GoldTechPro, LLC
http://www.GoldTechPro.com
SrWebDeveloper is offline   0 Reply With Quote
Old Jun 12, 2013, 02:34 PM   #3
rainman::|:|
Thread Starter
macrumors 603
 
Join Date: Feb 2002
Location: iowa
Send a message via Yahoo to rainman::|:|
Thanks much! I am using third-party software called Easy Language to automatically choose the content to display (rather than duplicate everything in two languages, this is much easier for the client). The Easy Language people say their software isn't producing cookies, and it looks to be a languageswitcher problem.

Since I'm not terribly good with figuring out where this is coming from, I've just included the language in the relative URL (en/contact or es/contact) - not as elegant, but the links work now. Saves me from figuring out which part of the cookie is garbling itself... It was suggested even the text resizer could be triggering it. Too many options to debug for an unpaid site.

Much appreciated!
rainman::|:| is offline   0 Reply With Quote
Old Jun 12, 2013, 07:31 PM   #4
SrWebDeveloper
macrumors 68000
 
SrWebDeveloper's Avatar
 
Join Date: Dec 2007
Location: Alexandria, VA, USA
 
Quote:
Originally Posted by rainman::|:| View Post
Too many options to debug for an unpaid site.
Absolutely!

__________________
Jim Goldbloom
Sr. Web Developer, owner GoldTechPro, LLC
http://www.GoldTechPro.com
SrWebDeveloper is offline   0 Reply With Quote

Reply
MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Strange blink/flickering using Google Chrome brdeveloper OS X 3 Jan 12, 2014 04:13 PM
Gmail for iOS Updated With Direct Linking to YouTube, Chrome and Google Maps Apps MacRumors iOS Blog Discussion 36 May 8, 2013 07:40 PM
iPhone: iOS 6 Chrome Issue cnguyen0320 Jailbreaks and iOS Hacks 21 Mar 12, 2013 07:18 PM
Strange issue with Google Chrome odinsride OS X 10.8 Mountain Lion 33 Dec 20, 2012 03:11 PM
Time Machine strange issue, very strange Jasontech OS X 2 Nov 20, 2012 02:30 PM

Forum Jump

All times are GMT -5. The time now is 03:33 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC