test
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • sudheermatta Friend
    #164306

    I want to have the mobile site of a Joomla Art (JA_Wistery) site be redirected to an external link.

    The mobile site (working, and CNAME redirect setup) is http://m.ritteragency.com

    The actual site is http://www.ritteragency.com

    the mobile site developer wants has given these directions:


    Here are the instructions to provide to your web hosting company to launch the mobile site.
    Add these 2 CNAME records to the ritteragency.com.com domain:
    m p.agentform.com
    mobile p.agentform.com

    As soon as you can get to http://m.ritteragency.com and view the mobile website, THEN add this script tag to the home page in the <head> tag, above all other script tags:
    <script type=”text/javascript” src=”http://m.ritteragency.com/javascripts/r.js”></script>
    It’s important to wait to add the script until the DNS has updated and you are able to see the mobile site”
    .

    I executed the first step. adding the script tag to the homepage, I am lost, where to add it.

    Can you please help? I sincerely appreciate it, I have been struggling with this.

    I added it in various places in index.php, and I get error messages, on the regular site.

    Any ideas?

    sudheermatta Friend
    #392493

    Folks, really appreciate any quick help.

    cheers,

    Phill Moderator
    #392499

    What error messages do you get?

    sudheermatta Friend
    #392550

    <em>@phill luckhurst 242108 wrote:</em><blockquote>What error messages do you get?</blockquote>

    If I put the script right on top, before the php opening, I get these errors:

    Warning: Cannot modify header information – headers already sent by (output started at /home/ritte1/public_html/index.php:1) in /home/ritte1/public_html/includes/joomla.php on line 697

    Warning: Cannot modify header information – headers already sent by (output started at /home/ritte1/public_html/index.php:1) in /home/ritte1/public_html/index.php on line 253

    Warning: Cannot modify header information – headers already sent by (output started at /home/ritte1/public_html/index.php:1) in /home/ritte1/public_html/index.php on line 254

    Warning: Cannot modify header information – headers already sent by (output started at /home/ritte1/public_html/index.php:1) in /home/ritte1/public_html/index.php on line 255

    Warning: Cannot modify header information – headers already sent by (output started at /home/ritte1/public_html/index.php:1) in /home/ritte1/public_html/index.php on line 256

    Warning: Cannot modify header information – headers already sent by (output started at /home/ritte1/public_html/index.php:1) in /home/ritte1/public_html/index.php on line 257

    sudheermatta Friend
    #393433

    Can anyone please help?

    thanks,

    peterweber Friend
    #410013

    You can disable warnings in your php.ini or script.

    error_reporting ( 0 );
    into the script

    other way – put
    display_errors = Off
    into php.ini (you must create this file)

    or
    error_reporting = 0

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 3 voices, and was last updated by  peterweber 13 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum