Search fields not displaying correctly in frontend

13 years 4 months ago - 13 years 4 months ago #66 by LLC
Hi

I’ve installed the store locator component and obtained a Google Maps API Key, for a localhost installation using Joomla 1.5 version 1.5.18 on XAMPP.

I’ve entered various addresses in the Location Manager, however when I view the page from the frontend the input boxes are showing the coding that’s generated behind them. I’ve attached a screenshot to illustrate the problem.

Any idea what is causing this to happen and how I can resolve it. I’ve tried it with and without Moo Tools selected in the parameters.
Attachments:
Last edit: 13 years 4 months ago by LLC.

Please Log in to join the conversation.

More
13 years 4 months ago #69 by sysgenmedia
Replied by sysgenmedia on topic Search fields not displaying correctly in frontend
Hi LLC,

I believe your problem is caused by not having PHP short tag support enabled in your php.ini. You need to set short_open_tag=1 in your php.ini or if you can override your directives in an htaccess file or local php.ini file you can do so there.

to enable via htaccess file add the following line:
php_flag short_open_tag on

Please Log in to join the conversation.

More
13 years 3 months ago #70 by LLC
Hi

Thanks for your reply.

I located a php.ini file within the xampp server:
xampp/php/php.ini where I found this code:

; short_open_tag
; Default Value: On
; Development Value: Off
; Production Value: Off

I tried short_open_tag=1, but this didn't have any effect. Do you need to change any of the other values, development or production?

I place the other code php_flag short_open_tag on in the htaccess file and the search area is now working correctly.

Please Log in to join the conversation.

More
13 years 3 months ago #72 by sysgenmedia
Replied by sysgenmedia on topic Search fields not displaying correctly in frontend
Hi,

So i think you said its working now, so that's good! It looks like the php.ini file is a bit confusing but the htaccess worked!

Let me know if you need anything else.

Thanks,
Jared

Please Log in to join the conversation.

More